<SYMapViewDelegate> Protocol Reference

Represents a delegate that offers listeners and callback methods related to visible actions that result from user interaction. Methods of this protocol are called on the main queue. More...

#import <SYMapView.h>

Inheritance diagram for <SYMapViewDelegate>:
Collaboration diagram for <SYMapViewDelegate>:

Instance Methods

(void) - mapView:didChangeCameraPosition:zoom:rotation:tilt:
 Callback to notify every change on map view's camera position. More...
 
(void) - mapView:didChangeCameraMovementMode:
 Callback to notify when camera movement mode has changed. More...
 
(void) - mapView:didChangeCameraRotationMode:
 Callback to notify when camera rotation mode has changed. More...
 
(void) - mapView:didSelectObjects:
 Callback indicating that SYViewObject map objects have been selected. Available only when SYMapView::mapInteractionEnabled is set to YES. More...
 
(nonnull SYAnnotationView *) - mapView:viewForAnnotation:
 Returns the view associated with the specified annotation object. More...
 
(void) - mapViewDidStopMoving:
 Callback to notify map did stop moving. More...
 

Detailed Description

Represents a delegate that offers listeners and callback methods related to visible actions that result from user interaction. Methods of this protocol are called on the main queue.

Method Documentation

◆ mapView:didChangeCameraPosition:zoom:rotation:tilt:

- (void) mapView: (nonnull SYMapView *)  mapView
didChangeCameraPosition: (nonnull SYGeoCoordinate *)  geoCenter
zoom: (CGFloat)  zoom
rotation: (CGFloat)  rotation
tilt: ("use SYMapCameraDelegate instead.")  __deprecated_msg 
optional

Callback to notify every change on map view's camera position.

Parameters
mapViewMap view camera changes are related to.
geoCenterNew camera position.
zoomNew camera zoom.
rotationNew camera rotation.
tiltNew camera tilt.

◆ mapView:didChangeCameraMovementMode:

- (void) mapView: (nonnull SYMapView *)  mapView
didChangeCameraMovementMode: ("use SYMapCameraDelegate instead.")  __deprecated_msg 
optional

Callback to notify when camera movement mode has changed.

◆ mapView:didChangeCameraRotationMode:

- (void) mapView: (nonnull SYMapView *)  mapView
didChangeCameraRotationMode: ("use SYMapCameraDelegate instead.")  __deprecated_msg 
optional

Callback to notify when camera rotation mode has changed.

◆ mapView:didSelectObjects:

- (void) mapView: (nonnull SYMapView *)  mapView
didSelectObjects: (nonnull NSArray< SYViewObject * > *)  objects 
optional

Callback indicating that SYViewObject map objects have been selected. Available only when SYMapView::mapInteractionEnabled is set to YES.

◆ mapView:viewForAnnotation:

- (nonnull SYAnnotationView*) mapView: (nonnull SYMapView *)  mapView
viewForAnnotation: (nonnull SYAnnotation *)  annotation 
optional

Returns the view associated with the specified annotation object.

◆ mapViewDidStopMoving:

- (void) mapViewDidStopMoving: ("use SYMapCameraDelegate instead.")  __deprecated_msg
optional

Callback to notify map did stop moving.


The documentation for this protocol was generated from the following file: