OlaMapController class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addBezierCurve({required OlaLatLng startPoint, required OlaLatLng endPoint, String? curveId, String? color, String? lineType, double? width}) Future<String?>
Add a bezier curve to the map
addCircle({required OlaLatLng center, required double radius, String? circleId, String? color, double? blur, double? opacity}) Future<String?>
Add a circle to the map
addClusteredMarkers({required String geoJson, int? clusterRadius, String? defaultMarkerColor, String? defaultClusterColor, double? textSize, String? textColor}) Future<String?>
Add clustered markers using GeoJSON string
addMarker({required OlaLatLng position, String? markerId, bool isClickable = true, double iconRotation = 0.0, bool isAnimationEnabled = true, String? snippet, String? subSnippet, bool isInfoWindowDismissOnClick = true}) Future<String?>
Add a marker to the map
addPolygon({required List<OlaLatLng> points, String? polygonId, String? color}) Future<String?>
Add a polygon to the map
addPolyline({required List<OlaLatLng> points, String? polylineId, String? color, String? lineType, double? width}) Future<String?>
Add a polyline to the map
getCurrentLocation() Future<OlaLatLng?>
Get the user's current location
hideCurrentLocation() Future<void>
Hide the user's current location from the map
hideInfoWindow(String markerId) Future<void>
Hide the info window for a marker
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeBezierCurve(String curveId) Future<void>
Remove a bezier curve from the map
removeCircle(String circleId) Future<void>
Remove a circle from the map
removeClusteredMarkers(String clusterId) Future<void>
Remove clustered markers from the map
removeMarker(String markerId) Future<void>
Remove a marker from the map
removePolygon(String polygonId) Future<void>
Remove a polygon from the map
removePolyline(String polylineId) Future<void>
Remove a polyline from the map
showCurrentLocation() Future<void>
Show the user's current location on the map
toString() String
A string representation of this object.
inherited
updateBezierCurve({required String curveId, OlaLatLng? startPoint, OlaLatLng? endPoint, String? color, String? lineType, double? width}) Future<void>
Update bezier curve properties
updateCircle({required String circleId, double? radius, String? color, double? opacity}) Future<void>
Update circle properties
updateClusteredMarkers({required String clusterId, required String geoJson, int? clusterRadius, String? defaultMarkerColor, String? defaultClusterColor, double? textSize, String? textColor}) Future<void>
Update clustered markers with new GeoJSON and options
updateInfoWindow(String markerId, String text) Future<void>
Update the info window text for a marker
updateMarker({required String markerId, OlaLatLng? position, double? iconRotation, String? iconAnchor, String? iconPath, List<double>? iconOffset, double? iconSize, String? snippet, String? subSnippet}) Future<void>
Update an existing marker Update an existing marker
updatePolygon({required String polygonId, List<OlaLatLng>? points, String? color}) Future<void>
Update polygon properties
updatePolyline({required String polylineId, List<OlaLatLng>? points, String? color, double? width}) Future<void>
Update polyline points
zoomIn() Future<void>
Zoom in on the map
zoomOut() Future<void>
Zoom out on the map
zoomToLocation(OlaLatLng location, double zoomLevel) Future<void>
Zoom to a specific location on the map

Operators

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