On 02/19/2011 04:27 PM, Alex wrote:
Hi all,
I have +120 markers to display on google maps.
I wish to display only a few depending of the zoom. In Javascript,
MarkerManager can manage this.
But I can't use it for my android application.
Is there another way to do this ?
Thanks
What I do in may app is simply query the database for those that would
be displayed at the current zoom level. You can figure that out by
getting the map center, latitude span, and longitude span, doing a
little bit of math, and then querying your database for latitudes
between a minimum and maximum, and the same for longitude.
Hope that helps,
Raymond
--
Raymond Rodgers
http://www.badlucksoft.com/
http://anevilgeni.us/
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en