Commit Graph
3 Commits
Author SHA1 Message Date
Axel Utech 61ac0c47ed add an upgrade note about the new pinchZoom behavior 2016-12-09 18:03:20 +01:00
Axel Utech f5a27d2788 add a pinchZoom example demonstrating the old behavior with constrained zooms 2016-12-09 18:03:01 +01:00
Axel Utech 321b1f72ad add an option to make the pinchZoom constrain zoom levels to integers
Changes the default behavior of ol.interaction.PinchZoom to keep
the fractional zoom level after the gesture.
The old behavior of zooming to the next whole-number level can be
enforced with the new parameter `constrainResolution`.
2016-12-09 18:02:36 +01:00