ios - How manage when several annotations has similar or the same coordinates and want to show them? -
i have app (iphone) uses mapkit , users can create things on map (annotations in remote database, latitude , longitude). problem users set things in same building, close, in same coordinates. see up-to-date annotation unless tap , shown, usability of horrible. no users realize can that.
therefore guess way grouping close points , when tap, show of them. seems first step can done clusters , see several libraries ios that: http://cocoapods.org/?q=on%3aios%20cluster
i know if have thought or suggestion solve sec problem, or whole problem. in advance.
depending upon clustering library used, may able clustered part represented. then, upon cluster marker tap, zoom region.
the js library leaflet has behavior can see it's like:
http://leaflet.github.io/leaflet.markercluster/example/marker-clustering-zoomtobounds.html
i realize js library not objc, linking demo purposes.
ios mkmapview mapkit mkmapviewdelegate
No comments:
Post a Comment