| 程序包 | 说明 |
|---|---|
| com.amap.api.maps | |
| com.amap.api.maps.model |
| 限定符和类型 | 方法和说明 |
|---|---|
GroundOverlay |
AMap.addGroundOverlay(GroundOverlayOptions options)
在地图上添加一个Ground覆盖物(groundOverlay)对象
Add a ground overlay (groundOverlay) object to the map. |
| 限定符和类型 | 方法和说明 |
|---|---|
GroundOverlayOptions |
GroundOverlayOptions.anchor(float anchorU,
float anchorV)
设置图片的对齐方式,[0,0]是左上角,[1,1]是右下角 。
|
GroundOverlayOptions |
GroundOverlayOptions.bearing(float bearing)
设置ground 覆盖物从正北顺时针的角度,相对锚点旋转。
|
GroundOverlayOptions |
GroundOverlayOptions.image(BitmapDescriptor image)
设置 ground 覆盖物的图片信息。
|
GroundOverlayOptions |
GroundOverlayOptions.position(LatLng location,
float width)
根据位置和宽设置ground 覆盖物。
|
GroundOverlayOptions |
GroundOverlayOptions.position(LatLng location,
float width,
float height)
根据位置和宽高设置ground 覆盖物。
|
GroundOverlayOptions |
GroundOverlayOptions.positionFromBounds(LatLngBounds paramLatLngBounds)
根据矩形区域设置ground 覆盖物的位置。
|
GroundOverlayOptions |
GroundOverlayOptions.transparency(float transparency)
设置ground 覆盖物的透明度。
|
GroundOverlayOptions |
GroundOverlayOptions.visible(boolean visible)
设置ground 覆盖物是否可见。
|
GroundOverlayOptions |
GroundOverlayOptions.zIndex(float zIndex)
设置ground 覆盖物的z轴指数。
|