Use module paths in example docs

This commit is contained in:
Tim Schaub
2018-05-07 15:33:14 -06:00
parent 6d09ab122a
commit ae55814875
34 changed files with 42 additions and 42 deletions
+2 -2
View File
@@ -3,12 +3,12 @@ layout: example.html
title: Mousewheel/Trackpad Zoom
shortdesc: Shows advanced wheel/trackpad zoom options.
docs: >
This example uses a custom `ol.interaction.MouseWheelZoom` configuration:
This example uses a custom `ol/interaction/MouseWheelZoom` configuration:
* By default, wheel/trackpad zoom is always active, which can be unexpected
on pages with a lot of scrollable content and an embedded map. To perform
wheel/trackpad zoom actions only when the map has the focus, set
`condition: ol.events.condition.focus` as constructor option. This requires
`condition: focus` as constructor option. This requires
a map div with a `tabindex` attribute set.
* By default, the interaction can leave the map at fractional zoom levels. If
instead you want to constrain wheel/trackpad zooming to integer zoom