diff --git a/examples_src/lazy-source.css b/examples_src/lazy-source.css new file mode 100644 index 0000000000..1803215980 --- /dev/null +++ b/examples_src/lazy-source.css @@ -0,0 +1,6 @@ + button.code { + font-family: Monaco,Menlo,Consolas,"Courier New",monospace; + font-size: 12px; + padding: 5px; + margin: 0 5px; + } \ No newline at end of file diff --git a/examples_src/lazy-source.html b/examples_src/lazy-source.html index ce57a051d5..f8e80b744d 100644 --- a/examples_src/lazy-source.html +++ b/examples_src/lazy-source.html @@ -1,73 +1,20 @@ - - - - - - - - - - - Lazy Source - - - - - - -
- -
-
-
-
-
- -
- -
-

Lazy source example

-

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. -

-

- - -

-

See the lazy-source.js source for details on how this is done.

-
-
source
-
- -
- -
- - - - - - - +--- +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 - - - - - -
- -
-
-
-
-
- -
- -
-

LineString arrows example

-

Example of drawing arrows for each line string segment.

-
-

See the line-arrows.js source to see how this is done.

-
-
draw, vector, arrow
-
- -
- -
- - - - - - - +--- +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" +--- +
+
+
+
+
diff --git a/examples_src/localized-openstreetmap.html b/examples_src/localized-openstreetmap.html index aeecd23e99..9f2ba9145e 100644 --- a/examples_src/localized-openstreetmap.html +++ b/examples_src/localized-openstreetmap.html @@ -1,52 +1,14 @@ - - - - - - - - - - - Localized OpenStreetMap example - - - - - -
- -
-
-
-
-
- -
- -
-

Localized OpenStreetMap example

-

Example of a localized OpenStreetMap map with a custom tile server and a custom attribution.

-
-

The base layer is OpenCycleMap with an overlay from OpenSeaMap. The OpenSeaMap tile server does not support CORS headers.

-

See the localized-openstreetmap.js source to see how this is done.

-
-
cors, localized-openstreetmap, openseamap, openstreetmap
-
- -
- -
- - - - - - - +--- +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.

+tags: "cors, localized-openstreetmap, openseamap, openstreetmap" +--- +
+
+
+
+
diff --git a/examples_src/mapguide-untiled.html b/examples_src/mapguide-untiled.html index 3a3af560aa..31a2d5d810 100644 --- a/examples_src/mapguide-untiled.html +++ b/examples_src/mapguide-untiled.html @@ -1,51 +1,13 @@ - - - - - - - - - - - MapGuide untiled example - - - - - -
- -
-
-
-
-
- -
- -
-

MapGuide untiled example

-

Example of a untiled MapGuide map.

-
-

See the mapguide-untiled.js source to see how this is done.

-
-
mapguide
-
- -
- -
- - - - - - - +--- +template: "example.html" +title: "MapGuide untiled example" +shortdesc: "Example of a untiled MapGuide map." +docs: > + Example of a untiled MapGuide map. +tags: "mapguide" +--- +
+
+
+
+
diff --git a/examples_src/mapquest.html b/examples_src/mapquest.html index c9ef06a26f..fad64c1621 100644 --- a/examples_src/mapquest.html +++ b/examples_src/mapquest.html @@ -1,56 +1,18 @@ - - - - - - - - - - - MapQuest example - - - - - -
- -
-
-
- -
-
- -
- -
-

MapQuest example

-

Example of a MapQuest map.

-
-

See the mapquest.js source to see how this is done.

-
-
mapquest
-
- -
- -
- - - - - - - +--- +template: "example.html" +title: "MapQuest example" +shortdesc: "Example of a MapQuest map.Shows how to create custom controls." +docs: > + Example of a MapQuest map. +tags: "mapquest" +--- +
+
+
+ +
+
\ No newline at end of file