mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-07-30 15:23:02 +10:00
onSecondaryTap for line_of_sight_map_screen
This commit is contained in:
@@ -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