3 ms·
I've been using GeoNames for this functionality to allow users to auto-fill their location & timezone using geolocation for browsers that support it. Their API
by Navarr 15y ago
I've been using GeoNames for this functionality to allow users to auto-fill their location & timezone using geolocation for browsers that support it.
Their API endpoint is at http://ws.geonames.org/timezoneJSON?lat=&lng= http://ws.geonames.org/timezoneJSON?lat=&lng=
I've been using it for so long that I don't even know where their docs are anymore.
- jrd79 15y agoI am the developer. As noted on the page: Unlike GeoNames, look-ups are based on an actual map of the world, rather than "closest point of interest", which ensures accuracy and that you actually get a result for all locations. We also have a very fast spatial index rather than a slow SQL-GIS solution, and last time I checked, they have usage volume restrictions that are pretty limiting. We looked into using them before building our own solution.