MapboxWebGlPlatform class
- Inheritance
-
- Object
- MapboxGlPlatform
- MapboxWebGlPlatform
- Implemented types
-
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>
-
override
-
addFillLayer(String sourceId, String layerId, Map<String, dynamic> properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom, dynamic filter, required bool enableInteraction})
→ Future<void>
-
override
-
addGeoJsonSource(String sourceId, Map<String, dynamic> geojson, {String? promoteId})
→ Future<void>
-
override
-
addHillshadeLayer(String sourceId, String layerId, Map<String, dynamic> properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom})
→ Future<void>
-
override
-
addImage(String name, Uint8List bytes, [bool sdf = false])
→ Future<void>
-
override
-
addImageSource(String imageSourceId, Uint8List bytes, LatLngQuad coordinates)
→ Future<void>
-
override
-
addLayer(String imageLayerId, String imageSourceId, double? minzoom, double? maxzoom)
→ Future<void>
-
override
-
addLayerBelow(String imageLayerId, String imageSourceId, String belowLayerId, double? minzoom, double? maxzoom)
→ Future<void>
-
override
-
addLineLayer(String sourceId, String layerId, Map<String, dynamic> properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom, dynamic filter, required bool enableInteraction})
→ Future<void>
-
override
-
addRasterLayer(String sourceId, String layerId, Map<String, dynamic> properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom})
→ Future<void>
-
override
-
addSource(String sourceId, SourceProperties source)
→ Future<void>
-
override
-
addSymbolLayer(String sourceId, String layerId, Map<String, dynamic> properties, {String? belowLayerId, String? sourceLayer, double? minzoom, double? maxzoom, dynamic filter, required bool enableInteraction})
→ Future<void>
-
override
-
animateCamera(CameraUpdate cameraUpdate)
→ Future<bool?>
-
override
-
buildView(Map<String, dynamic> creationParams, OnPlatformViewCreatedCallback onPlatformViewCreated, Set<Factory<OneSequenceGestureRecognizer>>? gestureRecognizers)
→ Widget
-
override
-
dispose()
→ void
-
override
-
getMetersPerPixelAtLatitude(double latitude)
→ Future<double>
-
override
-
getTelemetryEnabled()
→ Future<bool>
-
override
-
getVisibleRegion()
→ Future<LatLngBounds>
-
override
-
initPlatform(int id)
→ Future<void>
-
override
-
invalidateAmbientCache()
→ Future
-
override
-
matchMapLanguageWithDeviceDefault()
→ Future<void>
-
override
-
moveCamera(CameraUpdate cameraUpdate)
→ Future<bool?>
-
override
-
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>
-
override
-
queryRenderedFeaturesInRect(Rect rect, List<String> layerIds, String? filter)
→ Future<List>
-
override
-
removeLayer(String layerId)
→ Future<void>
-
override
-
removeSource(String sourceId)
→ Future<void>
-
override
-
requestMyLocationLatLng()
→ Future<LatLng?>
-
override
-
setAttributionButtonAlignment(AttributionButtonPosition position)
→ void
-
override
-
setAttributionButtonMargins(int x, int y)
→ void
-
override
-
setCameraTargetBounds(LatLngBounds? bounds)
→ void
-
override
-
setCompassAlignment(CompassViewPosition position)
→ void
-
override
-
setCompassEnabled(bool compassEnabled)
→ void
-
override
-
setCompassViewMargins(int x, int y)
→ void
-
override
-
setFeatureForGeoJsonSource(String sourceId, Map<String, dynamic> geojsonFeature)
→ Future<void>
-
override
-
setFilter(String layerId, dynamic filter)
→ Future<void>
-
override
-
setGeoJsonSource(String sourceId, Map<String, dynamic> geojson)
→ Future<void>
-
override
-
setGestures({required bool rotateGesturesEnabled, required bool scrollGesturesEnabled, required bool tiltGesturesEnabled, required bool zoomGesturesEnabled, required bool doubleClickZoomEnabled})
→ void
-
override
-
setLogoViewMargins(int x, int y)
→ void
-
override
-
setMapLanguage(String language)
→ Future<void>
-
override
-
setMinMaxZoomPreference(num? min, num? max)
→ void
-
override
-
setMyLocationEnabled(bool myLocationEnabled)
→ void
-
override
-
setMyLocationRenderMode(int myLocationRenderMode)
→ void
-
override
-
setMyLocationTrackingMode(int myLocationTrackingMode)
→ void
-
override
-
setStyleString(String? styleString)
→ void
-
override
-
setTelemetryEnabled(bool enabled)
→ Future<void>
-
override
-
setTrackCameraPosition(bool trackCameraPosition)
→ void
-
override
-
toLatLng(Point<num> screenLocation)
→ Future<LatLng>
-
override
-
toScreenLocation(LatLng latLng)
→ Future<Point<num>>
-
override
-
toScreenLocationBatch(Iterable<LatLng> latLngs)
→ Future<List<Point<num>>>
-
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateContentInsets(EdgeInsets insets, bool animated)
→ Future<void>
-
override
-
updateMapOptions(Map<String, dynamic> optionsUpdate)
→ Future<CameraPosition?>
-
override
-
updateMyLocationTrackingMode(MyLocationTrackingMode myLocationTrackingMode)
→ Future<void>
-
override