Class MapStatus

java.lang.Object
com.baidu.mapapi.map.MapStatus
All Implemented Interfaces:
android.os.Parcelable

public final class MapStatus extends Object implements android.os.Parcelable
定义地图状态
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    地图状态构造器

    Nested classes/interfaces inherited from interface android.os.Parcelable

    android.os.Parcelable.ClassLoaderCreator<T extends Object>, android.os.Parcelable.Creator<T extends Object>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    当前屏幕显示范围内的地理范围,当旋转或俯视时,是当前屏幕可见显示范围的最大外接矩形
    static final android.os.Parcelable.Creator<MapStatus>
     
    final float
    地图俯仰角度。-80~0
    final float
    地图旋转角度。
    final LatLng
    地图操作的中心点。
    final android.graphics.Point
    地图操作中心点在屏幕中的坐标
    屏幕范围
    final float
    地图缩放级别 4~21,室内图支持到22

    Fields inherited from interface android.os.Parcelable

    CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    MapStatus(android.os.Parcel in)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
     
    void
    writeToParcel(android.os.Parcel dest, int flags)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • rotate

      public final float rotate
      地图旋转角度。
    • target

      public final LatLng target
      地图操作的中心点。
    • overlook

      public final float overlook
      地图俯仰角度。-80~0
    • zoom

      public final float zoom
      地图缩放级别 4~21,室内图支持到22
    • targetScreen

      public final android.graphics.Point targetScreen
      地图操作中心点在屏幕中的坐标
    • bound

      public final LatLngBounds bound
      当前屏幕显示范围内的地理范围,当旋转或俯视时,是当前屏幕可见显示范围的最大外接矩形
    • winRound

      public WinRound winRound
      屏幕范围
    • CREATOR

      public static final android.os.Parcelable.Creator<MapStatus> CREATOR
  • Constructor Details

    • MapStatus

      protected MapStatus(android.os.Parcel in)
  • Method Details

    • describeContents

      public int describeContents()
      Specified by:
      describeContents in interface android.os.Parcelable
    • writeToParcel

      public void writeToParcel(android.os.Parcel dest, int flags)
      Specified by:
      writeToParcel in interface android.os.Parcelable
    • toString

      public String toString()
      Overrides:
      toString in class Object