Skip to content

Remove all interactions #629

Closed Answered by usefulthink
sebalaini asked this question in Q&A
Discussion options

You must be logged in to vote

I think using center and zoom instead of defaultCenter and defaultZoom should do the trick, if what you're after is to make sure the map doesn't move or zoom.

<Map center={center}
        zoom={zoom}
        disableDefaultUI={true} />

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by usefulthink
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
Category
Q&A
Labels
None yet
2 participants