JustFly1984 / react-google-maps-api

React Google Maps API
MIT License
1.75k stars 421 forks source link

Use Map only as a display. Prevent all user inputs #3296

Closed risingwolf21 closed 9 months ago

risingwolf21 commented 9 months ago

Is it possible to disable all user inputs and options in the map? I just want to show a plain google map part with one marker in the middle of it. The user should not be able to zoom in/out, change the appearance type or move within the app. (On mobile with two fingers moving the map)

I can turn everything off except the moving part. Is there a mode or something to have the map as a readonly or view only?

erikzylstra commented 9 months ago

Check out the Google Maps Static API