@@ -71,7 +71,8 @@
|
|||||||
<legend>View</legend>
|
<legend>View</legend>
|
||||||
<label>rotation</label>
|
<label>rotation</label>
|
||||||
<input id="rotation" type="range" min="-3.141592653589793" max="3.141592653589793" step="0.01"/>
|
<input id="rotation" type="range" min="-3.141592653589793" max="3.141592653589793" step="0.01"/>
|
||||||
</fieldset>
|
<label>resolution</label>
|
||||||
|
<input id="resolution" type="number" min="0" step="250"/>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -39,3 +39,6 @@ brightness.bindTo('value', layer, 'brightness');
|
|||||||
|
|
||||||
var rotation = new ol.dom.Input(document.getElementById('rotation'));
|
var rotation = new ol.dom.Input(document.getElementById('rotation'));
|
||||||
rotation.bindTo('value', map.getView(), 'rotation');
|
rotation.bindTo('value', map.getView(), 'rotation');
|
||||||
|
|
||||||
|
var resolution = new ol.dom.Input(document.getElementById('resolution'));
|
||||||
|
resolution.bindTo('value', map.getView(), 'resolution');
|
||||||
|
|||||||
@@ -12,6 +12,9 @@
|
|||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
text-shadow: 2px 2px 3px #013;
|
text-shadow: 2px 2px 3px #013;
|
||||||
}
|
}
|
||||||
|
.tooltip-inner {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<title>Geolocation example</title>
|
<title>Geolocation example</title>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user