-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert WMTS examples to strapless template
- Loading branch information
Showing
10 changed files
with
40 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
--- | ||
layout: example.html | ||
title: WMTS GetCapabilities parsing example | ||
layout: strapless.html | ||
title: WMTS Capabilities Parsing | ||
shortdesc: Example of parsing a WMTS GetCapabilities response. | ||
docs: > | ||
This example shows the contents of the result object from parsing a WMTS capabilities response. | ||
tags: "wmts, capabilities, getcapabilities" | ||
--- | ||
<div class="row-fluid"> | ||
<div class="span12"> | ||
<pre class="log-container"><code id="log"></code></pre> | ||
</div> | ||
</div> | ||
<pre class="log-container"><code id="log"></code></pre> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
--- | ||
layout: example.html | ||
title: WMTS HiDPI example | ||
layout: strapless.html | ||
title: High DPI WMTS | ||
shortdesc: Example of a WMTS based HiDPI layer. | ||
docs: > | ||
The WMTS source has a `tilePixelRatio` option. A HiDPI capable WMTS could provide tiles with 512x512 pixel tiles, but use them in a 256x256 pixel tile grid. In this case `tilePixelRatio` needs to be set to `2`. | ||
tags: "hidpi, retina, wmts" | ||
--- | ||
<div class="row-fluid"> | ||
<div class="span12"> | ||
<div id="map" class="map"></div> | ||
</div> | ||
</div> | ||
<div id="map" class="map"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
--- | ||
layout: example.html | ||
title: WMTS Layer from capabilities example | ||
layout: strapless.html | ||
title: WMTS Layer from Capabilities | ||
shortdesc: Example of a WMTS source created from a WMTS capabilities document. | ||
docs: > | ||
This example shows how to create the configuration for accessing a WMTS from a GetCapabilities response.. The [WMTS example](wmts.html) shows how to create the configuration manually. | ||
This example shows how to create the configuration for accessing a WMTS from a GetCapabilities response. The [WMTS example](wmts.html) shows how to create the configuration manually. | ||
tags: "wmts, capabilities, getcapabilities" | ||
--- | ||
<div class="row-fluid"> | ||
<div class="span12"> | ||
<div id="map" class="map"></div> | ||
</div> | ||
</div> | ||
<div id="map" class="map"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,9 @@ | ||
--- | ||
layout: example.html | ||
title: WMTS example | ||
layout: strapless.html | ||
title: WMTS | ||
shortdesc: Example of a WMTS source. | ||
docs: > | ||
This example shows how to manually create the configuration for accessing a WMTS. The [WMTS Layer from capabilities example](wmts-layer-from-capabilities.html) shows how to create the configuration from a GetCapabilities response. | ||
tags: "wmts" | ||
--- | ||
<div class="row-fluid"> | ||
<div class="span12"> | ||
<div id="map" class="map"></div> | ||
</div> | ||
</div> | ||
<div id="map" class="map"></div> |