开发者

Styling Google Earth Plugin borders layer

开发者 https://www.devze.com 2023-02-17 02:51 出处:网络
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. I

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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号