谷歌地图上的kml文件中的缩放级别 [英] Zoom levels in kml files on google maps

查看:258
本文介绍了谷歌地图上的kml文件中的缩放级别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将GMarkers添加到Google地图时,我可以使用MarkerManager指定应该显示标记的最小和最大缩放级别。有什么方法可以在kml文件中显示地标时将它指定为Google地图中的地标吗?



看起来像kml中的region标记是这样做的,但仅限于Google地图,而不是谷歌地图。

=http://code.google.com/apis/kml/documentation/mapsSupport.html =nofollow> Google地图KML支持


When I add GMarkers to a google map I can specifiy the min and max zoom levels at which the marker should be displayed using MarkerManager. Is there a way to specifiy this for Placemarks in kml files when they're displayed in Google Maps?

It looks like the region tag in kml does this, but only in Google Earth, not in Google Maps.

解决方案

Google Maps only supports a limited subset of KML: Google Maps KML support

这篇关于谷歌地图上的kml文件中的缩放级别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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