olidev
olidev

Reputation: 20644

Google Map v2: how to retrieve existing google markers from google Gmap2 object

I hope the title is clear. I would like to retrieve the existing google markers from my Gmap2 object. Is there any method for this?

Upvotes: 1

Views: 166

Answers (1)

RedBlueThing
RedBlueThing

Reputation: 42522

There isn't a property on the GMap2 object to access GMarker objects that you have previously added using addOverlay. If you want access to them later, you will need to store a reference to those objects.

Upvotes: 2

Related Questions