Instance Methods | |
(UIView *) | - getMapView |
(UIView *) | - logoView |
(void) | - setMapViewOffset:animated: |
(void) | - setMapViewStatus:animated: |
(BNMapViewStatus *) | - getMapViewStatus |
(BOOL) | - zoomIn |
放大地图, 返回YES表示最大比例尺,返回NO表示不是最大比例尺 | |
(BOOL) | - zoomOut |
缩小地图,返回YES表示最小比例尺,返回NO表示不是最小比例尺 | |
Properties | |
id< BNMapViewManagerDelegate > | delegate |
- (UIView*) getMapView |
获取底图对象
- (BNMapViewStatus*) getMapViewStatus |
获取地图的状态
- (UIView*) logoView |
获取底图上的logo,默认在左下角
- (void) setMapViewOffset: | (CGPoint) | offset | |
animated: | (BOOL) | animated | |
设置底图的offset
offset | 底图的offset,x为负数,往左移动,为正数,往右移;y为正数,往上移,为负数,往下移 |
- (void) setMapViewStatus: | (BNMapViewStatus *) | mapViewStatus | |
animated: | (BOOL) | animated | |
设置地图的状态
mapViewStatus | 地图状态 |