#import <MBMapViewDelegate.h>
◆ mbMapView:didChanged:()
◆ mbMapView:didPanEndPos:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
didPanEndPos: |
|
(MBPoint) |
pos |
|
|
| |
|
optional |
◆ mbMapView:didPanStartPos:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
didPanStartPos: |
|
(MBPoint) |
pos |
|
|
| |
|
optional |
◆ mbMapView:onAnnotationClicked:area:()
◆ mbMapView:onAnnotationDeselected:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
onAnnotationDeselected: |
|
(MBAnnotation *) |
annot |
|
|
| |
|
optional |
取消被选中时触发的回调
- 参数
-
mapView | 当前地图 |
annot | 当前取消选中状态的标注 |
◆ mbMapView:onAnnotationsClicked:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
onAnnotationsClicked: |
|
(NSArray *) |
annots |
|
|
| |
|
optional |
◆ mbMapView:onAnnotationSelected:()
◆ mbMapView:onCameraAnimationEnded:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
onCameraAnimationEnded: |
|
(void *) |
unused |
|
|
| |
|
optional |
地图动画 commitAnimations 调用,并且完成相应的动画后触发
- 参数
-
◆ mbMapView:onGestureAnimationEvent:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
onGestureAnimationEvent: |
|
(BOOL) |
animStarted |
|
|
| |
|
optional |
有手势时触发
- 参数
-
mapView | 当前地图 |
animStarted | 动画是否开始 |
◆ mbMapView:onOnlineDataVersionChecked:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
onOnlineDataVersionChecked: |
|
(BOOL) |
upgraded |
|
|
| |
|
optional |
在线地图数据 setDataUrlPrefix() for UrlType_basicMap 后触发
- 参数
-
mapView | 当前地图 |
upgraded | 是否有需要更新的版本 |
◆ mbMapView:onOverlayClicked:area:()
◆ mbMapView:onOverlayDeselected:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
onOverlayDeselected: |
|
(MBOverlay *) |
overlay |
|
|
| |
|
optional |
◆ mbMapView:onOverlaySelected:grabbedPoint:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
onOverlaySelected: |
|
(MBOverlay *) |
overlay |
grabbedPoint: |
|
(MBPoint) |
point |
|
|
| |
|
optional |
◆ mbMapView:onOverlaySelectedNds:grabbedPoint:()
◆ mbMapView:onPoiClicked:pos:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
onPoiClicked: |
|
(NSString *) |
name |
pos: |
|
(MBPoint) |
pos |
|
|
| |
|
optional |
点击 POI 时触发的回调
- 参数
-
mapView | 当前地图 |
name | 被点击的 POI 名称 |
pos | 被点击的 POS 点 |
◆ mbMapView:onPoiDeselected:pos:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
onPoiDeselected: |
|
(NSString *) |
name |
pos: |
|
(MBPoint) |
pos |
|
|
| |
|
optional |
反选POI时触发的回调,Nds为高精度
- 参数
-
mapView | 当前地图 |
name | POI名称 |
pos | POI所在位置坐标 |
◆ mbMapView:onPoiDeselectedNds:pos:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
onPoiDeselectedNds: |
|
(NSString *) |
name |
pos: |
|
(MBNdsPoint) |
area |
|
|
| |
|
optional |
◆ mbMapView:onPoiSelected:pos:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
onPoiSelected: |
|
(NSString *) |
name |
pos: |
|
(MBPoint) |
pos |
|
|
| |
|
optional |
◆ mbMapView:onPoiSelectedNds:pos:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
onPoiSelectedNds: |
|
(NSString *) |
name |
pos: |
|
(MBNdsPoint) |
area |
|
|
| |
|
optional |
◆ mbMapView:onTapped:pos:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
onTapped: |
|
(NSInteger) |
tapCount |
pos: |
|
(MBPoint) |
pos |
|
|
| |
|
optional |
点击
- 参数
-
mapView | 当前地图 |
tapCount | 点击的次数 |
pos | 当前地图 |
◆ mbMapView:onTileLoadingFinished:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
onTileLoadingFinished: |
|
(void *) |
unused |
|
|
| |
|
optional |
◆ mbMapView:trafficEventDidClickedWithDescription:roadName:()
- (void MBMapViewDelegate) mbMapView: |
|
(MBMapView *) |
mapView |
trafficEventDidClickedWithDescription: |
|
(NSString *) |
descrip |
roadName: |
|
(NSString *) |
roadName |
|
|
| |
|
optional |
点击地图上交通事件时触发
- 参数
-
mapView | 当前地图实例 |
descrip | 详情 |
roadName | 街道名 |
- 自从
- 6.3.x
◆ mbMapViewDidTouched:()
- (void MBMapViewDelegate) mbMapViewDidTouched: |
|
(MBMapView *) |
mapView |
|
|
optional |
◆ mbMapViewDrawFinished:()
- (void MBMapViewDelegate) mbMapViewDrawFinished: |
|
(MBMapView *) |
mapView |
|
|
optional |
绘制地图完成[5.3.x 废弃],使用 onTileLoadingFinished 代替
- 参数
-
◆ mbMapViewEnableGesture:point:()
- (BOOL MBMapViewDelegate) mbMapViewEnableGesture: |
|
(MBMapView *) |
mapView |
point: |
|
(CGPoint) |
point |
|
|
| |
|
optional |
开启手势
- 参数
-
mapView | 当前地图 |
point | 当前手势操作的坐标 |
◆ mbMapViewOnLongPress:pos:()
- (void MBMapViewDelegate) mbMapViewOnLongPress: |
|
(MBMapView *) |
mapView |
pos: |
|
(MBPoint) |
pos |
|
|
| |
|
optional |
◆ mbMapViewOnRotate:()
- (void MBMapViewDelegate) mbMapViewOnRotate: |
|
(MBMapView *) |
mapView |
|
|
optional |
该协议的文档由以下文件生成: