| Package | Description |
|---|---|
| com.baidu.mapapi.map |
地图展示与操作相关方法,覆盖物相关方法
|
| com.baidu.mapapi.model |
定义地理经纬度坐标类、地理经纬度范围类。
|
| com.baidu.mapapi.search.poi |
POI检索
|
| Modifier and Type | Field and Description |
|---|---|
LatLngBounds |
MapStatus.bound
当前屏幕显示范围内的地理范围,当旋转或俯视时,是当前屏幕可见显示范围的最大外接矩形
|
| Modifier and Type | Method and Description |
|---|---|
LatLngBounds |
GroundOverlay.getBounds()
获取 ground 覆盖物地理坐标范围
|
LatLngBounds |
GroundOverlayOptions.getBounds()
获取 ground 覆盖物地理坐标范围
|
LatLngBounds |
BaiduMap.getMapStatusLimit()
获取地图可移动区域
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Marker> |
BaiduMap.getMarkersInBounds(LatLngBounds bounds)
获取指定区域内所有的Marker点
|
static MapStatusUpdate |
MapStatusUpdateFactory.newLatLngBounds(LatLngBounds bounds)
设置显示在屏幕中的地图地理范围
|
static MapStatusUpdate |
MapStatusUpdateFactory.newLatLngBounds(LatLngBounds bounds,
int width,
int height)
设置显示在规定宽高中的地图地理范围
|
GroundOverlayOptions |
GroundOverlayOptions.positionFromBounds(LatLngBounds bounds)
设置 ground 覆盖物的位置信息方式二,设置西南与东北坐标范围
|
void |
BaiduMap.setMapStatusLimits(LatLngBounds bounds)
设置地图的可移动区域,只有在 OnMapLoadedCallback.onMapLoaded() 之后设置才生效
|
void |
GroundOverlay.setPositionFromBounds(LatLngBounds bounds)
设置 ground 覆盖物的位置信息方式二,设置西南与东北坐标范围
|
TileOverlayOptions |
TileOverlayOptions.setPositionFromBounds(LatLngBounds bounds)
设置TileOverlay的显示区域,瓦片图会以多个瓦片图连接并覆盖该区域
默认值为世界范围显示瓦片图
|
| Modifier and Type | Method and Description |
|---|---|
LatLngBounds |
LatLngBounds.Builder.build()
创建地理范围对象
|
| Modifier and Type | Method and Description |
|---|---|
PoiBoundSearchOption |
PoiBoundSearchOption.bound(LatLngBounds bound)
poi检索范围
|