The goal of this widget is to be a replacement of Google Maps widget, even if this one works very well, it just works on Android with Kivy. I wanted a map widget that can support custom map, and designed with the latests state-of-the-art Kivy's methods.
- native multitouch (one for translate, many for translate and zoom)
- asynchronous downloading
- avoided GPU limitation / float precisions issues on tiles coordinates
- marker support
- blazing fast!
- supports Z/X/Y providers by default with
- supports .mbtiles via
- supports marker clustering, via
It requires the
If you use it on Android / iOS, don't forget to add
openssl as a requirements,
otherwise you'll have an issue when importing
pip install mapview
This widget can be either used within Python or Kv. That's said, not everything can be done in Kv, to prevent too much computing.
from kivy_garden.mapview import MapView from kivy.app import App class MapViewApp(App): def build(self): mapview = MapView(zoom=11, lat=50.6394, lon=3.057) return mapview MapViewApp().run()
Find out more:
Check out our contribution guide and feel free to improve the flower.
This software is released under the terms of the MIT License. Please see the LICENSE.txt file.
How to release
See the garden instructions for how to make a new release.