| 程序包 | 说明 |
|---|---|
| com.amap.api.maps | |
| com.amap.api.maps.model |
| 限定符和类型 | 方法和说明 |
|---|---|
GLTFOverlay |
AMap.addGLTFOverlay(GLTFOverlayOptions options)
在地图上添加一个gltf对象。
|
| 限定符和类型 | 方法和说明 |
|---|---|
GLTFOverlayOptions |
GLTFOverlayOptions.altitude(double altitude)
设置模型距离地面的高度
Set the height of the model above the ground. |
GLTFOverlayOptions |
GLTFOverlayOptions.clone() |
GLTFOverlayOptions |
GLTFOverlayOptionsCreator.createFromParcel(android.os.Parcel parcel) |
GLTFOverlayOptions |
GLTFOverlay.getOptions()
得到GLTFOverlay的Id
Get the ID of the GLTFOverlay |
GLTFOverlayOptions |
GLTFOverlayOptions.latLng(LatLng latLng)
设置模型的中心点经纬度坐标
Set the latitude and longitude coordinates of the model's center point. |
GLTFOverlayOptions |
GLTFOverlayOptions.modelData(byte[] modelData)
设置glTF的模型数据
Set the glTF model data. |
GLTFOverlayOptions[] |
GLTFOverlayOptionsCreator.newArray(int i) |
GLTFOverlayOptions |
GLTFOverlayOptions.rotationDegree(double xDegree,
double yDegree,
double zDegree)
设置模型的旋转角度,XYZ
Set the rotation angles of the model, XYZ. |
GLTFOverlayOptions |
GLTFOverlayOptions.scale(double scale)
设置模型的缩放比
Set the scaling ratio of the model. |
GLTFOverlayOptions |
GLTFOverlayOptions.uriResources(java.util.List<GLTFResourceIterm> uriResources)
设置glTF对应uri资源
Set the glTF corresponding uri resources. |