From 943cac755b9edb18060af3ebdbef3aba7dafbc51 Mon Sep 17 00:00:00 2001 From: Bart van den Eijnden Date: Thu, 2 Apr 2015 11:27:24 +0200 Subject: [PATCH] Port over the animation, arcgis-tiled and attributions examples --- examples_src/animation.html | 92 ++++++++++------------------------ examples_src/arcgis-tiled.html | 67 ++++++------------------- examples_src/attributions.html | 66 ++++++------------------ 3 files changed, 58 insertions(+), 167 deletions(-) diff --git a/examples_src/animation.html b/examples_src/animation.html index d072983e10..aebcde69d6 100644 --- a/examples_src/animation.html +++ b/examples_src/animation.html @@ -1,65 +1,27 @@ - - - - - - - - - - - Animation example - - - - - -
- -
-
-
-
-
- -
-
- - - - - - - - - -
-
- -
- -
-

Animation example

-

Demonstrates animated pan, zoom, and rotation.

-
-

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

-
-
animation
-
- -
- -
- - - - - - - +--- +template: "example.html" +title: "Animation example" +shortdesc: "Demonstrates animated pan, zoom, and rotation." +docs: > + This example shows how to use the beforeRender function on the Map to run one + or more animations. +tags: "animation" +--- +
+
+
+
+
+
+
+ + + + + + + + + +
+
diff --git a/examples_src/arcgis-tiled.html b/examples_src/arcgis-tiled.html index d922b78ca3..0cf5c660cd 100644 --- a/examples_src/arcgis-tiled.html +++ b/examples_src/arcgis-tiled.html @@ -1,51 +1,16 @@ - - - - - - - - - - - Tiled ArcGIS MapServer example - - - - - -
- -
-
-
-
-
- -
- -
-

Tiled ArcGIS MapServer example

-

Example of a tiled ArcGIS layer.

-
-

See the arcgis-tiled.js source to see how this is done.

-
-
arcgis, tile, tilelayer
-
- -
- -
- - - - - - - +--- +template: "example.html" +title: "Tiled ArcGIS MapServer example" +shortdesc: "Example of a tiled ArcGIS layer." +docs: > + This example shows how to use an ArcGIS REST MapService as tiles. + This source type supports Map and Image Services. For cached ArcGIS + services, better performance is available by using + ol.source.XYZ instead. +tags: arcgis, tile, tilelayer" +--- +
+
+
+
+
diff --git a/examples_src/attributions.html b/examples_src/attributions.html index 1ab192dce4..d268129d88 100644 --- a/examples_src/attributions.html +++ b/examples_src/attributions.html @@ -1,51 +1,15 @@ - - - - - - - - - - - Attributions example - - - - - -
- -
-
-
-
-
- -
- -
-

Attributions example

-

Example of a attributions visibily change on map resize, to collapse them on small maps.

-
-

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

-
-
attributions, openstreetmap
-
- -
- -
- - - - - - - +--- +template: "example.html" +title: "Attributions example" +shortdesc: "Example of a attributions visibily change on map resize, to collapse them on small maps." +docs: > + When the map gets too small because of a resize, the attribution will be collapsed. + This is because the collapsible option is set to true if the width + of the map gets smaller than 600 pixels. +tags: "attributions, openstreetmap" +--- +
+
+
+
+