> You should be aware that the underlying technique of all these > offerings is basically outdated and never completely reliable, because > it's based on IP database queries. Internet Service Providers are > juggling constantly with their IP blocks, and when they fail to > release the new locations of any changed IP block the information in > the database is obsolete.
absolutely.... which is why IP lookup should only be used as a fallback, if geolocation fails - which it can for the reasons stated above. My thinking is that it's better to get some result which may be vaguely accurate than to just throw an alert saying "geez... we couldn't find you... um..." but fwiw, I've been testing both approaches as I travel around Latin America and while neither has ever been spot on, maxmind tends to come up with a location within a couple of hundred meters of the geolocation one, and sometimes is *more* accurate, by up to a couple of hundred kilometers. I'm sure that results vary depending on a country's infrastructure, but as a backup it seems fine, particularly being that it's free, and simple to incorporate into your code... -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.