Skip to content

Commit

Permalink
Add scrollEnabled & zoomEnabled documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
designbymind authored Apr 7, 2018
1 parent e8d3260 commit ae00356
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions apidoc/View.yml
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,15 @@ properties:
type: Boolean
since: "3.2.0"
platforms: [iphone, ipad]

- name: scrollEnabled
summary: A Boolean value indicating whether the map can be scrolled by dragging gesture.
description: |
When this property is set to `true` the a map view can be panned or scrolled by dragging the map view.
type: Boolean
default: true
since: "7.1.0"
platforms: [iphone, ipad]

- name: showsBuildings
summary: A Boolean indicating whether the map displays extruded building information.
Expand Down Expand Up @@ -785,6 +794,17 @@ properties:
since: "6.1.0"
platforms: [android]

- name: zoomEnabled
summary: A Boolean value indicating whether the map can be zoomed by pinching or tapping.
description: |
When this property is set to `true` the a map view can be zoomed by pinching inwards to zoom out
and reverse to zoom in. Zooming in can also be accoplished by double-tapping the map view. Zooming
out can also be accomplished by two-finger tapping the map view.
type: Boolean
default: true
since: "7.1.0"
platforms: [iphone, ipad]

---
name: MapRegionTypev2
summary: Simple object representing a map location and zoom level.
Expand Down

0 comments on commit ae00356

Please sign in to comment.