Tag: 地理位置

使用非英文语言获取Google GeoCode坐标

我使用这个页面来获取Google地图的坐标。 当使用英文名称时,没有问题,excel文件返回坐标。 但是,当使用波斯(或阿拉伯语)名称excel文件返回Request was empty or malformed 。我在VBA文件中设置语言,但不是解决问题: Request.Open "GET", "http://maps.googleapis.com/maps/api/geocode/xml?" _ & "&address=" & Address & "&sensor=false" & "&language=fa", False 我该怎么办? 文件: Excel文件

在Excel Spreadsheets中运行JQuery Geolocation脚本

是否有可能在Excel电子表格中使用我的jQuery脚本? 我正在尝试使用地理定位function的自动地址填写。我有能力做到这一点通过HTML。 但是我很好奇我如何才能在Excel工作表中实现相同的目标。 我想要在电子表格中的列是地址,城市,州,邮编,然后每次地址被点击进入我希望它预填充和给我这样的HTML版本的build议。 请有人协助,这可能是可能的。 var placeSearch, autocomplete; var componentForm = { route: 'long_name', locality: 'long_name', administrative_area_level_1: 'short_name', postal_code: 'short_name' }; function initialize() { // Create the autocomplete object, restricting the search // to geographical location types. autocomplete = new google.maps.places.Autocomplete( /** @type {HTMLInputElement} */ (document.getElementById('autocomplete')), { types: ['geocode'] }); // When the user selects […]