Update the View documentation & document breaking changes

This commit is contained in:
Olivier Guyot
2019-01-31 17:43:52 +01:00
parent 7835869582
commit c2af03f152
4 changed files with 95 additions and 62 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ shortdesc: Restrict pinch zooming to integer zoom levels.
docs: >
By default, the `ol/interaction/PinchZoom` can leave the map at fractional zoom levels.
If instead you want to constrain pinch zooming to integer zoom levels, set
<code>constrainResolution: true</code> when constructing the interaction.
<code>constrainResolution: true</code> when constructing the view.
tags: "pinch, zoom, interaction"
---
<div id="map" class="map"></div>