位置的经度和纬度

问题描述:

可能重复:
How can I get the Latitude and Longitude of a ZIP Code?位置的经度和纬度

可以说我有这要求一个城市或一个邮政编码的PHP领域。当用户输入城市或邮政编码时,是否可以获得给定城市/邮政编码的经度和纬度?

+1

是的。查看右侧的帖子 – 2011-12-18 19:39:08

+0

[http://gmaps-samples.googlecode.com/svn/trunk/geocoder/singlegeocode.html](http://gmaps-samples.googlecode.com/svn/trunk/geocoder/singlegeocode.html ) – Shoogle 2011-12-18 19:40:17

是的,阅读谷歌地图api。它的存在解释+例子http://code.google.com/apis/maps/documentation/javascript/tutorial.html