Skip to content

Comment on How to find the latitude and longitude for international locations?

Comments

There are a few ways. To find the Longitude and latitude: 1. Google map your address or whatever. 2. Don't move the map around. 3. Erase your address bar and copy and paste "javascript:void(prompt('',gApplication.getMap().getCenter()));" without quotes in your address bar. 4. Those are the coordinates.

To find the timezone if you click "more info" when you look up a postal code/zip code on google maps, it will give you the time zone under the entry name

EDIT: Now that I think about it, the easiest way would be through Google Earth, as your pointer is always being tracked. Just enter the zip code and hover over the marker.

Sorry, I should have been a bit more clear with my question, I wanted to do this programatically. I can find the latitude/longitude based on US zipcodes but was wondering what would be the easiest and best way to find the same for international locations.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.