hansemannn / titanium-googlemaps

🗺 Use the Google Maps with the Titanium SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MapView.getAnnotations( ) ?

DouglasHennrich opened this issue · comments

There's a way to get all annotations on the map ?

.getAnnotations() it's not working =/ I look through the module's class and I didn't find it exposed

Thanks

There is a property called markers which includes all the marker/annotation objects. It primarily used internally, but it should also be available from the public API. May be a good idea to call it annotations for parity. Try it out.

Yea thats right... $.mapView.markers returns all annotations. Could be great to change it's name and expose the getAnnotations() function =)