Dash as word separators in URLs for consistency

This commit is contained in:
Tim Schaub
2016-12-09 10:24:55 -07:00
parent 4ff87a0eef
commit 8d5042c1b1
2 changed files with 0 additions and 0 deletions

25
examples/pinch-zoom.js Normal file
View File

@@ -0,0 +1,25 @@
goog.require('ol.Map');
goog.require('ol.View');
goog.require('ol.interaction');
goog.require('ol.interaction.PinchZoom');
goog.require('ol.layer.Tile');
goog.require('ol.source.OSM');
var map = new ol.Map({
interactions: ol.interaction.defaults({pinchZoom: false}).extend([
new ol.interaction.PinchZoom({
constrainResolution: true // force zooming to a integer zoom
})
]),
layers: [
new ol.layer.Tile({
source: new ol.source.OSM()
})
],
target: 'map',
view: new ol.View({
center: [0, 0],
zoom: 2
})
});