Skip to main content

Mapview

Github Build Status Build Status Coverage Status PyPI version

Mapview is a Kivy widget for displaying interactive maps. It has been designed with lot of inspirations of Libchamplain and Leaflet.

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.

ScreenShot

Marker clustering

Features

  • 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 MapSource
  • supports .mbtiles via MBTilesMapSource
  • supports marker clustering, via ClusteredMarkerLayer

Requirements

It requires the concurrent.futures and requests. If you use it on Android / iOS, don't forget to add openssl as a requirements, otherwise you'll have an issue when importing urllib3 from requests.

Install

pip install mapview

Usage

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:

Contributing

Check out our contribution guide and feel free to improve the flower.

License

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.

Release files for mapview 1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mapview 1.0.6
File Size Uploaded
mapview-1.0.6.tar.gz 29.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mapview 1.0.6
File Interpreter ABI Platform
mapview-1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 62.2 kB

Release files / mapview-1.0.6.tar.gz

Download URL mapview-1.0.6.tar.gz
Size 29.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ed70826d7fc49ec51108bfc1b842f7a89c732c262b52d64db6b7dc0f609b0811
BLAKE2b-256 checksum
How to use checksums
00eefa78028747c7c59be362d652202230ece6d920f444c3b3241a90f66a594f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.7.13

Release files / mapview-1.0.6-py3-none-any.whl

Download URL mapview-1.0.6-py3-none-any.whl
Size 32.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6fea7842c48ce8f94687494205bf0383fac8b371b25586abcb67c1c9806f778b
BLAKE2b-256 checksum
How to use checksums
d55bec4e2930c6e583c1db833665936de68313dfd3bce586f8f6ee348ab31da9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.7.13

Release history Release notifications | RSS feed

This release

1.0.6 This release

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page