开发者

Google Map Markers from Local JSON Data

Greets! Is it possible to create a Google M开发者_Go百科ap in IE from JSON data stored locally (no server)? I had a solution working that used local KML data which worked in Firefox but not IE, apparently because of cross-domain problems. Would JSON provide a better solution?

Thanks for any guidance!


Yes it is quite possible using Google Maps JavaScript API V3.

http://code.google.com/apis/maps/documentation/javascript/

You can add Markers to the map using your JSON data for the attributes.

http://code.google.com/apis/maps/documentation/javascript/overlays.html#Markers

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜