列出所有Google地图标记图像 [英] List All Google Map Marker Images
本文介绍了列出所有Google地图标记图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你经常使用谷歌图像标记还是将它复制到你的服务器上?
在哪里可以从谷歌获取所有可用标记的图像列表?
图片列表,例如:
解决方案
var pinIcon = new google .maps.MarkerImage(
http://chart.apis.google.com/chart?chst=d_map_pin_letter&chld=%E2%80%A2|00D900,
null,/ *大小为在运行时确定* /
null,/ *原点是0,0 * /
null,/ *锚点是缩放图像的底部中心* /
new google.maps.Size(12 ,18)
);
Do you often use image marker from google or copy it to your server? Where I can get all images list of available markers from google? The list of images such as :
解决方案
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地图标记图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文