Using markers and polylines with google maps api
-
05-07-2019 - |
Question
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?
Solution
Not sure what you mean by layers, but check the docs.
Google Maps API Docs Sepcifically, look at GPolyline.hide();
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow