TomSchimansky / TomSchimansky/TkinterMapView
set_overlay_tile_server creates empty views
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 743
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
Dear all, following the example codes, it appears that the overly of tiles is not working.
When calling set_overlay_tile_server the output map is empty.
The tile-server is confirmed, because replacing 'set_overlay_tile_server' in the code here below to 'set_tile_server' shows images, but without the underlying main map.
How could this be made work? - thanks
I reduced the code to the strictly necessary:
import tkinter
from tkintermapview import TkinterMapView
root_tk = tkinter.Tk()
map_widget = TkinterMapView(root_tk)
map_widget.pack(fill="both", expand=True)
map_widget.set_overlay_tile_server("http://tiles.openseamap.org/seamark//{z}/{x}/{y}.png")
map_widget.set_position(52.96595, 4.78467)
root_tk.mainloop()
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the minimal Tkinter example in the issue and compare set_overlay_tile_server with set_tile_server, using the stated tile URL. Trace the set_overlay_tile_server entry point and determine why the overlay produces an empty map; done means the tile overlay displays while the underlying main map remains visible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100