Navmii SDK  2.2.0
Write yourself a navigation system in iOS
Instance Methods | List of all members
<NMMapViewListener> Protocol Reference

Instance Methods

(void) - onMapViewInitialized
 
(void) - onSnapshotReady:
 
(void) - onDisplayedPositionChanged:
 
(void) - onSnappingChanged:
 

Method Documentation

◆ onDisplayedPositionChanged:()

- (void) onDisplayedPositionChanged: (CGPoint)  newPosition
optional

The event is called when displayed position changes relative to the screen.

Parameters
newPositionNew screen position of current location.

◆ onMapViewInitialized()

- (void) onMapViewInitialized
optional

The event is called on NMMapView initialization.

◆ onSnappingChanged:()

- (void) onSnappingChanged: (BOOL)  isSnappedToGps
optional

Tells the listener that map center is snapped or not snapped to GPS position.

Parameters
isSnappedToGpsIs snapped to GPS position.

◆ onSnapshotReady:()

- (void) onSnapshotReady: (nullable UIImage *)  image
optional

The event is called when the NMMapView snapshot is ready.

Parameters
imageAn image of the NMMapView at the moment when the snapshot was taken.