gallimaps_vector_plugin library

Classes

Annotation
AnnotationManager<T extends Annotation>
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
CircleLayerProperties
CircleManager
CircleOptions
Configuration options for Circle instances.
CurrentLocationWidget
DownloadRegionStatus
Error
Expressions
Fill
FillLayerProperties
FillManager
FillOptions
Configuration options for Fill instances.
GalliMap
GalliMapController
Controller for a single MaplibreMap instance running on the host platform.
GalliMarker
GalliMarkerManager
GalliMarkerOptions
Configuration options for GalliMarker instances.
GalliMethods
GalliSearchWidget
GalliViewer
GeojsonSourceProperties
HillshadeLayerProperties
ImageSourceProperties
InProgress
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
LayerProperties
Line
LineLayerProperties
LineManager
LineOptions
Configuration options for Line instances.
MaplibreMap
Marker
MinMaxZoomPreference
Preferred bounds for map camera zoom level.
OfflineRegion
Description of a downloaded region including its identifier.
OfflineRegionDefinition
Description of region to be downloaded. Identifier will be generated when the download is initiated.
Panorama
RasterDemSourceProperties
RasterLayerProperties
RasterSourceProperties
SourceProperties
Success
SymbolLayerProperties
Three60ButtonWidget
UserHeading
Type represents a geomagnetic value, measured in microteslas, relative to a device axis in three dimensional space.
UserLocation
User's observed location
VectorSourceProperties
VideoSourceProperties

Enums

AnnotationType
AttributionButtonPosition
Attribution Button Position
CompassViewPosition
Compass View Position
DragEventType
MyLocationRenderMode
Specifies if and how the user's heading/bearing is rendered in the user location indicator.
MyLocationTrackingMode
The camera mode, which determines how the map camera will track the rendered location.
RoutingMethods
SensorControl
Three60Type

Properties

galliMapController GalliMapController?
getter/setter pair

Functions

buildFeatureCollection(List<Map<String, dynamic>> features) Map<String, dynamic>
deleteOfflineRegion(int id) Future
downloadOfflineRegion(OfflineRegionDefinition definition, {Map<String, dynamic> metadata = const {}, dynamic onEvent(DownloadRegionStatus event)?}) Future<OfflineRegion>
generateSphereMesh({num radius = 1.0, int latSegments = 16, int lonSegments = 16, Image? texture, Rect croppedArea = const Rect.fromLTWH(0.0, 0.0, 1.0, 1.0), double croppedFullWidth = 1.0, double croppedFullHeight = 1.0}) → Mesh
getListOfRegions() Future<List<OfflineRegion>>
getRandomString([int length = 10]) String
installOfflineMapTiles(String tilesDb) Future<void>
Copy tiles db file passed in to the tiles cache directory (sideloaded) to make tiles available offline.
mergeOfflineRegions(String path) Future<List<OfflineRegion>>
orientationToQuaternion(Vector3 v) → Quaternion
quaternionToOrientation(Quaternion q) → Vector3
setHttpHeaders(Map<String, String> headers) Future<void>
setOffline(bool offline) Future
setOfflineTileCountLimit(int limit) Future
updateOfflineRegionMetadata(int id, Map<String, dynamic> metadata) Future<OfflineRegion>

Typedefs

MapCreatedCallback = void Function(GalliMapController controller)
MyBuilder = void Function(BuildContext context, void methodFromChild())
OnCameraIdleCallback = void Function()
OnCameraTrackingChangedCallback = void Function(MyLocationTrackingMode mode)
OnCameraTrackingDismissedCallback = void Function()
OnFeatureDragnCallback = void Function(dynamic id, {required LatLng current, required LatLng delta, required DragEventType eventType, required LatLng origin, required Point<double> point})
OnFeatureInteractionCallback = void Function(dynamic id, Point<double> point, LatLng coordinates)
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)