Terepbejárás geometriák szerkesztése: kontrollpontok és tulajdonságok.
This commit is contained in:
@@ -8,6 +8,7 @@ class SharedMapWidget extends StatelessWidget {
|
||||
final MapController mapController;
|
||||
final List<Widget> layers;
|
||||
final void Function(TapPosition, LatLng)? onLongPress;
|
||||
final void Function(TapPosition, LatLng)? onTap;
|
||||
final void Function(MapCamera, bool)? onPositionChanged;
|
||||
|
||||
final MapControls controls;
|
||||
@@ -33,6 +34,7 @@ class SharedMapWidget extends StatelessWidget {
|
||||
required this.mapController,
|
||||
this.layers = const [],
|
||||
this.onLongPress,
|
||||
this.onTap,
|
||||
this.onPositionChanged,
|
||||
this.controls = const MapControls(),
|
||||
this.initialCenter = const LatLng(47.5, 19.0),
|
||||
@@ -61,6 +63,7 @@ class SharedMapWidget extends StatelessWidget {
|
||||
minZoom: minZoom,
|
||||
maxZoom: maxZoom,
|
||||
onLongPress: onLongPress,
|
||||
onTap: onTap,
|
||||
onPositionChanged: onPositionChanged,
|
||||
interactionOptions: const InteractionOptions(
|
||||
flags: InteractiveFlag.all,
|
||||
|
||||
Reference in New Issue
Block a user