Intro
This file is intended as a reference for the important and public classes of this API. We recommend looking at the examples as they will help you the most to start with MapLibre.
Most of the classes wirtten here have an "Options" object for initialization, it is recommended to check which options exist.
Main
Markers and Controls
- AttributionControl
- FullscreenControl
- GeolocateControl
- Hash
- LogoControl
- Marker
- NavigationControl
- Popup
- ScaleControl
- TerrainControl
Geography and Geometry
- EdgeInsets
- LngLat
- LngLatBounds
- MercatorCoordinate
- LngLatBoundsLike
- LngLatLike
- PaddingOptions
- PointLike
Handlers
- BoxZoomHandler
- DoubleClickZoomHandler
- DragPanHandler
- DragRotateHandler
- KeyboardHandler
- ScrollZoomHandler
- TwoFingersTouchHandler
- TwoFingersTouchPitchHandler
- TwoFingersTouchRotateHandler
- TwoFingersTouchZoomHandler
- TwoFingersTouchZoomRotateHandler
Sources
- CanvasSource
- GeoJSONSource
- ImageSource
- RasterDEMTileSource
- RasterTileSource
- VectorTileSource
- VideoSource
- Source