任何人都知道这个图标是什么featureType(在The Hive)?
如果我删除所有'poi'类型,它就会消失。使用:
featureType: "poi",
elementType: "labels",
stylers: [
{ visibility: "off" }
]
但是,如果我单独删除此处列出的所有子类型:https://developers.google.com/maps/documentation/javascript/reference#MapTypeStyleFeatureType
然后它仍然出现。地图上的某些POI元素是否属于任何子类型,并且只属于POI父类型?
答案 0 :(得分:3)
事实上答案是,是的,
“但请注意,父功能可能包含一些其他功能 其中一个子要素类型中未包含的要素。“
https://developers.google.com/maps/documentation/javascript/reference#MapTypeStyleFeatureType