Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[ios] add user interaction guide #7937

Merged
merged 11 commits into from
Feb 6, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[ios] removed whitespace
  • Loading branch information
jmkiley committed Feb 3, 2017
commit 1ae2dde39ae9e71cce119cde8a95aefdb4ad34c9
2 changes: 0 additions & 2 deletions platform/ios/docs/guides/UserInteractions.md
Original file line number Diff line number Diff line change
@@ -42,8 +42,6 @@ for recognizer in gestureRecognizers where recognizer is UITapGestureRecognizer
}
mapView.addGestureRecognizer(singleTapGestureRecognizer)`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delimit code blocks with three backticks, not one. Additionally, this code block duplicates the example code in MGLMapView. Unlike this guide, that example code is subject to unit tests. Remove this duplication and refer the developer to the MGLMapView documentation.




If you would like to disable a specific set of gesture recognizers, such as zoom, you can set the Boolean value for the appropriate property to `false`. You can then add your own gesture recognizers to perform those actions.

With [runtime styling](runtime-styling.html), you can also use user interactions to style the map!
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an unusual sentence to end the guide with. Runtime styling isn’t closely related to gestures, so let’s leave it out.