Watch out for the order of the <coordinates> parameters: longitude then latitude.
If you make a change to your KML file, the old copy will be cached on the Google server for a while. Refreshing your browser's cache won't force Google to refresh their cache. What you can do is to temporarily add an arbitrary parameter to the end of the url,
like "?123", to make the Google cache think that it's different.
KML files can't be sent from your local disk with URLs that begin with "file://" they need to be on a real web server.
If you use an image, or any other resource, in your <description> fields, you must use the full URL.
Relative URLs are considered to refer to files on www.google.com where the page was loaded from, not from the domain that your KML file came from.
在Google map中添加kml文件的注意点
最新推荐文章于 2022-07-15 19:34:26 发布
本文介绍了KML文件使用的几个关键点:坐标参数的正确顺序、更新文件时绕过缓存的方法、KML文件的部署需求及引用资源时的URL使用规范。
695

被折叠的 条评论
为什么被折叠?



