Why not doesn't Google maps view the kml layout?

可紊 提交于 2019-12-02 09:39:59
geocodezip

Your file from SVN has the wrong content type in the headers:

Content-Type:·text/plain

See this issue and this question on SO for more details.

The mime-type for KML needs to be application/vnd.google-earth.kml+xml

This may also be helpful

Set the mime type of all to be application/vnd.google-earth.kml+xml using svn propset svn:mime-type 'application/vnd.google-earth.kml+xml' *.kml (thanks to http://manjeetdahiya.com/2010/09/29/serving-html-documentation-from-google-code- svn/ for the tip).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!