views:

1583

answers:

1

I have a map and it has both markers and polylines.

Now I need to seperate these polylines and the markers on different layers I.E

When i want to remove the polylines i just execute the method with layer name that removes the polyline's layer

can you please help me with this?

+2  A: 

Not sure what you mean by layers, but check the docs.

Google Maps API Docs Sepcifically, look at GPolyline.hide();

Daniel Beardsley