Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Blue-Killer87 authored Sep 14, 2023
1 parent c704554 commit c4738c6
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import os
os.system("py -m pip install boto3")

from kivy.base import runTouchApp
from kivy.lang import Builder

import plyer
if __name__ == '__main__' and __package__ is None:
from os import sys, path

Expand Down Expand Up @@ -57,13 +59,14 @@
Toolbar:
top: root.top
Button:
text: "Move to Lille, France"
on_release: mapview.center_on(50.6394, 3.057)
text: "Praha, Česká republika"
on_release: mapview.center_on(49.9, 14.4)
on_release:
Button:
text: "Move to Sydney, Autralia"
on_release: mapview.center_on(-33.867, 151.206)
text: "Vesnice"
on_release: mapview.center_on(49.1089, 16.6271)
Spinner:
text: "mapnik"
text: "Výběr Map"
values: MapSource.providers.keys()
on_text: mapview.map_source = self.text
Expand All @@ -74,5 +77,5 @@
text: "Latitude: {}".format(mapview.lat)
"""
)

runTouchApp(root)

0 comments on commit c4738c6

Please sign in to comment.