google-maps - 静态谷歌地图的标签限制

标签 google-maps static maps label limit

最佳答案

根据 Static Maps API V2 Developer Guide (强调我的):

label: (optional) specifies a single uppercase alphanumeric character from the set {A-Z, 0-9}. (The requirement for uppercase characters is new to this version of the API.) Note that default and mid sized markers are the only markers capable of displaying an alphanumeric-character parameter. tiny and small markers are not capable of displaying an alphanumeric-character.

您在某些标签中使用了多个字符,这就是它不起作用的原因。

在数字 1-9 之后,您可以使用字母 A-Z,例如 this (我稍微降低了缩放比例,因为并非所有标记都可见)。

关于google-maps - 静态谷歌地图的标签限制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17534188/

相关文章:

html - Bootstrap 3 中的谷歌地图全高

javascript - 谷歌地图 InfoWindow - 垂直滚动仅在使用 <br/> 时出现

java - 这与 Groovy 中的静态

javascript - 如何将 CSV 文件导入 web 应用程序的 javascript,以便我可以在谷歌地图 Canvas 上放置地址标记?

css - 个性化 Google map 徽章

java - 谷歌地图在离线模式下的新版本电池消耗

c++ - 如何使用函数在C++中初始化静态成员

c++ - 静态函数模板和 MISRA C++

javascript - 我可以防止将 Leaflet map 平移到世界边缘之外吗?

java - Android:如何在内存中创建和保存 map View 以供所有 Activity 使用