add a pinchZoom example demonstrating the old behavior with constrained zooms

This commit is contained in:
Axel Utech
2016-12-09 18:03:01 +01:00
parent 321b1f72ad
commit f5a27d2788
2 changed files with 35 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
---
layout: example.html
title: PinchZoom
shortdesc: A basic example for a pinch zoom with a restriction to integer zooms.
docs: >
<p>Use a pinch zoom gesture to zoom the map.
After the gesture the map will zoomed to the next whole-number zoom level with an animtation.</p>
tags: "pinch, zoom, interaction"
---
<div id="map" class="map"></div>