Add a resolution input

This commit is contained in:
Frederic Junod
2013-05-22 16:13:17 +02:00
parent fc12370765
commit 2991c4ab57
2 changed files with 5 additions and 0 deletions

View File

@@ -39,3 +39,6 @@ brightness.bindTo('value', layer, 'brightness');
var rotation = new ol.dom.Input(document.getElementById('rotation'));
rotation.bindTo('value', map.getView(), 'rotation');
var resolution = new ol.dom.Input(document.getElementById('resolution'));
resolution.bindTo('value', map.getView(), 'resolution');