HERE iOS SDK Developer's Guide

<NMAMapViewDelegate>

Protocol Summary

protocol <NMAMapViewDelegate>

Derived from: <NSObject>

Represents a delegate that offers listeners and callback methods related to visible actions that result from user interaction.

Include: NMAKit.framework/headers/NMAMapView.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for <NMAMapViewDelegate> – <NMAMapViewDelegate>

[For complete information, see the section Protocol Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

- @optional (void) mapView:( NMAMapView *) mapView didSelectObjects:(NSArray< __kindof NMAMapObject * > *) objects

A callback indicating that NMAMapObject map objects have been selected

- @optional (void) mapViewDidBeginAnimation:( NMAMapView *) mapView

A callback indicating the beginning of an animation on the map

- @optional (void) mapViewDidBeginMovement:( NMAMapView *) mapView

A callback indicating that a map movement has begun due to user interaction

- @optional (void) mapViewDidDraw:( NMAMapView *) mapView

A callback indicating that map data has been drawn

- @optional (void) mapViewDidEndAnimation:( NMAMapView *) mapView

A callback indicating the end of an animation on the map

- @optional (void) mapViewDidEndMovement:( NMAMapView *) mapView

A callback indicating that a map movement has ended

Protocol Details

Represents a delegate that offers listeners and callback methods related to visible actions that result from user interaction.

Note:

Methods of this protocol are called on the main queue.

Instance Method Details

- @optional (void) mapView:( NMAMapView *) mapView didSelectObjects:(NSArray< __kindof NMAMapObject * > *) objects

A callback indicating that NMAMapObject map objects have been selected.

Parameters:

  • mapView

    The NMAMapView instance sending the callback

  • objects

    A NSArray of selected map objects

- @optional (void) mapViewDidBeginAnimation:( NMAMapView *) mapView

A callback indicating the beginning of an animation on the map.

Note that this callback is invoked after one of the following operations starts:

- @optional (void) mapViewDidBeginMovement:( NMAMapView *) mapView

A callback indicating that a map movement has begun due to user interaction.

Note:

This callback will be sent at the start of the gesture when the map is panned or pinch zoomed(only for user gestures).

Note:

If the map receives more than one of these gestures at the same time, only a single callback will be sent until all map movement has stopped.

- @optional (void) mapViewDidDraw:( NMAMapView *) mapView

A callback indicating that map data has been drawn.

- @optional (void) mapViewDidEndAnimation:( NMAMapView *) mapView

A callback indicating the end of an animation on the map.

This is fired after one of the following operations ends:

- @optional (void) mapViewDidEndMovement:( NMAMapView *) mapView

A callback indicating that a map movement has ended.

Note:

There will be a one-to-one correspondence with this callback and the mapViewDidBeginMovement callback.