Protocol YMKMapCameraListener

Listens for updates to the camera position.

Instance Methods

Method Detail

-onCameraPositionChangedWithMap:cameraPosition:cameraUpdateSource:finished:

- (void)onCameraPositionChangedWithMap:(nonnull YMKMap *)map
                        cameraPosition:(nonnull YMKCameraPosition *)cameraPosition
                    cameraUpdateSource:(YMKCameraUpdateSource)cameraUpdateSource
                              finished:(BOOL)finished 

Triggered when the camera position changed.

Parameters:
map

New map area.

cameraPosition

Current camera position.

cameraUpdateSource

Previous camera position.

finished

True if the camera finished moving, false otherwise.