-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create polygon with name #127
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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")
The text was updated successfully, but these errors were encountered: