Use module paths in example docs
This commit is contained in:
@@ -3,7 +3,7 @@ layout: example.html
|
||||
title: Pinch Zoom
|
||||
shortdesc: Restrict pinch zooming to integer zoom levels.
|
||||
docs: >
|
||||
By default, the `ol.interaction.PinchZoom` can leave the map at fractional zoom levels.
|
||||
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.
|
||||
tags: "pinch, zoom, interaction"
|
||||
|
||||
Reference in New Issue
Block a user