react-native-web-maps
react-native-web-maps copied to clipboard
feat: Added streetViewControl prop to the MapView, this will help to …
With this update, we can now hide the "Drag To StreetView" button by using the streetViewControl prop and setting it to false. This will get rid of the button that usually appears at the right corner of the screen, giving users a cleaner map interface. I've also added the prop in the documentation. Thanks
Hey! Thanks for the contribution. I noticed that this is an option from the google lib. I think there is no need to add extra props and you can use the options
prop which go directly to the google maps options prop!
Hey! Thanks for the contribution. I noticed that this is an option from the google lib. I think there is no need to add extra props and you can use the
options
prop which go directly to the google maps options prop!
Yes, I this is an option, and can be supplied through options props, however when we provide option props to the MapView, we can't drag or move the map. That's why I added this as separate prop.