车辆监控地图部分
This commit is contained in:
+14
@@ -77,6 +77,20 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
*/
|
||||
- (void)dd_mapView:(MAMapView *)mapView didFailLoadTerrainWithError:(NSError *)error;
|
||||
|
||||
/**
|
||||
* @brief 地图将要发生缩放时调用此接口
|
||||
* @param mapView 地图view
|
||||
* @param wasUserAction 标识是否是用户动作
|
||||
*/
|
||||
- (void)dd_mapView:(MAMapView *)mapView mapWillZoomByUser:(BOOL)wasUserAction;
|
||||
|
||||
/**
|
||||
* @brief 地图缩放结束后调用此接口
|
||||
* @param mapView 地图view
|
||||
* @param wasUserAction 标识是否是用户动作
|
||||
*/
|
||||
- (void)dd_mapView:(MAMapView *)mapView mapDidZoomByUser:(BOOL)wasUserAction;
|
||||
|
||||
/**
|
||||
* @brief 在地图View将要启动定位时,会调用此函数
|
||||
* @param mapView 地图View
|
||||
|
||||
+12
@@ -89,6 +89,18 @@
|
||||
}
|
||||
}
|
||||
|
||||
- (void)mapView:(MAMapView *)mapView mapWillZoomByUser:(BOOL)wasUserAction {
|
||||
if ([self.delegate respondsToSelector:@selector(dd_mapView:mapWillZoomByUser:)]) {
|
||||
[self.delegate dd_mapView:mapView mapWillZoomByUser:wasUserAction];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)mapView:(MAMapView *)mapView mapDidZoomByUser:(BOOL)wasUserAction {
|
||||
if ([self.delegate respondsToSelector:@selector(dd_mapView:mapDidZoomByUser:)]) {
|
||||
[self.delegate dd_mapView:mapView mapDidZoomByUser:wasUserAction];
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: <Locate>
|
||||
- (void)mapViewWillStartLocatingUser:(MAMapView *)mapView{
|
||||
if ([self.delegate respondsToSelector:@selector(dd_mapViewWillStartLocatingUser:)]) {
|
||||
|
||||
Reference in New Issue
Block a user