Google Maps + Google Local Search从英国邮政编码生成经纬度 [英] Google Maps + Google Local Search generate lat/long from uk postcode
本文介绍了Google Maps + Google Local Search从英国邮政编码生成经纬度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
无论如何,我可以将2个隐藏字段放入表格中,并通过用户输入邮政编码自动将纬度/经度放入其中吗?
Is there anyway i can put 2 hidden fields in a form and automatically put the Lat/Long into them from the user inputting a post code?
我真的不想依靠用户在Google地图上拖动标记来绘制位置.
I don't really want to rely on the user dragging a marker on the Google map to plot the location.
预先感谢
罗比
推荐答案
Got it sorted by mashing this page - http://gmaps-samples-v3.googlecode.com/svn/trunk/geocoder/getlatlng.html
效果很好.
这篇关于Google Maps + Google Local Search从英国邮政编码生成经纬度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文