TomSchimansky / TomSchimansky/TkinterMapView
Differentiating clicking on marker vs clicking on map
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 743
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
Hiya,
Thank you for the work you have done to produce these map functions.
I am encountering an issue where at times, clicking on a marker triggers the map_widget.add_left_click_map_command() event.
Ultimately I would like to be able to achieve clicking on a marker to select it, then clicking on an empty map space to deselect it.
On first selection it works as intended, but each subsequent click on a marker then triggers the "deselection" which in turn removes the selection.
As an example;
Click on a marker, it shows the paths from 1 marker to the next. Then clicking an empty space clears the drawn paths.
Hope that is making sense.
Thanks,
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
Reproduce the marker-selection and empty-map deselection sequence, then trace marker click handling alongside map_widget.add_left_click_map_command(). Done means marker clicks select without invoking map deselection, while empty-map clicks still clear the selection and drawn paths.
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