HERE iOS SDK Developer's Guide

NMAMapTransitLayer

Class Summary

class NMAMapTransitLayer

Derived from: NSObject

.

Include: NMAKit.framework/headers/NMAMapTransitLayer.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAMapTransitLayer

[For complete information, see the section Class Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

-(void) clearTransitHighlights

Clears all transits layer objects from highlighted state to non-highlighted state

-(void) highlightTransitAccessesFromUniqueIds:(nonnullNSArray< NSString * > *) uniqueIds

Highlights a specified array of transit accesses

-(void) highlightTransitLineSegmentsFromUniqueIds:(nonnull NSArray< NSString * > *) uniqueIds

Highlights a specified array of transit line segments

-(void) highlightTransitLinesFromUniqueIds:(nonnull NSArray< NSString * > *) uniqueIds

Highlights a specified array of transit lines

-(void) highlightTransitStopsFromUniqueIds:(nonnull NSArray< NSString * > *) uniqueIds

Highlights a specified array of transit stops

Class Details

Represents a NMAMapView layer that can display any combination of transit stops, accesses, and lines (including none)

Instance Method Details

-(void) clearTransitHighlights

Clears all transits layer objects from highlighted state to non-highlighted state.

-(void) highlightTransitAccessesFromUniqueIds:(nonnullNSArray< NSString * > *) uniqueIds

Highlights a specified array of transit accesses. Previously highlighted accesses remain highlighted until clearTransitHighlights is called to clear all highlighted objects.

Parameters:

  • uniqueIds

    The unique IDs of the translit accesses to be highlighted.

-(void) highlightTransitLineSegmentsFromUniqueIds:(nonnull NSArray< NSString * > *) uniqueIds

Highlights a specified array of transit line segments. Previously highlighted line segments remain highlighted until clearTransitHighlights is called to clear all highlighted objects.

Parameters:

  • uniqueIds

    The unique IDs of the translit line segments to be highlighted.

-(void) highlightTransitLinesFromUniqueIds:(nonnull NSArray< NSString * > *) uniqueIds

Highlights a specified array of transit lines. Previously highlighted lines remain highlighted until clearTransitHighlights is called to clear all highlighted objects.

Parameters:

  • uniqueIds

    The unique IDs of the translit lines to be highlighted.

-(void) highlightTransitStopsFromUniqueIds:(nonnull NSArray< NSString * > *) uniqueIds

Highlights a specified array of transit stops. Previously highlighted stops remain highlighted until clearTransitHighlights is called to clear all highlighted objects.

Parameters:

  • uniqueIds

    The unique IDs of the translit stops to be highlighted.