问题描述
我有我的地图,用3d制作,我想对它进行设计,这样只有具有标记的县才有一定的颜色。我也想改变边界颜色。我正在使用Google Maps API的v3加载地球。有没有一种方法可以自定义贴图(3d),并且还可以更改内置图层中边框的颜色。
您引用的边界层仅仅是打开或关闭的,没有方法可以设置它的样式或改变它的行为。
如果你希望有一个自定义的数据层来显示边框,那么你必须使用KML来构造它。
您可以自由获取这些(国家边界)的任何一个数据链接应该有所帮助。
http: 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. 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 这篇关于为Google地球插件边框图层设计风格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!