vtmap_gl library

Classes

ArgumentCallbacks<T>
Mutable collection of ArgumentCallback instances, itself an ArgumentCallback.
CameraPosition
The position of the map "camera", the view point from which the world is shown in the map view. Aggregates the camera's target geographical location, its zoom level, tilt angle, and bearing.
CameraTargetBounds
Bounds for the map camera target.
CameraUpdate
Defines a camera move, supporting absolute moves as well as moves relative the current position.
Circle
CircleOptions
Configuration options for Circle instances.
Fill
FillOptions
Configuration options for Fill instances.
LatLng
A pair of latitude and longitude coordinates, stored as degrees.
LatLngBounds
A latitude/longitude aligned rectangle.
LatLngQuad
A geographical area representing a non-aligned quadrilateral This class does not wrap values to the world bounds
LayerOptions
Line
LineOptions
Configuration options for Line instances.
MapboxMapController
Controller for a single MapboxMap instance running on the host platform.
MapboxStyles
MinMaxZoomPreference
Preferred bounds for map camera zoom level.
Symbol
SymbolOptions
Configuration options for Symbol instances.
VTMap
VTMapOptions
Configuration options for the MapBoxNavigation.
WayPoint
A Geo-coordinate Point used for navigation.

Enums

CompassViewPosition
Compass View Position
LayerType
MyLocationRenderMode
Render mode
MyLocationTrackingMode
The camera mode, which determines how the map camera will track the rendered location.
VTMapNavigationMode

Functions

installOfflineMapTiles(String tilesDb) Future<void>
Copy tiles db file passed in to the tiles cache directory (sideloaded) to make tiles available offline.

Typedefs

MapCreatedCallback = void Function(MapboxMapController controller)
OnCameraIdleCallback = void Function()
OnCameraMovingStartedCallBack = void Function()
OnCameraTrackingChangedCallback = void Function(MyLocationTrackingMode mode)
OnCameraTrackingDismissedCallback = void Function()
OnMapClickCallback = void Function(Point<double>? point, LatLng? coordinates)
OnMapIdleCallback = void Function()
OnMapLongClickCallback = void Function(Point<double>? point, LatLng? coordinates)
OnStyleLoadedCallback = void Function()
OnUserLocationUpdated = void Function(UserLocation location)