add: mapview datasource implementation

This commit is contained in:
Toolf
2024-02-26 15:16:47 +02:00
parent 3a4fa51aa9
commit 0c5954f96c
4 changed files with 104 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
import asyncio
from kivy.app import App
from kivy_garden.mapview import MapMarker, MapView
from kivy.clock import Clock
@@ -53,4 +54,6 @@ class MapViewApp(App):
if __name__ == "__main__":
MapViewApp().run()
loop = asyncio.get_event_loop()
loop.run_until_complete(MapViewApp().async_run(async_lib="asyncio"))
loop.close()