NavigationControl class
A NavigationControl control contains zoom buttons and a compass.
@implements {IControl}
@param {Object} options
@param {Boolean} options.showCompass=true If true the compass button is included.
@param {Boolean} options.showZoom=true If true the zoom-in and zoom-out buttons are included.
@param {Boolean} options.visualizePitch=false If true the pitch is visualized by rotating X-axis of compass.
@example
var nav = new mapboxgl.NavigationControl();
map.addControl(nav, 'top-left');
@see Display map navigation controls
@see Add a third party vector tile source
Constructors
- 
          
            factory
- 
          Creates a new MapOptions from a jsObject.
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- jsObject → NavigationControlJsImpl
- 
  JS object.
  finalinherited
- options → NavigationControlOptions
- 
  
  no setter
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  onAdd(MapboxMap map) → dynamic 
- 
  onRemove() → dynamic 
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited