HERE iOS SDK Developer's Guide

<NMAStreetLevelGestureDelegate>

Protocol Summary

protocol <NMAStreetLevelGestureDelegate>

Derived from: <NSObject>

NMAStreetLevelView Gesture Delegate allows you to override the default NMAStreetLevelView gestures.

Include: NMAKit.framework/headers/NMAStreetLevelView.h

Inheritance Diagrams

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

[For complete information, see the section Protocol Details]

Instance Method Summary

Table 1. Instance Methods
Instance Method Summary

- @optional (void) streetLevelView:( NMAStreetLevelView *) view didReceiveDoubleTapFromRecognizer:(UITapGestureRecognizer *) recognizer

Callback notification of a double tap event on a map

- @optional (void) streetLevelView:( NMAStreetLevelView *) view didReceivePanFromRecognizer:(UIPanGestureRecognizer *) recognizer

Callback notification of a rotate event on a map

- @optional (void) streetLevelView:( NMAStreetLevelView *) view didReceivePinchFromRecognizer:(UIPinchGestureRecognizer *) recognizer

Callback notification of a pinch-to-zoom event on a map

- @optional (void) streetLevelView:( NMAStreetLevelView *) view didReceiveTapFromRecognizer:(UITapGestureRecognizer *) recognizer

Callback notification of a tap event on a map

Protocol Details

NMAStreetLevelView Gesture Delegate allows you to override the default NMAStreetLevelView gestures.

To customize a gesture implement a callback of this protocol, perform custom actions in the callback and then call [ NMAStreetLevelView performDefaultActionForGestureRecognizer:] if you wish the default gesture action to be performed.

Methods of this protocol are called on the main queue.

Note:

Overriding a gesture without calling performDefaultActionForGestureRecognizer: can disable street view camera control, object selection, and automatic link handling gestures.

Instance Method Details

- @optional (void) streetLevelView:( NMAStreetLevelView *) view didReceiveDoubleTapFromRecognizer:(UITapGestureRecognizer *) recognizer

Callback notification of a double tap event on a map.

Parameters:

  • view

    The NMAStreetLevelView instance that received the gesture

  • recognizer

    The recognizer for the gesture

- @optional (void) streetLevelView:( NMAStreetLevelView *) view didReceivePanFromRecognizer:(UIPanGestureRecognizer *) recognizer

Callback notification of a rotate event on a map.

Parameters:

  • view

    The NMAStreetLevelView instance that received the gesture

  • recognizer

    The recognizer for the gesture

- @optional (void) streetLevelView:( NMAStreetLevelView *) view didReceivePinchFromRecognizer:(UIPinchGestureRecognizer *) recognizer

Callback notification of a pinch-to-zoom event on a map.

Parameters:

  • view

    The NMAStreetLevelView instance that received the gesture

  • recognizer

    The recognizer for the gesture

- @optional (void) streetLevelView:( NMAStreetLevelView *) view didReceiveTapFromRecognizer:(UITapGestureRecognizer *) recognizer

Callback notification of a tap event on a map.

Parameters:

  • view

    The NMAStreetLevelView instance that received the gesture

  • recognizer

    The recognizer for the gesture