onSecondaryTap for line_of_sight_map_screen
This commit is contained in:
1 parent
06285a02ff
commit
c867225073
1 file changed
+1
@@ -430,6 +430,7 @@ class _LineOfSightMapScreenState extends State<LineOfSightMapScreen> {
|
|||||||
minZoom: _mapMinZoom,
|
minZoom: _mapMinZoom,
|
||||||
maxZoom: _mapMaxZoom,
|
maxZoom: _mapMaxZoom,
|
||||||
onLongPress: (_, point) => _addCustomPoint(point),
|
onLongPress: (_, point) => _addCustomPoint(point),
|
||||||
|
onSecondaryTap: (_, point) => _addCustomPoint(point),
|
||||||
onPositionChanged: (camera, hasGesture) {
|
onPositionChanged: (camera, hasGesture) {
|
||||||
final shouldShow = camera.zoom >= _labelZoomThreshold;
|
final shouldShow = camera.zoom >= _labelZoomThreshold;
|
||||||
if (!_didReceivePositionUpdate ||
|
if (!_didReceivePositionUpdate ||
|
||||||
|
|||||||
Reference in new issue
Block a user