我在Google Maps JavaScript API中使用kml在地图中显示地标。
KML文件包含11,031个地标,但未在谷歌地图中显示,但当我减少它显示的地标06387时。
我不知道有什么问题请告诉我是否有Max。 Google地图API或任何替代解决方案中的地标数限制。
答案 0 :(得分:1)
请参阅:
(此信息曾在文档中,但在那里不再可用,link on archive.org )
Google地图中KML渲染的大小和复杂性限制
Google Maps currently has specific limitations to the size and complexity of loaded KML files. Below is a summary of the current limits: Note: these limits are temporary and are subject to change at any time. Maximum fetched file size (raw KML, raw GeoRSS, or compressed KMZ) 3MB Maximum uncompressed KML file size 10MB Maximum number of Network Links 10 Maximum number of total document-wide features 1,000