HERE iOS SDK Developer's Guide

NMAHistoricalTrafficTileLayer

Class Summary

class NMAHistoricalTrafficTileLayer

Derived from: NMAMapTileLayer, NMAMapTileLayerDataSource

A raster tile layer that displays historical traffic patterns for a specific time of day and day of the week.

Include: NMAKit.framework/headers/NMAHistoricalTrafficTileLayer.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAHistoricalTrafficTileLayer

[For complete information, see the section Class Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(null_unspecified instancetype) init

Initializes a historical traffic tile layer for the current day, hour, minute.

-(nullable instancetype) initForWeekDay:(NSInteger) weekDay hour:(NSInteger) hour minute:(NSInteger) minute

Initializes a historical traffic tile layer for a specific day, hour and minute.

Class Details

A raster tile layer that displays historical traffic patterns for a specific time of day and day of the week.

Instance Method Details

-(null_unspecified instancetype) init

Initializes a historical traffic tile layer for the current day, hour, minute.

Returns nil if access to this operation is denied. Contact your HERE representative for more information.

-(nullable instancetype) initForWeekDay:(NSInteger) weekDay hour:(NSInteger) hour minute:(NSInteger) minute

Initializes a historical traffic tile layer for a specific day, hour and minute.

The day/week/hour requested is interpreted as local to the current map viewport. For example, if you specify Tuesday 17:30 and the map is showing Berlin you are seeing historical traffic for Tuesdays at 17:30 local time in Berlin. This is regardless of the device's current locale, current location, or current time.

This method returns a nil object if access to this operation is denied. Contact your HERE representative for more information.

Note:

If any of the input parameters are invalid, this method will return nil.

Note:

Calling the default [ NMAHistoricalTrafficTileLayer init] method will call this method with the current local day/hour/minute values.

Parameters:

  • weekDay

    the day of the week, where Sunday is 1 and Saturday is 7.

  • hour

    the hour during the day in the range [0, 23].

  • minute

    the minute the range [0, 59].