Skip to main content

Tkmap widget

Efficient web map canvas for tkinter.

pypi

Support this project

Liberapay receiving Paypal me

Install

Version 0.1

python -m pip install tkinter-map

Developpment version

python -m pip install git+https://github.com/Moustikitos/tkinter-map.git@master

Requirement

If you plan to use Tkmap widget with map providers sending JPEG-based tiles, it is recommended to install the tcl package tkimg. Binaries can be extracted in .tcl directory at the root of tkmap package (ie the one containing the __init__.py module).

Use

>>> from tkmap import widget, model
>>> canvas = widget.Tkmap()
>>> canvas.pack(fill="both", expand=True)
>>> canvas.open(model.OpenStreetMap(), zoom=10, location=(48.645272, 1.841411))

Tkmap widget

Features

  • Tile set:
    • Google map
    • Google satellite
    • Open Street map
    • Mapbox satellite
  • Custom map
  • Zoom, pan and fast pan mouse action
  • Latitude longitude pixel location
  • Tile caching

Ongoing work

  • Location format and projection

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tkinter-map-0.1.2.tar.gz (12.4 kB view details)

Uploaded Source

File details

Details for the file tkinter-map-0.1.2.tar.gz.

File metadata

  • Download URL: tkinter-map-0.1.2.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.7

File hashes

Hashes for tkinter-map-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f1f27862d99c3be4462b597a326f8da27242f779bbf32688bf883d7678c207c9
MD5 5911f9c6bfc8afe43b441f5a9efee7e1
BLAKE2b-256 0e6957e5a2d877b124e05a7695b77544ded4b86b26b99ab94d34cc5617f27b0c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 file

0.1.1

1 file

0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page