为Google地球插件边框图层设计风格 [英] Styling Google Earth Plugin borders layer

查看:217
本文介绍了为Google地球插件边框图层设计风格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我的地图,用3d制作,我想对它进行设计,这样只有具有标记的县才有一定的颜色。我也想改变边界颜色。我正在使用Google Maps API的v3加载地球。有没有一种方法可以自定义贴图(3d),并且还可以更改内置图层中边框的颜色。



示例3d地图

解决方案

您引用的边界层仅仅是打开或关闭的,没有方法可以设置它的样式或改变它的行为。



如果你希望有一个自定义的数据层来显示边框,那么你必须使用KML来构造它。



您可以自由获取这些(国家边界)的任何一个数据链接应该有所帮助。



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



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



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.

Example 3d map

解决方案

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地球插件边框图层设计风格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆