resetNorthPitch method

MapboxMap resetNorthPitch([
  1. AnimationOptions? options,
  2. dynamic eventData
])

Rotates and pitches the map so that north is up (0° bearing) and pitch is 0°, with an animated transition.

@memberof MapboxMap# @param options @param eventData Additional properties to be added to event objects of events triggered by this method. @fires movestart @fires moveend @returns {MapboxMap} this

Implementation

MapboxMap resetNorthPitch([AnimationOptions? options, dynamic eventData]) =>
    MapboxMap.fromJsObject(jsObject.resetNorthPitch());