set zoom 17
This commit is contained in:
parent
c009d272ba
commit
7f9fb5e3be
2 changed files with 5 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -7,6 +7,9 @@ from treemarker import TreeMarker
|
|||
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))
|
||||
|
|
Loading…
Reference in a new issue