mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-04-20 22:13:48 +00:00
reduce zoomlevel
This commit is contained in:
parent
11cb14a925
commit
7b3c099736
1 changed files with 2 additions and 2 deletions
|
|
@ -341,8 +341,8 @@ class _ChannelMessagePathMapScreenState
|
|||
void _focusHop(_PathHop hop) {
|
||||
if (!hop.hasLocation) return;
|
||||
final targetZoom = _didReceivePositionUpdate
|
||||
? max(_mapController.camera.zoom, 14.0)
|
||||
: 14.0;
|
||||
? max(_mapController.camera.zoom, 10.0)
|
||||
: 12.0;
|
||||
_mapController.move(hop.position!, targetZoom);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue