Cosmetic clean-ups
This commit is contained in:
+13
-9
@@ -30,16 +30,20 @@
|
|||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span12">
|
<div class="span12">
|
||||||
<div id="map" class="map"></div>
|
<div id="map" class="map"></div>
|
||||||
<button id="rotate-left"><i class="icon-arrow-left"></i></button>
|
|
||||||
<button>Rotate</button>
|
|
||||||
<button id="rotate-right"><i class="icon-arrow-right"></i></button>
|
|
||||||
</div>
|
</div>
|
||||||
<button id="pan-to-london">Pan to London</button>
|
</div>
|
||||||
<button id="elastic-to-moscow">Elastic to Moscow</button>
|
|
||||||
<button id="bounce-to-istanbul">Bounce to Istanbul</button>
|
<div class="row-fluid">
|
||||||
<button id="spin-to-rome">Spin to Rome</button>
|
<div class="span12">
|
||||||
<button id="fly-to-bern">Fly to Bern</button>
|
<button id="rotate-left"><i class="icon-arrow-left"></i></button>
|
||||||
<button id="spiral-to-madrid">Spiral to Madrid</button>
|
<button id="rotate-right"><i class="icon-arrow-right"></i></button>
|
||||||
|
<button id="pan-to-london">Pan to London</button>
|
||||||
|
<button id="elastic-to-moscow">Elastic to Moscow</button>
|
||||||
|
<button id="bounce-to-istanbul">Bounce to Istanbul</button>
|
||||||
|
<button id="spin-to-rome">Spin to Rome</button>
|
||||||
|
<button id="fly-to-bern">Fly to Bern</button>
|
||||||
|
<button id="spiral-to-madrid">Spiral to Madrid</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
|
|||||||
@@ -39,7 +39,6 @@ var map = new ol.Map({
|
|||||||
view: view
|
view: view
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
var rotateLeft = document.getElementById('rotate-left');
|
var rotateLeft = document.getElementById('rotate-left');
|
||||||
rotateLeft.addEventListener('click', function() {
|
rotateLeft.addEventListener('click', function() {
|
||||||
var rotateLeft = ol.animation.rotate({
|
var rotateLeft = ol.animation.rotate({
|
||||||
|
|||||||
Reference in New Issue
Block a user