简体   繁体   English

使用Google Maps API v3的卫星图像缩放级别

[英]zoom level with satellite imagery using google maps api v3

I am having a problem where if I fit bounds to a single marker there is often no satellite imagery. 我遇到一个问题,如果我将边界适合单个标记,那么通常不会有卫星图像。

Is there a way I can set the map to the closest zoom level that still has satellite imagery? 有什么方法可以将地图设置为仍具有卫星图像的最近缩放级别?

I am using Google Maps API V3. 我正在使用Google Maps API V3。

getMaxZoomAtLatLng is how you could do it in V2. getMaxZoomAtLatLng是您在V2中的方法。 Strangely it does not seem to be implemented in V3, as documented here 奇怪的是它似乎并没有在V3中实现,如记录在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM