MapboxGlPlatform class

Implementers

Constructors

MapboxGlPlatform()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
onCameraIdlePlatform ArgumentCallbacks<void>
final
onCameraMovePlatform ArgumentCallbacks<CameraPosition>
final
onCameraMoveStartedPlatform ArgumentCallbacks<void>
final
onCameraTrackingChangedPlatform ArgumentCallbacks<MyLocationTrackingMode>
final
onCameraTrackingDismissedPlatform ArgumentCallbacks<void>
final
onCircleTappedPlatform ArgumentCallbacks<String>
final
onInfoWindowTappedPlatform ArgumentCallbacks<String>
final
onLineTappedPlatform ArgumentCallbacks<String>
final
onMapClickPlatform ArgumentCallbacks<Map<String, dynamic>>
final
onMapIdlePlatform ArgumentCallbacks<void>
final
onMapLongClickPlatform ArgumentCallbacks<Map<String, dynamic>>
final
onMapStyleLoadedPlatform ArgumentCallbacks<void>
final
onSymbolTappedPlatform ArgumentCallbacks<String>
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addCircle(CircleOptions options, [Map data]) Future<Circle>
addImage(String name, Uint8List bytes, [bool sdf = false]) Future<void>
addLine(LineOptions options, [Map data]) Future<Line>
addSymbols(List<SymbolOptions> options, [List<Map> data]) Future<List<Symbol>>
animateCamera(CameraUpdate cameraUpdate) Future<bool>
buildView(Map<String, dynamic> creationParams, Function onPlatformViewCreated, Set<Factory<OneSequenceGestureRecognizer>> gestureRecognizers) Widget
getCircleLatLng(Circle circle) Future<LatLng>
getLineLatLngs(Line line) Future<List<LatLng>>
getSymbolLatLng(Symbol symbol) Future<LatLng>
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 non-existent 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(String circleId) Future<void>
removeLine(String lineId) Future<void>
removeSymbols(Iterable<String> symbolsIds) Future<void>
requestMyLocationLatLng() Future<LatLng>
setMapLanguage(String language) 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>
toString() String
A string representation of this object. [...]
inherited
updateCircle(Circle circle, CircleOptions changes) Future<void>
updateContentInsets(EdgeInsets insets, bool animated) Future<void>
updateLine(Line line, LineOptions changes) Future<void>
updateMapOptions(Map<String, dynamic> optionsUpdate) Future<CameraPosition>
updateMyLocationTrackingMode(MyLocationTrackingMode myLocationTrackingMode) Future<void>
updateSymbol(Symbol symbol, SymbolOptions changes) Future<void>

Operators

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

Static Properties

createInstance MapboxGlPlatform Function()
The default instance of MapboxGlPlatform to use. [...]
read / write

Static Methods

addInstance(int id, MapboxGlPlatform platform) → void
getInstance(int id) MapboxGlPlatform