是否有一个相当于在谷歌地图API V3 GDownloadUrl功能 [英] Is there an equivalent for GDownloadUrl function in Google Maps API v3

查看:137
本文介绍了是否有一个相当于在谷歌地图API V3 GDownloadUrl功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用谷歌地图API版本2的功能 GDownloadUrl 各种地方下载XML / JSON数据。我将约3打图页,第3版,我无法找到这个函数的等价物。是否有一个或者我应该使用其他库来处理AJAX / XHR?

I used the Google Maps API version 2 function GDownloadUrl on various places to download XML/JSON data. I am converting about 3 dozen map pages to version 3 and I am unable to find an equivalent of this function. Is there one or should I use another library for handling AJAX/XHR?

推荐答案

有没有建在谷歌地图API V3功能(有<一href="https://groups.google.com/group/google-maps-js-api-v3/search?hl=en&group=google-maps-js-api-v3&q=GDownloadUrl&qt_g=Search+this+group"相对=在V3组nofollow的>几次讨论,如果你想要一些历史,包括<一href="https://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/12542ae618555594/660c2a04d67cc1dd?hl=en&lnk=gst&q=GDownloadUrl#660c2a04d67cc1dd"相对=nofollow>这一项包括帕梅拉·福克斯从谷歌的答案(当时))。有一个在演示图库(搜索XML)的一个例子,我有我在此例如使用来自迈克·威廉斯'V2教程一个版本,我翻译成V3

There is no built in function in the google maps API v3 (there are several discussions in the v3 group if you want some history, including this one including an answer by Pamela Fox from google (at the time)). There is an example in the demo gallery (search for xml), and I have a version that I use in this example from Mike WIlliams' v2 tutorial that I translated to v3.

这篇关于是否有一个相当于在谷歌地图API V3 GDownloadUrl功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆