Msg#: 4454247 posted 6:01 pm on May 16, 2012 (gmt 0)
I am developing a web service to list nearby niche locations to users.
In order to do this I need the user's coordinates, but since I will be searching listings in a 50km range accuracy is not my primary concern.
Currently I am using navigator.geolocation to get the user's coordinates but I am looking at fallback options.
Searching online I found developers using the Google ClientLocation API, but I couldn't find any official documentation on this and all postings I found were dated back in 2008, 2009. I don't know if this service is even being offered anymore as when I tested it at work it could not find my location.
Another option I found is to install and maintain my own "ip to coordinate" database. Since accuracy isn't my primary concern I could get away with one of the free packages that are available, but this seems to be pretty daunting task just to install and maintain.
Further, I'd like my web service to be highly mobile and I am watching page download sizes like a hawk.
I know I am not the only one using user coordinates, so I am pretty interested in knowing what people are using as fallbacks.