Convert WMTS examples to strapless template

This commit is contained in:
Tim Schaub
2015-11-17 10:02:10 -07:00
parent a94a00de1d
commit c463321643
10 changed files with 40 additions and 65 deletions
+8 -12
View File
@@ -1,18 +1,14 @@
---
layout: example.html
title: Smooth WMTS tile transition example
layout: strapless.html
title: WMTS Tile Transitions
shortdesc: Example of smooth tile transitions when changing the dimension of a WMTS layer.
docs: >
Demonstrates smooth reloading of layers when changing a dimension continously. The demonstration layer is a global sea-level computation (flooding computation from <a href="http://scalgo.com">SCALGO</a>, underlying data from <a href="http://www.cgiar-csi.org/data/srtm-90m-digital-elevation-database-v4-1">CGIAR-CSI SRTM</a>) where cells that are flooded if the sea-level rises to more than <em>x</em> m are colored blue. The user selects the sea-level dimension using a slider.
tags: "wmts, parameter, transition"
---
<div class="row-fluid">
<div class="span6">
<div id="map" class="map"></div>
</div>
<div class="span6 offset3">
Sea-level:
<input id="slider" type="range" value="10" step="0.25" max="100" min="-1" />
<span id="theinfo"></span>
</div>
</div>
<div id="map" class="map"></div>
<label>
Sea-level
<input id="slider" type="range" value="10" max="100" min="-1">
</label>
<span id="theinfo"></span>