MapboxGlPlatform class abstract

Implementers

Constructors

MapboxGlPlatform()

Methods

addCircleLayer(String sourceId, String layerId, Map<String, dynamic> properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom, dynamic filter, required bool enableInteraction}) Future<void>
addFillLayer(String sourceId, String layerId, Map<String, dynamic> properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom, dynamic filter, required bool enableInteraction}) Future<void>
addGeoJsonSource(String sourceId, Map<String, dynamic> geojson, {String? promoteId}) Future<void>
addHillshadeLayer(String sourceId, String layerId, Map<String, dynamic> properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom}) Future<void>
addImage(String name, Uint8List bytes, [bool sdf = false]) Future<void>
addImageSource(String imageSourceId, Uint8List bytes, LatLngQuad coordinates) Future<void>
addLayer(String imageLayerId, String imageSourceId, double? minzoom, double? maxzoom) Future<void>
addLayerBelow(String imageLayerId, String imageSourceId, String belowLayerId, double? minzoom, double? maxzoom) Future<void>
addLineLayer(String sourceId, String layerId, Map<String, dynamic> properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom, dynamic filter, required bool enableInteraction}) Future<void>
addRasterLayer(String sourceId, String layerId, Map<String, dynamic> properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom}) Future<void>
addSource(String sourceId, SourceProperties properties) Future<void>
addSymbolLayer(String sourceId, String layerId, Map<String, dynamic> properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom, dynamic filter, required bool enableInteraction}) Future<void>
animateCamera(CameraUpdate cameraUpdate) Future<bool?>
buildView(Map<String, dynamic> creationParams, OnPlatformViewCreatedCallback onPlatformViewCreated, Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers) Widget
dispose() → void
getMetersPerPixelAtLatitude(double latitude) Future<double>
getTelemetryEnabled() Future<bool>
getVisibleRegion() Future<LatLngBounds>
initPlatform(int id) Future<void>
invalidateAmbientCache() Future
matchMapLanguageWithDeviceDefault() Future<void>
moveCamera(CameraUpdate cameraUpdate) Future<bool?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryRenderedFeatures(Point<double> point, List<String> layerIds, List<Object>? filter) Future<List>
queryRenderedFeaturesInRect(Rect rect, List<String> layerIds, String? filter) Future<List>
removeLayer(String imageLayerId) Future<void>
removeSource(String sourceId) Future<void>
requestMyLocationLatLng() Future<LatLng?>
setFeatureForGeoJsonSource(String sourceId, Map<String, dynamic> geojsonFeature) Future<void>
setFilter(String layerId, dynamic filter) Future<void>
setGeoJsonSource(String sourceId, Map<String, dynamic> geojson) Future<void>
setMapLanguage(String language) Future<void>
setTelemetryEnabled(bool enabled) Future<void>
toLatLng(Point<num> screenLocation) Future<LatLng>
toScreenLocation(LatLng latLng) Future<Point<num>>
toScreenLocationBatch(Iterable<LatLng> latLngs) Future<List<Point<num>>>
toString() String
A string representation of this object.
inherited
updateContentInsets(EdgeInsets insets, bool animated) Future<void>
updateMapOptions(Map<String, dynamic> optionsUpdate) Future<CameraPosition?>
updateMyLocationTrackingMode(MyLocationTrackingMode myLocationTrackingMode) Future<void>

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

createInstance MapboxGlPlatform Function()
The default instance of MapboxGlPlatform to use.
getter/setter pair