Listing markers
I would like to list the markers on the map, so that I don't need a separate collection outside the map if I want to enumerate the existing markers. Can you consider adding a method to Map to return an Array of markers?
2
people like this idea
I like this idea!
Tell me when this idea gets some attention.
The more people who like this idea, the more it gets noticed.
The more people who like this idea, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?Not really - a separate collection seems like a good option to me, can you explain why it might be a problem?
They're your markers, modest maps only takes care of adding and removing them from the stage if they're visible or not.
I’m undecided
-
Inappropriate?It just seems like a duplication of effort since modest maps has a collection of the markers, and I can query them by name or by display object but not enumerate them or index by position.
Supposing I want to update something else outside the map as markers become visible or invisible? With the MarkerEvents removed I have to enumerate all markers and test. Or if I want to display something based on which markers are currently visible I will probably want to enumerate the markers.
Loading Profile...



EMPLOYEE