最佳答案
是的,您可以为您正在查看的地点生成最大缩放级别:@H_502_6@
原文链接:https://www.f2er.com/js/429460.html@H_502_6@
getMaxZoomAtLatLng(latlng:LatLng,callback:function(MaxZoomResult))
Returns the maximum zoom level available at a particular LatLng for the Satellite map type. As this request is asynchronous,you must pass a callback function which will be executed upon completion of the request,being passed a MaxZoomResult.@H_502_6@
您还可以使用MapOptions的maxZoom属性设置允许的最大缩放级别(以防止用户完全放大)@H_502_6@
@H_502_6@
The maximum zoom level which will be displayed on the map. If omitted,or set to null,the maximum zoom from the current map type is used instead.@H_502_6@
阅读有关它的一切here.(CTRL F并寻找“最大变焦”)