com.amap.api.maps.model

## 类 GLTFOverlay

- java.lang.Object
- - com.amap.api.maps.model.BaseOverlay
  - - com.amap.api.maps.model.GLTFOverlay

-     public class GLTFOverlay
      extends BaseOverlay

- - ### 字段概要

    - ### 从类继承的字段 com.amap.api.maps.model.BaseOverlay

      `Field1, Field2, overlayName`

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `int` | `getCurrentAnimationIndex()` 获取当前执行动画的索引，取值必须小于模型支持动画的个数。
    `java.lang.String` | `getId()` 得到GLTFOverlay的Id Get the ID of the GLTFOverlay
    `BitmapDescriptor` | `getInfoWindowView()` 获取InfoWindowView Get InfoWindowView
    `LatLng` | `getLatlng()` 获取位置 Get position
    `GLTFOverlayOptions` | `getOptions()` 得到GLTFOverlay的Id Get the ID of the GLTFOverlay
    `float` | `getZIndex()` 获取zindex Get zindex
    `boolean` | `isAnimated()`
    `boolean` | `isClickable()` 获取是否可点击 Get whether it is clickable
    `boolean` | `isDraggable()` 获取是否可拖拽 Get whether it is draggable
    `boolean` | `isInfoWindowShow()` 获取infoWindow是否展示 Get whether the infoWindow is displayed
    `void` | `remove()` 从地图中删除当前 GLTFOverlay，删除后它的所有方法不可用。
    `void` | `setClickable(boolean clickable)` 设置是否可点击 Set whether it is clickable
    `void` | `setCurrentAnimationIndex(int currentAnimationIndex)` 设置当前执行动画的索引，取值必须小于模型支持动画的个数。
    `void` | `setDraggable(boolean draggable)` 设置是否可拖拽 Set whether it is draggable
    `void` | `setInfoWindowView(BitmapDescriptor view)` 设置InfoWindowView Set InfoWindowView
    `void` | `setLatLng(LatLng latLng)` 设置位置 Set position
    `void` | `setZIndex(float zIndex)` 设置zindex Set zindex
    `void` | `tapClick()` 触发点击展示infoWindow Trigger click to display infoWindow

    - ### 从类继承的方法 com.amap.api.maps.model.BaseOverlay

      `method1, method2`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 方法详细资料

    - #### remove

          public void remove()

      从地图中删除当前 GLTFOverlay，删除后它的所有方法不可用。
      Remove the current GLTFOverlay from the map. After removal, all its methods become unavailable.
      从以下版本开始:
        2.1.4

    - #### getOptions

          public GLTFOverlayOptions getOptions()

      得到GLTFOverlay的Id
      Get the ID of the GLTFOverlay
      返回:
        当前GLTFOverlay的Options的拷贝。
        A copy of the current GLTFOverlay's Options.
      从以下版本开始:
        9.4.0

    - #### getId

          public java.lang.String getId()

      得到GLTFOverlay的Id
      Get the ID of the GLTFOverlay
      返回:
        当前GLTFOverlay的Id。
        The ID of the current GLTFOverlay.
      从以下版本开始:
        9.4.0

    - #### setLatLng

          public void setLatLng(LatLng latLng)

      设置位置
      Set position
      参数:
        `latLng` -

    - #### getLatlng

          public LatLng getLatlng()

      获取位置
      Get position
      返回:

    - #### setDraggable

          public void setDraggable(boolean draggable)

      设置是否可拖拽
      Set whether it is draggable
      参数:
        `draggable` -

    - #### isDraggable

          public boolean isDraggable()

      获取是否可拖拽
      Get whether it is draggable
      返回:

    - #### setClickable

          public void setClickable(boolean clickable)

      设置是否可点击
      Set whether it is clickable
      参数:
        `clickable` -

    - #### isClickable

          public boolean isClickable()

      获取是否可点击
      Get whether it is clickable
      返回:

    - #### tapClick

          public void tapClick()

      触发点击展示infoWindow
      Trigger click to display infoWindow

    - #### isInfoWindowShow

          public boolean isInfoWindowShow()

      获取infoWindow是否展示
      Get whether the infoWindow is displayed
      返回:

    - #### setInfoWindowView

          public void setInfoWindowView(BitmapDescriptor view)

      设置InfoWindowView
      Set InfoWindowView
      参数:
        `view` -

    - #### getInfoWindowView

          public BitmapDescriptor getInfoWindowView()

      获取InfoWindowView
      Get InfoWindowView
      返回:

    - #### setCurrentAnimationIndex

          public void setCurrentAnimationIndex(int currentAnimationIndex)

      设置当前执行动画的索引，取值必须小于模型支持动画的个数。默认0，执行第一个动画
      Set the index of the currently executing animation, the value must be less than the number of animations supported by the model. Default is 0, executing the first animation.
      参数:
        `currentAnimationIndex` -

    - #### getCurrentAnimationIndex

          public int getCurrentAnimationIndex()

      获取当前执行动画的索引，取值必须小于模型支持动画的个数。默认0，执行第一个动画
      Get the index of the currently executing animation, the value must be less than the number of animations supported by the model. Default is 0, executing the first animation.
      返回:

    - #### isAnimated

          public boolean isAnimated()

    - #### setZIndex

          public void setZIndex(float zIndex)

      设置zindex
      Set zindex
      参数:
        `zIndex` -

    - #### getZIndex

          public float getZIndex()

      获取zindex
      Get zindex
      返回: