UNPKG

831 BHTMLView Raw
1---
2layout: example.html
3title: WMTS Tile Transitions
4shortdesc: Example of smooth tile transitions when changing the dimension of a WMTS layer.
5docs: >
6 Demonstrates smooth reloading of layers when changing a dimension continuously. 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.
7tags: "wmts, parameter, transition"
8---
9<div id="map" class="map"></div>
10<label>
11 Sea-level
12 <input id="slider" type="range" value="10" max="100" min="-1">
13</label>
14<span id="theinfo"></span>