I’m working on a python code that display the position of a train on a map in real time.
In order to do so I use tkinter and tkintermapview, I can display the map, the icon, different overlay no problem.
The issue is that I can’t figure out how to adjust the size of the images and overlay to the zoom
I surched for how to get the zoom value in order to link it to the image size, so I tried to read some documentation, asked chatGPT and it keep giving me false info like use map_widget.get_zoom()
wich is not a thing : “AttributeError: ‘TkinterMapView’ object has no attribute ‘get_zoom'”
Maxime Asnar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.