TomSchimansky / TomSchimansky/TkinterMapView
create polygon with name
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 743
- Forks
- 110
- PR merge metrics
- No merged PRs in 30d
Description
When I try creating a polygon with a name, such as : self.map_widget.set_polygon([coordinates_tuple], name="Test")
I get an error that set_polygon only expects 1 argument.
This is from the Readme:
polygon_1 = map_widget.set_polygon([(46.0732306, 6.0095215),
...
(46.3772542, 6.4160156)],
# fill_color=None,
# outline_color="red",
# border_width=12,
command=polygon_click,
name="switzerland_polygon")
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 by locating the set_polygon implementation and compare its accepted arguments with the README example shown in this issue. Confirm that creating a polygon with coordinates, command, and name works as documented, and update the relevant behavior or example so the two agree.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100