在Google map中添加kml文件的注意點

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.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章