MapController class abstract

Implementers

Constructors

MapController()

Properties

disposed bool
no setter
hashCode int
The hash code for this object.
no setterinherited
onFeatureTapped List<OnFeatureInteractionCallback>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addCircle(CircleOptions options, [Map? data]) Future<Circle?>
addCircleLayer(String sourceId, String layerId, CircleLayerProperties properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom, dynamic filter, bool enableInteraction = true}) Future<void>
addCircles(List<CircleOptions> options, [List<Map>? data]) Future<List<Circle>?>
addFill(FillOptions options, [Map? data]) Future<Fill?>
addFillExtrusionLayer(String sourceId, String layerId, FillExtrusionLayerProperties properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom, dynamic filter, bool enableInteraction = true}) Future<void>
addFillLayer(String sourceId, String layerId, FillLayerProperties properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom, dynamic filter, bool enableInteraction = true}) Future<void>
addFills(List<FillOptions> options, [List<Map>? data]) Future<List<Fill>?>
addGeoJsonSource(String sourceId, Map<String, dynamic> geojson, {String? promoteId}) Future<void>
addHeatmapLayer(String sourceId, String layerId, HeatmapLayerProperties properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom}) Future<void>
addHillshadeLayer(String sourceId, String layerId, HillshadeLayerProperties properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom}) Future<void>
addImage(String name, Uint8List bytes, [bool sdf = false]) Future<void>
addImageLayer(String layerId, String imageSourceId, {double? minzoom, double? maxzoom}) Future<void>
addImageLayerBelow(String layerId, String sourceId, String imageSourceId, {double? minzoom, double? maxzoom}) Future<void>
addImageSource(String imageSourceId, Uint8List bytes, LatLngQuad coordinates) Future<void>
addLayer(String sourceId, String layerId, LayerProperties properties, {String? belowLayerId, bool enableInteraction = true, String? sourceLayer, double? minzoom, double? maxzoom, dynamic filter}) Future<void>
addLine(LineOptions options, [Map? data]) Future<Line?>
addLineLayer(String sourceId, String layerId, LineLayerProperties properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom, dynamic filter, bool enableInteraction = true}) Future<void>
addLines(List<LineOptions> options, [List<Map>? data]) Future<List<Line>?>
addRasterLayer(String sourceId, String layerId, RasterLayerProperties properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom}) Future<void>
addSource(String sourceid, SourceProperties properties) Future<void>
addSymbol(SymbolOptions options, [Map? data]) Future<Symbol?>
addSymbolLayer(String sourceId, String layerId, SymbolLayerProperties properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom, dynamic filter, bool enableInteraction = true}) Future<void>
addSymbols(List<SymbolOptions> options, [List<Map>? data]) Future<List<Symbol>?>
animateCamera(CameraUpdate cameraUpdate, {Duration? duration}) Future<bool?>
clearCircles() Future<void>
clearFills() Future<void>
clearLines() Future<void>
clearSymbols() Future<void>
dispose() → void
findBelowLayerId(List<String> belowAt) Future<String?>
forceResizeWebMap() → void
getCircleLatLng(Circle circle) Future<LatLng?>
getLineLatLngs(Line line) Future<List<LatLng>?>
getMetersPerPixelAtLatitude(double latitude) Future<double?>
getSymbolLatLng(Symbol symbol) Future<LatLng?>
getTelemetryEnabled() Future<bool>
getVisibleRegion() Future<LatLngBounds?>
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?>
removeCircle(Circle circle) Future<void>
removeCircles(Iterable<Circle> circles) Future<void>
removeFill(Fill fill) Future<void>
removeFills(Iterable<Fill> fills) Future<void>
removeLayer(String layerId) Future<void>
removeLine(Line line) Future<void>
removeLines(Iterable<Line> lines) Future<void>
removeSource(String sourceId) Future<void>
removeSymbol(Symbol symbol) Future<void>
removeSymbols(Iterable<Symbol> symbols) Future<void>
requestMyLocationLatLng() Future<LatLng?>
resizeWebMap() → void
setFilter(String layerId, dynamic filter) Future<void>
setGeoJsonFeature(String sourceId, Map<String, dynamic> geojsonFeature) Future<void>
setGeoJsonSource(String sourceId, Map<String, dynamic> geojson) Future<void>
setMapLanguage(String language) Future<void>
setStyleString(String styleString) Future<void>
setSymbolIconAllowOverlap(bool enable) Future<void>
setSymbolIconIgnorePlacement(bool enable) Future<void>
setSymbolTextAllowOverlap(bool enable) Future<void>
setSymbolTextIgnorePlacement(bool enable) Future<void>
setTelemetryEnabled(bool enabled) Future<void>
setVisibility(String layerId, bool isVisible) Future<void>
takeSnapshot(SnapshotOptions snapshotOptions) Future<String?>
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
updateCircle(Circle circle, CircleOptions changes) Future<void>
updateContentInsets(EdgeInsets insets, [bool animated = false]) Future<void>
updateFill(Fill fill, FillOptions changes) Future<void>
updateImageSource(String imageSourceId, Uint8List? bytes, LatLngQuad? coordinates) Future<void>
updateLine(Line line, LineOptions changes) Future<void>
updateMyLocationTrackingMode(MyLocationTrackingMode myLocationTrackingMode) Future<void>
updateSymbol(Symbol symbol, SymbolOptions changes) Future<void>

Operators

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