mapsm_lv_dart library
Type definitions for Mapbox GL JS
Classes
- AnimationOptions
- Options common to map movement methods that involve animation, such as {@link MapboxMap#panBy} and {@link MapboxMap#easeTo}, controlling the duration and easing function of the animation. All properties are optional.
- BoxZoomHandler
- Camera
- CameraOptions
- Options common to {@link MapboxMap#jumpTo}, {@link MapboxMap#easeTo}, and {@link MapboxMap#flyTo}, controlling the desired location, zoom, bearing, and pitch of the camera. All properties are optional, and when a property is omitted, the current camera value for that property will remain unchanged.
- CircleLayer
- CirclePaint
- DoubleClickZoomHandler
- DragPanHandler
- DragRotateHandler
- EvaluationParameters
- Event
- Evented
- Feature
- FeatureCollection
- GeoJsonSource
- GeolocateControl
- 
  A GeolocateControlcontrol provides a button that uses the browser's geolocation API to locate the user on the map.
- GeolocateControlOptions
- Geometry
- IControl
- Interface for interactive controls added to the map. This is a specification for implementers to model: it is not an exported method or class.
- KeyboardHandler
- Layer
- LineLayer
- LineLayout
- LinePaint
- LngLat
- 
  A LngLatobject represents a given longitude and latitude coordinate, measured in degrees.
- LngLatBounds
- 
  A LngLatBoundsobject represents a geographical bounding box, defined by its southwest and northeast points in longitude and latitude.
- LogoControl
- 
  A LogoControlis a control that adds the Mapbox watermark to the map as required by the terms of service for Mapbox vector tiles and core styles.
- Mapbox
- MapboxMap
- 
  The MapboxMapobject represents the map on your page. It exposes methods and properties that enable you to programmatically change the map, and fires events as users interact with it.
- MapMouseEvent
- MapOptions
- MapTouchEvent
- Marker
- 
  Creates a marker component
@param {HTMLElement} elementDOM element to use as a marker. The default is a light blue, droplet-shaped SVG marker. @param {string}anchor='center'A string indicating the part of the Marker that should be positioned closest to the coordinate set via {@link Marker#setLngLat}. Options are'center','top','bottom','left','right','top-left','top-right','bottom-left', and'bottom-right'. @param {PointLike}offsetThe offset in pixels as a {@link PointLike} object to apply relative to the element's center. Negatives indicate left and up. @param {string}color='#3FB1CE'The color to use for the default marker ifelementis not provided. The default is light blue. @param {boolean}draggable=falseA boolean indicating whether or not a marker is able to be dragged to a new position on the map. @param {number}rotation=0The rotation angle of the marker in degrees, relative to its respective {@link Marker#rotationAlignment} setting. A positive value will rotate the marker clockwise. @param {string}pitchAlignment='auto'mapaligns theMarkerto the plane of the map.viewportaligns theMarkerto the plane of the viewport.autoautomatically matches the value ofrotationAlignment. @param {string}rotationAlignment='auto'mapaligns theMarker's rotation relative to the map, maintaining a bearing as the map rotates.viewportaligns theMarker's rotation relative to the viewport, agnostic to map rotations.autois equivalent toviewport.
- MarkerOptions
- 
  A NavigationControlcontrol contains zoom buttons and a compass.
- PaddingOptions
- Options for setting padding on a call to {@link MapboxMap#fitBounds}. All properties of this object must be non-negative integers.
- Point
- Popup
- A popup component.
- PopupOptions
- PositionOptions
- RequestParameters
- ScrollZoomHandler
- 
  Source<T> 
- Style
- StyleFunction
- StyleImage
- StyleImageInterface
- StyleSetterOptions
- SymbolLayer
- SymbolLayout
- SymbolPaint
- TouchZoomRotateHandler
- VectorSource
Typedefs
- GeoListener = dynamic Function(dynamic object)
- Listener = dynamic Function(Event object)