MapView.getAnnotations( ) ?
DouglasHennrich opened this issue · comments
Douglas Hennrich commented
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
Hans Knöchel commented
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.
Douglas Hennrich commented
Yea thats right... $.mapView.markers
returns all annotations. Could be great to change it's name and expose the getAnnotations()
function =)