Skip to content

How to close the custom action button? #1129

Discussion options

You must be logged in to vote

Ok, I found a solution:

map.pm.Toolbar.buttons['myButtonName']._triggerClick();

Don't' know if it is the cleanest or the recommended way, but it works.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by tallano
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants