public final enum

RestrictBoundsFitMode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.tencent.tencentmap.mapsdk.maps.model.RestrictBoundsFitMode

Class Overview

接口 setRestrictBounds(LatLngBounds, RestrictBoundsFitMode) 允许设置的 RestrictBoundsFitMode

Summary

Enum Values
RestrictBoundsFitMode  FIT_HEIGHT  此模式会以 bounds 高度为参考值限制地图的控制区域,在最小限制级别时 bounds 的横向区域可能显示不完整, 可调用 setMinZoomLevel(int) 修改最小限制级别以展示完整的区域  
RestrictBoundsFitMode  FIT_WIDTH  此模式会以 bounds 宽度为参考值限制地图的控制区域,在最小限制级别时 bounds 的纵向区域可能显示不完整, 可调用 setMinZoomLevel(int) 修改最小限制级别以展示完整的区域  
Public Methods
static RestrictBoundsFitMode valueOf(String name)
final static RestrictBoundsFitMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final RestrictBoundsFitMode FIT_HEIGHT

此模式会以 bounds 高度为参考值限制地图的控制区域,在最小限制级别时 bounds 的横向区域可能显示不完整, 可调用 setMinZoomLevel(int) 修改最小限制级别以展示完整的区域

public static final RestrictBoundsFitMode FIT_WIDTH

此模式会以 bounds 宽度为参考值限制地图的控制区域,在最小限制级别时 bounds 的纵向区域可能显示不完整, 可调用 setMinZoomLevel(int) 修改最小限制级别以展示完整的区域

Public Methods

public static RestrictBoundsFitMode valueOf (String name)

public static final RestrictBoundsFitMode[] values ()