Thursday, 15 August 2013

android - How to make an on-the-fly refresh on Google Maps v2 -


I am using services that calculate late long with some addresses stored in a database. When I have a lot of addresses, it is slow to calculate and when I open Google Maps, not all markers are displayed on the screen, because the service is still calculating in the background

Thank you

You probably should geocode the data when it is inserted in the database instead of being displayed . As you've seen, geocoding is slow, and it would be better to cache gocade results. Or to save at least the Geocode result, you have to face an address for the first time.

Note: Google has restrictions on its restrictions, for which you can use your geocoding service. If you have used Google's GeoCoding, you are only allowed to use that Latitude / LNG with the Google Maps API.

There are free / open source geocoders present in my opinion / experience, Google's GeoCoders are better than those with open source. (But there are restrictions in it.)

No comments:

Post a Comment