gpt4 book ai didi

javascript - 在谷歌地图上仅显示一个 POI

转载 作者:行者123 更新时间:2023-11-28 07:46:14 24 4
gpt4 key购买 nike

同一地址上有更多企业。我需要实现一张 map ,当您在谷歌地图中搜索它的名称时,该 map 仅作为 POI 可见。我能否以某种方式强制显示我需要的内容,或者隐藏所有内容并仅显示该内容?我有它的 placeID 以及所有其他信息,但我找不到任何解决方案。

重新表述问题:

同一栋大楼(同一地址)内有两家企业:BS AgencyXY Agency。在 maps.google.com 上,当我搜索正确的名称时,BS Agency 仅作为 POI 可见:BS Agency 或在最大缩放级别,在其他情况下,仅显示该地址的 XY Agency

我需要使用 Maps JS API 在 BS Agency 的网站上创建 map 。如果我使用坐标放置标记,或者使用 Places API 按 placeID 搜索 BS Agency 并将标记放置在其位置上,则我在 map 上仅看到 XY Agency。

问题:我可以选择让 BS Agency 显示或隐藏 XY Agency 吗?

最佳答案

看看这个问答:
https://productforums.google.com/forum/#!msg/map-maker/NfgnDzNHQ-g/d3zK963n2TQJ

这里的文档:
https://support.google.com/business/answer/6056435?hl=en

The place labels shown on Google Maps are determined algorithmically based on a large number of factors. One factor these algorithms consider is the accuracy of the business information and the richness of the content associated with the business.

Verifying your business improves the chances that your business will display with a place label.

希望这有帮助!

关于javascript - 在谷歌地图上仅显示一个 POI,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27405832/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com