Example of setting a layer source after construction.
-
-
- Typically, the source for a layer is provided to the layer constructor.
- If you need to set a layer source after construction, this can be
- done with the layer.setSource() method.
-
-
- The layer in the map above is constructed with no source. Use the
- links below to set/unset the layer source. A layer is not rendered
- until its source is set.
-
-
-
-
-
-
-
-
+---
+template: "example.html"
+title: "Lazy Source"
+shortdesc: "Example of setting a layer source after construction."
+docs: >
+
Typically, the source for a layer is provided to the layer constructor.
+ If you need to set a layer source after construction, this can be
+ done with the layer.setSource() method.
+
The layer in the map above is constructed with no source. Use the
+ links below to set/unset the layer source. A layer is not rendered
+ until its source is set.
+tags: "source"
+---
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/examples_src/line-arrows.html b/examples_src/line-arrows.html
index 6338653387..8e5f65d47d 100644
--- a/examples_src/line-arrows.html
+++ b/examples_src/line-arrows.html
@@ -1,51 +1,13 @@
-
-
-
-
-
-
-
-
-
-
- LineString arrows example
-
-
-
-
-
-
-
-
-
-
-
+---
+template: "example.html"
+title: "LineString arrows example"
+shortdesc: "Example of drawing arrows for each line string segment."
+docs: >
+ Example of drawing arrows for each line string segment.
+tags: "draw, vector, arrow"
+---
+
-
-
-
-
-
-
-
+---
+template: "example.html"
+title: "Localized OpenStreetMap example"
+shortdesc: "Example of a localized OpenStreetMap map with a custom tile server and a custom attribution."
+docs: >
+
The base layer is OpenCycleMap with an overlay from OpenSeaMap. The OpenSeaMap tile server
+ does not support CORS headers.