Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added streetViewControl prop to the MapView, this will help to … #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anwersolangi
Copy link

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

@teovillanueva
Copy link
Owner

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!

@anwersolangi
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants