WebOsmController class final
Constructors
Properties
- channel ↔ MethodChannel?
-
getter/setter pair
- defaultRoadOption ↔ RoadOption?
-
getter/setter pairinherited
- duration → Duration
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- manager → OSRMManager
-
finalinherited
- mapIdMixin ↔ int
-
getter/setter pairinherited
- mapScript ↔ HTMLScriptElement?
-
getter/setter pair
-
roadsWebCache
↔ Map<
String, RoadInfo> -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- webPlatform → FlutterOsmPluginWeb
-
no setter
Methods
-
addMarker(
GeoPoint p, {MarkerIcon? markerIcon, String? assetAnimatedIconMarker, double? angle, IconAnchor? iconAnchor}) → Future< void> - addMarker
-
changeLocation(
GeoPoint p) → Future< void> -
inherited
-
changeMarker(
{required GeoPoint oldLocation, required GeoPoint newLocation, MarkerIcon? newMarkerIcon, double? angle, IconAnchor? iconAnchor}) → Future< void> - changeMarker
-
changeTileLayer(
{CustomTile? tileLayer}) → Future< void> -
inherited
-
clearAllRoads(
) → Future< void> -
inherited
-
configureZoomMap(
double minZoomLevel, double maxZoomLevel, double stepZoom, double initZoom) → Future< void> -
inherited
-
createHtml(
) → void -
currentLocation(
) → Future< void> -
inherited
-
customUserLocationMarker(
GlobalKey< State< personIconMarkerKey, GlobalKey<StatefulWidget> >State< directionIconMarkerKey) → FutureStatefulWidget> > -
disabledTracking(
) → Future< void> -
inherited
-
dispose(
) → void -
drawCircle(
CircleOSM circleOSM) → Future< void> -
inherited
-
drawMultipleRoad(
List< MultiRoadConfiguration> configs, {MultiRoadOption commonRoadOption = const MultiRoadOption.empty()}) → Future<List< RoadInfo> > -
inherited
-
drawRect(
RectOSM rectOSM) → Future< void> -
inherited
-
drawRoad(
GeoPoint start, GeoPoint end, {RoadType roadType = RoadType.car, List< GeoPoint> ? interestPoints, RoadOption? roadOption}) → Future<RoadInfo> -
inherited
-
drawRoadManually(
String roadKey, List< GeoPoint> path, RoadOption roadOption) → Future<String> -
inherited
-
enableTracking(
{bool enableStopFollow = false, bool disableMarkerRotation = false, Anchor anchor = Anchor.center, bool useDirectionMarker = false}) → Future< void> -
inherited
-
geoPoints(
) → Future< List< GeoPoint> > -
inherited
-
getBounds(
) → Future< BoundingBox> -
inherited
-
getMapCenter(
) → Future< GeoPoint> -
inherited
-
getZoom(
) → Future< double> -
inherited
-
goToPosition(
GeoPoint p, {bool animate = false}) → Future< void> -
inherited
-
init(
OsmWebWidgetState osmWebFlutterState, int idMap) → void -
initLocationMap(
GeoPoint p) → Future< void> -
inherited
-
initPositionMap(
{GeoPoint? initPosition, UserTrackingOption? userPositionOption, bool useExternalTracking = false}) → Future< void> -
limitArea(
BoundingBox box) → Future< void> -
inherited
-
mapOrientation(
double? degree) → Future< void> -
inherited
-
markerIconsStaticPositions(
String id, GlobalKey< State< key) → Future<StatefulWidget> >void> -
myLocation(
) → Future< GeoPoint> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onListenToNativeChannel(
) → void -
removeAllCircle(
) → Future< void> -
inherited
-
removeAllRect(
) → Future< void> -
inherited
-
removeAllShapes(
) → Future< void> -
inherited
-
removeCircle(
String key) → Future< void> -
inherited
-
removeLastRoad(
) → Future< void> -
inherited
-
removeLimitArea(
) → Future< void> -
inherited
-
removeMarker(
GeoPoint p) → Future< void> -
inherited
-
removeMarkers(
List< GeoPoint> markers) → Future<void> -
inherited
-
removeRect(
String key) → Future< void> -
inherited
-
removeRoad(
{required String roadKey}) → Future< void> -
inherited
-
selectPosition(
{MarkerIcon? icon, String imageURL = ""}) → Future< GeoPoint> -
inherited
-
setIconMarker(
GeoPoint point, MarkerIcon markerIcon) → Future< void> - setIconMarker this method change marker icon , marker should be already exist in the map or it will throw exception that marker not exist
-
setIconStaticPositions(
String id, MarkerIcon markerIcon, {bool refresh = false}) → Future< void> -
change Marker of specific static points
we need to global key to recuperate widget from tree element
id
: (String) id of the static group geopointmarkerIcon
: (MarkerIcon) new marker that will set to the static group geopoint -
setMaximumZoomLevel(
double maxZoom) → Future< void> -
inherited
-
setMinimumZoomLevel(
double minZoom) → Future< void> -
inherited
-
setStaticPosition(
List< GeoPoint> geoPoints, String id) → Future<void> -
inherited
-
setStepZoom(
int stepZoom) → Future< void> -
inherited
-
setZoom(
{double? zoomLevel, double? stepZoom}) → Future< void> -
inherited
-
startLocationUpdating(
) → Future< void> -
inherited
-
stopLocationUpdating(
) → Future< void> -
inherited
-
toggleLayer(
{required bool toggle}) → Future< void> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
zoomIn(
) → Future< void> -
inherited
-
zoomOut(
) → Future< void> -
inherited
-
zoomToBoundingBox(
BoundingBox box, {int paddinInPixel = 0}) → Future< void> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited