Styling Google Earth Plugin borders layer

有些话、适合烂在心里 提交于 2019-12-13 05:11:09

问题


I have my map, in 3d and I want to style it so that only counties with markers have a certain color. I also want to change the boundary color. I am using v3 of the Google Maps Api to load the earth. Is there a way to customize the map (3d) and also change the color of the borders in the in-built layer.

Example 3d map


回答1:


The borders layer you refer to is simply on or off, there are no methods to style it or alter its behaviour.

If you wish to have a custom data layer to show borders then you must construct it using KML.

You can obtain the data freely for this (country borders) any one of these links should help.

http://www.gelib.com/world-borders.htm

http://groups.google.com/group/kml-support/attach/031c560231ceefef/41300-WorldBorders.kmz?part=2

http://bbs.keyhole.com/ubb/ubbthreads.php?ubb=showflat&Number=56571#Post56571



来源:https://stackoverflow.com/questions/5312347/styling-google-earth-plugin-borders-layer

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