Reputation: 6747
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?
Upvotes: 2
Views: 3085
Reputation: 20357
Not sure what you mean by layers, but check the docs.
Google Maps API Docs Sepcifically, look at GPolyline.hide();
Upvotes: 3