TencentMapSDK_iOS_3D_v1.3.3
|
QMapView的扩展类 更多...
#import <QMapView.h>
构造函数 | |
(void) | - addOverlay: |
向地图窗口添加overlay,需要实现QMapViewDelegate的-mapView:viewForOverlay:函数来生成标注对应的view 更多... | |
(void) | - addOverlays: |
向地图窗口添加一组overlay,需要实现QMapViewDelegate的-mapView:viewForOverlay:函数来生成标注对应的view 更多... | |
(void) | - removeOverlay: |
移除overlay 更多... | |
(void) | - removeOverlays: |
移除一组overlay 更多... | |
(void) | - insertOverlay:atIndex: |
在指定的索引出添加一个overlay 更多... | |
(void) | - exchangeOverlayAtIndex:withOverlayAtIndex: |
交换指定索引处的overlay 更多... | |
(void) | - insertOverlay:aboveOverlay: |
在指定的overlay之上插入一个overlay 更多... | |
(void) | - insertOverlay:belowOverlay: |
在指定的overlay之下插入一个overlay 更多... | |
(QOverlayView *) | - viewForOverlay: |
查找指定overlay对应的View,如果该view尚未创建,返回nil 更多... | |
属性 | |
NSArray * | overlays |
当前地图上的overlay数组 | |
QMapView的扩展类
提供了覆盖物相关的接口
- (void) addOverlay: | (id< QOverlay >) | overlay |
向地图窗口添加overlay,需要实现QMapViewDelegate的-mapView:viewForOverlay:函数来生成标注对应的view
overlay | 要添加的overlay |
扩展类 QMapView.
- (void) addOverlays: | (NSArray *) | overlays |
向地图窗口添加一组overlay,需要实现QMapViewDelegate的-mapView:viewForOverlay:函数来生成标注对应的view
overlays | 要添加的overlay数组 |
扩展类 QMapView.
- (void) exchangeOverlayAtIndex: | (NSUInteger) | index1 | |
withOverlayAtIndex: | (NSUInteger) | index2 | |
- (void) insertOverlay: | (id< QOverlay >) | overlay | |
aboveOverlay: | (id< QOverlay >) | sibling | |
- (void) insertOverlay: | (id< QOverlay >) | overlay | |
atIndex: | (NSUInteger) | index | |
- (void) insertOverlay: | (id< QOverlay >) | overlay | |
belowOverlay: | (id< QOverlay >) | sibling | |
- (void) removeOverlay: | (id< QOverlay >) | overlay |
- (void) removeOverlays: | (NSArray *) | overlays |
- (QOverlayView *) viewForOverlay: | (id< QOverlay >) | overlay |