HERE iOS SDK Developer's Guide

NMA Mapping

Group Summary

group NMA Mapping

The Mapping group provides classes, protocols, and enumerations that can be used to enable an interactive map and related functionality, such as creating and adding map objects.

[For complete information, see the section Group Details]

Nested Classes

Public Typedef Summary

Table 2. Public Typedefs
Public Typedefs

(void) (^NMAInfoBubbleEventBlock) (void)

The tap handler block called when the info bubble is tapped.

Public Enumeration Summary

Table 3. Public Enumerations
Public Enumerations

NMAMapAnimation

Defines types of animations that can illustrate on-screen map movements.

NMAMapGestureType

The types of gesture that can be performed on an NMAMapView.

NMAMapObjectType

Defines types of NMAMapObject objects that an application can add to a map.

NMAMapPPI

Defines PPI of the map tiles.

Public Variable Summary

Table 4. Public Variables
Public Variables

FOUNDATION_EXPORT NSString *const  NMAMapSchemeHybridDay

Satellite tile scheme presented in "day" colors, with roads

FOUNDATION_EXPORT NSString *const  NMAMapSchemeNormalDay

Normal scheme presented in "day" colors

FOUNDATION_EXPORT NSString *const  NMAMapSchemeNormalNight

Normal scheme presented in "night" colors

FOUNDATION_EXPORT NSString *const  NMAMapSchemePedestrianDay

Pedestrian navigation scheme presented in "day" colors

FOUNDATION_EXPORT NSString *const  NMAMapSchemePedestrianNight

Pedestrian navigation scheme presented in "night" colors

FOUNDATION_EXPORT NSString *const  NMAMapSchemeReducedDay

Normal scheme presented in "day" with less color palette

FOUNDATION_EXPORT NSString *const  NMAMapSchemeReducedNight

Normal scheme presented in "night" with less color palette

FOUNDATION_EXPORT NSString *const  NMAMapSchemeSatelliteDay

Satellite tile scheme presented in "day" colors

FOUNDATION_EXPORT NSString *const  NMAMapSchemeTerrainDay

Terrain bitmap scheme presented in "day" colors

FOUNDATION_EXPORT const float  NMAMapViewPreserveValue

This value may be passed into the map move method setGeoCenter:zoomLevel:withAnimation: (NMAMapView) in place of zoom in order to preserve the current value of that property

Group Details

The Mapping group provides classes, protocols, and enumerations that can be used to enable an interactive map and related functionality, such as creating and adding map objects. Some key classes and protocols in this group are: NMAMapView, NMAMapGestureDelegate, NMAMapObject, and NMAMapScheme

Public Typedef Details

(void) (^NMAInfoBubbleEventBlock) (void)

Include: NMAKit.framework/headers/NMAMapMarker.h

The tap handler block called when the info bubble is tapped.

Public Enumeration Details

NMAMapAnimation

Include: NMAKit.framework/headers/NMAMapView.h

Defines types of animations that can illustrate on-screen map movements.

Enumeration Members:

  • NMAMapAnimationLinear

    Animation moves in a linear manner as the map resets to a new position.

  • NMAMapAnimationNone

    No animation is performed as the map resets to a new position.

NMAMapGestureType

Include: NMAKit.framework/headers/NMAMapGesture.h

The types of gesture that can be performed on an NMAMapView.

Enumeration Members:

  • NMAMapGestureTypeDoubleTap

    A double tap.

  • NMAMapGestureTypeLongPress

    A long press.

  • NMAMapGestureTypePan

    A pan.

  • NMAMapGestureTypePinch

    A pinch.

  • NMAMapGestureTypeTap

    A tap.

  • NMAMapGestureTypeTwoFingerTap

    A two-finger tap.

  • NMAMapGestureTypeAll

    All geture types.

NMAMapObjectType

Include: NMAKit.framework/headers/NMAMapObject.h

Defines types of NMAMapObject objects that an application can add to a map.

Enumeration Members:

  • NMAMapObjectTypeMarker

    A map marker.

  • NMAMapObjectTypePolygon

    A polygon.

  • NMAMapObjectTypePolyline

    A polyline.

  • NMAMapObjectTypeRoute

    A route.

  • NMAMapObjectTypeContainer

    A map container to hold other map objects.

  • NMAMapObjectTypeCircle

    A circle.

  • NMAMapObjectTypeReserved

    A reserved object.

  • NMAMapObjectTypeUnknown

    An unknown object.

NMAMapPPI

Include: NMAKit.framework/headers/NMAMapView.h

Defines PPI of the map tiles.

Enumeration Members:

  • NMAMapPPILow

    Default PPI, suitable for mobile devices.

  • NMAMapPPIHigh

    High PPI.

  • NMAMapPPIReserved

    Internal use only.

Public Variable Details

FOUNDATION_EXPORT NSString *const NMAMapSchemeHybridDay

Include: NMAKit.framework/headers/NMAMapScheme.h

Satellite tile scheme presented in "day" colors, with roads.

FOUNDATION_EXPORT NSString *const NMAMapSchemeNormalDay

Include: NMAKit.framework/headers/NMAMapScheme.h

Normal scheme presented in "day" colors.

FOUNDATION_EXPORT NSString *const NMAMapSchemeNormalNight

Include: NMAKit.framework/headers/NMAMapScheme.h

Normal scheme presented in "night" colors.

FOUNDATION_EXPORT NSString *const NMAMapSchemePedestrianDay

Include: NMAKit.framework/headers/NMAMapScheme.h

Pedestrian navigation scheme presented in "day" colors.

Note:

When using this scheme it is recommended to enable pedestrian features on the map view.

FOUNDATION_EXPORT NSString *const NMAMapSchemePedestrianNight

Include: NMAKit.framework/headers/NMAMapScheme.h

Pedestrian navigation scheme presented in "night" colors.

Note:

When using this scheme it is recommended to enable pedestrian features on the map view.

FOUNDATION_EXPORT NSString *const NMAMapSchemeReducedDay

Include: NMAKit.framework/headers/NMAMapScheme.h

Normal scheme presented in "day" with less color palette.

FOUNDATION_EXPORT NSString *const NMAMapSchemeReducedNight

Include: NMAKit.framework/headers/NMAMapScheme.h

Normal scheme presented in "night" with less color palette.

FOUNDATION_EXPORT NSString *const NMAMapSchemeSatelliteDay

Include: NMAKit.framework/headers/NMAMapScheme.h

Satellite tile scheme presented in "day" colors.

Note:

No roads are shown. For satellite and roads use NMAMapSchemeHybridDay

FOUNDATION_EXPORT NSString *const NMAMapSchemeTerrainDay

Include: NMAKit.framework/headers/NMAMapScheme.h

Terrain bitmap scheme presented in "day" colors.

FOUNDATION_EXPORT const float NMAMapViewPreserveValue

Include: NMAKit.framework/headers/NMAMapView.h

This value may be passed into the map move method setGeoCenter:zoomLevel:withAnimation: in place of zoom in order to preserve the current value of that property.

See also:

setGeoCenter:zoomLevel:withAnimation:

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.