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

Expose pitchEnabled property #407

Merged
merged 3 commits into from
Aug 29, 2016

Conversation

benvium
Copy link
Contributor

@benvium benvium commented Aug 23, 2016

By default the user can drag with two fingers (iOS) or three fingers (Android) to adjust the tilt of the map. This PR adds the ability to turn that off.

Added to iOS and Android, and also added to the docs.

NOTE: also fixes a small issue where on iOS scrollEnabled and zoomEnabled couldn't be changed at run-time. Developer forgot to assign the new values in the setters.

Example:

 <MapView
      ...
      pitchEnabled={false}
      ...
      />

@bsudekum
Copy link

Looks good, thanks!

@bsudekum bsudekum merged commit 3ee56f5 into nitaliano:master Aug 29, 2016
@benvium benvium deleted the expose_pitchEnabled_property branch October 4, 2016 10:27
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