如何添加文本描述以指向谷歌地图API

时间:2021-09-13 07:33:49

I would like to add to maps the point's description (red text), like the image bellow. I can't find how to do it on the google maps API.

我想添加点的描述(红色文字),如下图所示。我在谷歌地图API上找不到如何做到这一点。

如何添加文本描述以指向谷歌地图API

1 个解决方案

#1


0  

Then, you want to put a custom text on your map. You could check for Google Maps Custom Overlays property here is the documentation also other people answered this question by giving examples in here and here(this includes working example).
Hope these helps!

然后,您想在地图上放置自定义文本。你可以检查谷歌地图自定义叠加属性这里是文档也通过在这里和这里举例说明其他人回答这个问题(这包括工作示例)。希望这些有帮助!

#1


0  

Then, you want to put a custom text on your map. You could check for Google Maps Custom Overlays property here is the documentation also other people answered this question by giving examples in here and here(this includes working example).
Hope these helps!

然后,您想在地图上放置自定义文本。你可以检查谷歌地图自定义叠加属性这里是文档也通过在这里和这里举例说明其他人回答这个问题(这包括工作示例)。希望这些有帮助!