如何在 Google Maps V3 中永久显示标记的标签/标题? [英] How can I show label/title for marker permanently in Google Maps V3?

查看:20
本文介绍了如何在 Google Maps V3 中永久显示标记的标签/标题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在谷歌地图上显示标记,其下显示标题,如图所示:

I want to display Markers on Google map with title displayed under them as shown in picture:

现在,我在 v2 中使用 ELabel 可以阅读此内容,但在 v3 中已弃用.有没有办法在 Google Maps V3 中的标记图标下显示一些文字?

Now this I read was possible in v2 using ELabel but is deprecated in v3. Is there any possible way to show some text under icons of markers in Google Maps V3?

推荐答案

我在另一篇博文中找到了解决方案,它非常适合我.

I found the solution in an other post which worked perfectly for me.

为谷歌地图标记添加编号标签

这篇关于如何在 Google Maps V3 中永久显示标记的标签/标题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆