新功能类型?

时间:2012-08-07 14:19:30

标签: google-maps google-maps-api-3

任何人都知道这个图标是什么featureType(在The Hive)?

enter image description here

如果我删除所有'poi'类型,它就会消失。使用:

featureType: "poi",
elementType: "labels",
stylers: [
    { visibility: "off" }
]

但是,如果我单独删除此处列出的所有子类型:https://developers.google.com/maps/documentation/javascript/reference#MapTypeStyleFeatureType

  • poi.attraction
  • poi.business
  • poi.government
  • poi.medical
  • poi.park
  • poi.place_of_worship
  • poi.school
  • poi.sports_complex

然后它仍然出现。地图上的某些POI元素是否属于任何子类型,并且只属于POI父类型?

1 个答案:

答案 0 :(得分:3)

事实上答案是,是的,

  

“但请注意,父功能可能包含一些其他功能   其中一个子要素类型中未包含的要素。“

https://developers.google.com/maps/documentation/javascript/reference#MapTypeStyleFeatureType