Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

User Coordinate Fallback Options



6:01 pm on May 16, 2012 (gmt 0)

5+ Year Member Top Contributors Of The Month

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.


10:49 pm on May 16, 2012 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

Can you do PHP? I've been pretty happy with geoplugin.com.


3:25 am on May 18, 2012 (gmt 0)

5+ Year Member Top Contributors Of The Month

Thank you, I was previously unaware of that site but it will work very well for my needs.

Featured Threads

Hot Threads This Week

Hot Threads This Month