【问题标题】:Specific POI types in google maps谷歌地图中的特定兴趣点类型
【发布时间】:2022-01-04 01:46:27
【问题描述】:

我只需要展示食物线。是否有针对 POI 的过滤器?到目前为止我已经这样做了,但这并不能解决我的问题......

  [
    {
      \"featureType\": "poi",
      \"elementType\": \"all\",
      \"stylers\": [
        {
          \"visibility\": \"off\"
        }
      ]
    },
    {
      \"featureType\": \"poi.business\",
      \"elementType\": \"labels.icon\",
      \"stylers\": [
        {
          \"visibility\": \"on\"
        }
      ]
    }
  ]

【问题讨论】:

  • apache-poi 是如何参与其中的?
  • 请澄清您的具体问题或提供其他详细信息以准确突出您的需求。正如目前所写的那样,很难准确地说出你在问什么。

标签: android google-maps point-of-interest


【解决方案1】:

您可以使用Cloud-based maps styling 来控制地图上兴趣点 (POI) 的行为和外观。您可以使用POI filtering 仅启用Food and drink POI 在地图中显示。您可以通过以下方式实现:

  1. 设置Points of interest的可见性 > All element type- All > Stylers=Visibility - Off
  2. 然后点击Points of interest-Business-Food & drinks>All>Visibility - On

【讨论】:

    猜你喜欢
    • 2018-06-29
    • 1970-01-01
    • 2020-01-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多