Skip to content

Display a non-interactive map interactive=false #1162

Answered by ferdicus
shay-te asked this question in Q&A
Discussion options

You must be logged in to vote

Unfortunately there isn't a one stop solution for this atm (PRs welcome), so atm you would have to initialize a MapView and set these to false.

zoomEnabled | bool | none | false | Enable/Disable zoom on the map
scrollEnabled | bool | true | false | Enable/Disable scroll on the map
pitchEnabled | bool | true | false | Enable/Disable pitch on map
rotateEnabled | bool | true | false | Enable/Disable rotation on map

That should do the trick

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@shay-te
Comment options

@Florian-crg
Comment options

@a-tokyo
Comment options

Answer selected by ferdicus
Comment options

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

Comment options

You must be logged in to vote
0 replies
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
5 participants