google-maps - 列出所有 Google map 标记图像

标签 google-maps google-maps-markers

您经常使用谷歌的图像标记或将其复制到您的服务器吗? 我在哪里可以从谷歌获取可用标记的所有图像列表? 图像列表例如:

dd-end

dd-start

最佳答案

var pinIcon = new google.maps.MarkerImage(
    "http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=%E2%80%A2|00D900",
    null, /* size is determined at runtime */
    null, /* origin is 0,0 */
    null, /* anchor is bottom center of the scaled image */
    new google.maps.Size(12, 18)
);

关于google-maps - 列出所有 Google map 标记图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2771891/

相关文章:

javascript 数组长度给出了错误的值

ruby-on-rails - 如何在谷歌地图中制作半径圆?

java - 在循环中将参数发送到监听器中的 fragment

javascript - map Canvas 下方的任何内容均未显示

javascript - 如何使用他们的 API 设置 Google map 的样式

json - Play Framework : Request_denied when getting json from googlemap url

php - 如何将谷歌地图 url 转换为 iframe 友好的 url

javascript - 当我拖动标记时,纬度、经度不更新

java - 在 MapView 中使用 Bottomsheet 时出现错误

javascript - 如何清除 map 上当前的标记