Skip to content

How to mark as Read Only #507

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

You must be logged in to vote

you can set center and zoom to define the view and then add the controlled prop. That should disable all user-inputs. So

<Map center={...} zoom={...} controlled></Map>

But also checkout the Static Maps API, which is quite a bit cheaper and faster: https://developers.google.com/maps/documentation/maps-static/overview

Replies: 1 comment 1 reply

Comment options

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

Answer selected by textual
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