diff --git a/examples/bind-input.html b/examples/bind-input.html index 5d92ad2e6f..76df0c771e 100644 --- a/examples/bind-input.html +++ b/examples/bind-input.html @@ -71,7 +71,8 @@ View - + + diff --git a/examples/bind-input.js b/examples/bind-input.js index 2c0fa943ff..586773a04b 100644 --- a/examples/bind-input.js +++ b/examples/bind-input.js @@ -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'); diff --git a/examples/geolocation.html b/examples/geolocation.html index 09e4243a16..65e32a4e7b 100644 --- a/examples/geolocation.html +++ b/examples/geolocation.html @@ -12,6 +12,9 @@ font-size: 22px; text-shadow: 2px 2px 3px #013; } + .tooltip-inner { + white-space: nowrap; + } Geolocation example