格陵兰和非洲出了什么问题?
我不确定我是否遗漏了一些有关格陵兰(或所有大多数非洲国家的边界的历史事实就此问题而言,但隐藏水景特征后,大量国家/地区看起来像随机多边形。
请参阅此处的示例:https://thenomadicyear.com/
任何人都知道为什么会这样?这可能是API故障吗?
使用Google Maps JavaScript API 3.
使用的样式:
styles.minimal = [
{ //hide all fills
elementType: 'geometry.fill',
stylers: [
{ "visibility": 'off' }
]
},
{
featureType: 'landscape.natural.landcover',
elementType: 'geometry.fill',
stylers: [
{ "visibility": 'on' },
{ "color": '#f2f2f2' },
// { "lightness": 45 }
]
},
/*{
"featureType": "landscape",
"elementType": "all",
"stylers": [
{ "color": '#f2f2f2' }
]
},
{
featureType: "landscape",
elementType: "geometry",
stylers: [
{ "color": '#f2f2f2' }
]
},*/
{
"featureType": "administrative",
"elementType": "labels",
"stylers": [
// { "color": "#333333" }
// , { "visibility": "simplified" }
]
},
{
"featureType": "administrative",
"elementType": "labels.text.fill",
"stylers": [
{ "color": "#333333" }
]
},
{
"featureType": "poi",
"elementType": "all",
"stylers": [
{ "visibility": "off" }
]
},
{
"featureType": "road",
"elementType": "all",
"stylers": [
// { "visibility": "off" }
// { "saturation": -100 },
// { "lightness": 45 }
]
},
{
"featureType": "road.highway",
"elementType": "all",
"stylers": [
{ "visibility": "off" }
// { "visibility": "simplified" }
]
},
{
"featureType": "road.arterial",
"elementType": "labels.icon",
"stylers": [
{ "visibility": "off" }
]
},
{
"featureType": "transit",
"elementType": "all",
"stylers": [
{ "visibility": "off" }
]
},
{
"featureType": "water",
"elementType": "all",
"stylers": [
{ "visibility": "off" }
]
}
];