Efficient web map canvas for tkinter.
python -m pip install tkinter-map
python -m pip install git+https://github.com/Moustikitos/tkinter-map.git@master
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).
>>> 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))
- 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
- Location format and projection