有没有人使用 MapQuest 作为地理编码服务?
我需要的是一个简单的函数,你传递地址并获取其中的 lat 和 lng 作为结果,只是它们不需要其他任何东西。
例如 google maps api 使用这个:
geocoder = new google.maps.Geocoder();
geocoder.geocode( { 'address': address}, function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
var value1 = results[0].geometry.location.lat();
var value2 = results[0].geometry.location.lng();
..
什么应该等同于使用地图任务?
谢谢你。