Pro*_*cop 9 google-maps google-maps-api-3
我正在尝试设计一个谷歌地图以匹配我给出的设计,并且在设计上,所有国家的外部都有一个中风,以及划分边界的中风.
我想要的效果如下:

我的样式代码目前如下:
var styles = [
{
featureType: "water",
stylers: [
{ visibility: "on" },
{ color: "#ffffff" }
]
},{
featureType: "landscape",
stylers: [
{ color: "#f7f7f5" }
]
},{
featureType: "road",
stylers: [
{ visibility: "off" }
]
},{
featureType: "poi",
stylers: [
{ visibility: "off" }
]
},{
featureType: "administrative.country",
stylers: [
{ color: "#d2cdcd" },
{ weight: 1 }
]
},{
featureType: "administrative.country",
elementType: "labels",
stylers: [
{ visibility: "off" }
]
},{
featureType: "administrative.province",
elementType: "geometry",
stylers: [
{ visibility: "off" }
]
},{
featureType: "administrative.locality",
elementType: "labels",
stylers: [
{ visibility: "off" }
]
},{
featureType: "administrative.province",
elementType: "labels",
stylers: [
{ visibility: "off" }
]
},{
featureType: "water",
elementType: "geometry.stroke",
stylers: [
{ color: "#4cfff5" }
]
}
];
Run Code Online (Sandbox Code Playgroud)
知道我能追求的是什么吗?
谢谢!
编辑:以上样式给我以下

| 归档时间: |
|
| 查看次数: |
2611 次 |
| 最近记录: |