Skip to content

Disable/enable Map interaction #2145

Answered by Pessimistress
zacBkh asked this question in Q&A
Discussion options

You must be logged in to vote

See documentation about interactive:

Props in this section are not reactive. They are only used once when the Map instance is constructed.

This is because the underlying Map class does not offer any API for these options to be changed.

You can turn off the input handlers to disable interaction.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zacBkh
Comment options

Answer selected by zacBkh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants