David Bonnici
David Bonnici

Reputation: 6747

Using markers and polylines with google maps api

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

Answers (1)

Daniel Beardsley
Daniel Beardsley

Reputation: 20357

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

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

Upvotes: 3

Related Questions