Skip to content

Moustikitos/tkinter-map

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.MapModel.load("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

Releases

No releases published

Packages

No packages published

Languages