VoyagerGeofenceProtocol class
- Inheritance
-
- Object
- VoyagerProtocol
- VoyagerGeofenceProtocol
Constructors
- VoyagerGeofenceProtocol({required VoyagerMapController mapController, required PolylineConfig editPolylineConfig, required MarkerConfig editMarkerConfig, required PolygonConfig manualGeofenceConfig, Widget deleteMarkerIcon = const Icon(Icons.delete, color: Colors.red, size: 20), Size deleteMarkerSize = const Size(25, 25)})
Properties
- deleteMarkerIcon → Widget
-
final
- deleteMarkerSize → Size
-
final
- editMarkerConfig → MarkerConfig
-
final
- editPolylineConfig → PolylineConfig
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- manualGeofenceConfig → PolygonConfig
-
final
- mapController → VoyagerMapController
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
ensureLinearRing(
List< LatLng> pts) → List<LatLng> -
generateEditPolyline(
) → Future< void> -
mapTapToEditPolygon(
LatLng tapLoc) → Future< void> - cases being handled using mapTapToEditPolygon,
-
markPolygonForEdit(
Polygon tappedManualGeofence) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onCameraMove(
CameraPosition cameraPosition) → void -
override
-
onLongPress(
LatLng latLng) → void -
override
-
onSingleTap(
LatLng latLng) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- kEditMarker ↔ String
-
getter/setter pair
- kEditPolyline ↔ String
-
getter/setter pair
- kManualGeofencePolygon ↔ String
-
getter/setter pair