Google地图KML图层数量限制 [英] Google Maps Number of KML layers limit
问题描述
您可以使用Maps API将最多五个Fusion Tables图层添加到地图中,其中一个图层可以>样式化最多有五种造型规则。
但我没有看到KML图层的类似限制。这是一个无证的新变化吗?
更多详细信息:
当选中所有7个复选框时,图层会与复选框切换,只显示前5个图层。如果我隐藏第一层,第六层会立即显示。
我认为这个bug可能仍然存在,或者可能以不同的形式返回。我试图加载27 kml的文件(总大小为77.6 kb - 远低于限制),它似乎只能加载25 - 如果我使用下拉菜单关闭两层,地图加载正常。请参阅 http://www.trammaps.com/Map.html ,
问候,
Lea。
We used to be able to display 7 KML layers on google map. But now it's only possible to show 5 layers. It's documented:
You can use the Maps API to add up to five Fusion Tables layers to a map, one of which can be >styled with up to five styling rules.
But I didn't see similar limit for KML layers. Is this a undocumented new change?
More detail: The layers are toggled with checkboxes, when all 7 checkboxes are checked, only the first 5 layers are shown. If I hide the first layer, the sixth layer will immediately show.
I think the bug may still be there or maybe back in a different form. I am trying to load 27 kml files (total size 77.6 kb - well under the limit) and it seems to only be able to load 25 - if I turn off two layers using the dropdown the map loads fine. See http://www.trammaps.com/Map.html,
Regards,
Lea.
这篇关于Google地图KML图层数量限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!