-
-
-
-
-
-
-
+---
+template: "example.html"
+title: "WKT example"
+shortdesc: "Example of using the WKT parser."
+docs: >
+ Create features from geometries in WKT (Well Known Text) format.
+tags: "wkt, well known text"
+---
+
-
-
-
-
-
-
-
+---
+template: "example.html"
+title: "WMS GetCapabilities parsing example"
+shortdesc: "Example of parsing a WMS GetCapabilities response."
+docs: >
+ This example shows the contents of the result object from parsing a WMS capabilities response.
+tags: "wms, capabilities, getcapabilities"
+---
+
-
-
-
-
-
-
-
+---
+template: "example.html"
+title: "Single image WMS example"
+shortdesc: "Example of a single image WMS layer."
+docs: >
+ WMS can be used as an Image layer, as shown here, or as a Tile layer, as shown in the [Tiled WMS example](wms-tiled.html) example. Tiles can be cached, so the browser will not re-fetch data for areas that were viewed already. But there may be problems with repeated labels for WMS servers that are not aware of tiles, in which case single image WMS will produce better cartography.
+tags: "wms, image"
+---
+
-
-
-
-
-
-
-
+---
+template: "example.html"
+title: "WMS without client projection example"
+shortdesc: "Example of two WMS layers using the projection EPSG:21781, which is unknown to the client."
+docs: >
+ As long as no coordinate transformations are required, OpenLayers 3 works fine with projections that are only configured with a `code` and `units`.
+tags: "wms, projection"
+---
+
+---
+template: "example.html"
+title: "Tiled WMS wrap 180° meridian example"
+shortdesc: "Example of a tiled WMS layer that wraps across the 180° meridian."
+docs: >
+ The `wrapX` option is set to `true` here so tiles will be wrapped around the x-axis.
+tags: "wms, tile, dateline, wrap, 180"
+---
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
Tiled WMS wrap 180° meridian example
-
Example of a tiled WMS layer that wraps across the 180° meridian.
-
-
-
-
-
-
-
+---
+template: "example.html"
+title: "Tiled WMS example"
+shortdesc: "Example of a tiled WMS layer."
+docs: >
+ WMS can be used as a Tile layer, as shown here, or as an Image layer, as shown in the [Single Image WMS example](wms-image.html) example. Tiles can be cached, so the browser will not re-fetch data for areas that were viewed already. But there may be problems with repeated labels for WMS servers that are not aware of tiles, in which case single image WMS will produce better cartography.
+tags: "wms, tile, tilelayer"
+---
+
-
-
-
-
-
-
-
+---
+template: "example.html"
+title: "WMTS GetCapabilities parsing example"
+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"
+---
+
-
-
-
-
-
-
-
+---
+template: "example.html"
+title: "WMTS HiDPI example"
+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"
+---
+
-
-
-
-
-
-
-
+---
+template: "example.html"
+title: "WMTS Layer from capabilities example"
+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.
+tags: "wmts, capabilities, getcapabilities"
+---
+
-
-
-
-
-
-
-
+---
+template: "example.html"
+title: "WMTS example"
+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"
+---
+