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:(nonnull NMAMapView *) mapView didSelectObjects:(nonnull NSArray< NMAMapObject * > *) objects

A callback indicating that NMAMapObject map objects have been selected

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

A callback indicating the beginning of an animation on the map

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

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

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

A callback indicating that map data has been drawn

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

A callback indicating the end of an animation on the map

- @optional (void) mapViewDidEndMovement:(nonnull 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:(nonnull NMAMapView *) mapView didSelectObjects:(nonnull NSArray< 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:(nonnull NMAMapView *) mapView

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

Note:

This is fired after one of the following operations starts: setting the map center (with animation). E.g. with NMAMapView setCenter: setting the map orientation (with animation). E.g. with NMAMapView setOrientation: setting the map tilt (with animation). E.g. with NMAMapView setTilt: setting the map zoom level (with animation). E.g. with NMAMapView setZoomLevel:

- @optional (void) mapViewDidBeginMovement:(nonnull 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, tilted, pinch zoomed, or rotated (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:(nonnull NMAMapView *) mapView

A callback indicating that map data has been drawn.

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

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

This is fired after one of the following operations ends:
  • setting the map center (with animation). E.g. with NMAMapView setCenter:
  • setting the map orientation (with animation). E.g. with NMAMapView setOrientation:
  • setting the map tilt (with animation). E.g. with NMAMapView setTilt:
  • setting the map zoom level (with animation). E.g. with NMAMapView setZoomLevel:

- @optional (void) mapViewDidEndMovement:(nonnull 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.

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.