如何覆盖谷歌地图中的文字(javascript) [英] How to overlay text in google maps (javascript)
本文介绍了如何覆盖谷歌地图中的文字(javascript)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我曾尝试在某些标记(即位置名称)上方添加文本。
在Android中添加(我尝试过)很容易,但我不知道如何使用javascript添加文本。任何人都面临同样的问题?
I have tried to add text above some markers (i.e. location names).
It is easy to add in Android(I have tried), but I don't know how to add text with javascript. Anyone face same problem?
推荐答案
看看谷歌地图实用程序库和更具体到 mapLabel 。
在这里你会发现这个例子。希望它帮助。
Take a look at the google maps utility library and more specific to mapLabel. Inside you will find this example.Hope it helps.
这篇关于如何覆盖谷歌地图中的文字(javascript)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文