开发者

Google Maps API load information

开发者 https://www.devze.com 2023-01-01 00:06 出处:网络
With Google Maps API I can load information of a KML file: geoXml = new GGeoXml(\"ht开发者_如何学Gotp://exampleWeb.com/file.kml\");

With Google Maps API I can load information of a KML file:

geoXml = new GGeoXml("ht开发者_如何学Gotp://exampleWeb.com/file.kml");

But, I can't load information of a public map in maps.google.com?


If you are after the KML for a My Maps page you need to get the link URL (top right) and then append output=kml to the URL:

http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=109115301202341389527.00046920ee89136f6e1ab&ll=51.509928,-0.147281&spn=0.000666,0.001206&t=h&z=20&output=kml

It is the KML for http://maps.google.com/maps/ms?ie=UTF8&t=h&hl=en&msa=0&msid=109115301202341389527.00046920ee89136f6e1ab&z=19

0

精彩评论

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