set zoom 17

This commit is contained in:
Daniel afx 2020-10-15 23:43:07 +03:00
parent c009d272ba
commit 7f9fb5e3be
2 changed files with 5 additions and 2 deletions

View file

@ -6,12 +6,12 @@
<ForestMapView>:
lat: 42.131331
lon: 24.747571
zoom: 18
zoom: 17
snap_to_zoom: False
on_zoom:
#self.zoom = 10 if self.zoom < 10 else self.zoom
#self.print_current_zoom(self.zoom)
self.zoom = 18
self.zoom = 17
on_lat:
self.start_get_fov_trees()
on_lon:

View file

@ -8,6 +8,9 @@ class ForestMapView(MapView):
get_trees_timer = None
tree_names = []
#def on_zoom(self, *args):
# self.zoom = 10
def print_current_zoom(self, *args):
print("] Zoom level: " + str(self.zoom))