Google地图静态地图 - 自定义图标限制 [英] Google Maps Static Map - Custom icons limit

查看:127
本文介绍了Google地图静态地图 - 自定义图标限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用最多26个自定义图标(本示例中为15)从Google地图生成静态地图,但由于某些原因,它只会加载前5个图标。这是网址:



http://bit.ly/fGdtft



Google地图对可加载图标的数量有限制吗? 文档中没有任何明确说明 - 实际上存在所有其他图片如果我用图标H切换图标A,图标H将出现在图标A应该是的地方,图标H应该是: http://bit.ly/elk8kB



有没有其他人有过这样的成功?

$ b $ 静态映射服务允许每个请求最多五个独特的自定义图标。
请注意,这些独特图标中的每一个都可以在静态地图中多次使用。

对不起:(


I am generating a static map from Google maps with up to 26 custom icons (in this example, 15), but for some reason it only loads the first 5 icons. Here is the URL:

http://bit.ly/fGdtft

Does Google maps have a limit on the number of icons that can be loaded? There's nothing explicit in the documentation - all of the other images exist, in fact if I switch icon A with icon H, icon H will appear where icon A is supposed to be and where icon H is supposed to be: http://bit.ly/elk8kB

Has anyone else had success this this?

解决方案

From the static api documentation :

 Static Maps service allows up to five unique custom icons per request. 
Note that each of these unique icons may be used multiple times within the static map.

Sorry :(

这篇关于Google地图静态地图 - 自定义图标限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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