From e0a3f8ca073182ff18b87c3860d97a83648cc3db Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Wed, 26 Jun 2013 10:22:56 -0600 Subject: [PATCH 1/2] Removing markup from shortdesc element (see #827) The text in `shortdesc` is shown on the example index page. It shouldn't have any markup in it. --- examples/drag-rotate-and-zoom.html | 3 ++- examples/full-screen-drag-rotate-and-zoom.html | 5 +++-- examples/full-screen.html | 5 +++-- examples/overlay.html | 5 +++-- examples/preload.html | 3 ++- examples/rotation.html | 3 ++- 6 files changed, 15 insertions(+), 9 deletions(-) diff --git a/examples/drag-rotate-and-zoom.html b/examples/drag-rotate-and-zoom.html index c965216399..8332c9aebf 100644 --- a/examples/drag-rotate-and-zoom.html +++ b/examples/drag-rotate-and-zoom.html @@ -37,8 +37,9 @@

Drag rotate and zoom example

-

Shift + Drag to rotate and zoom the map around its center.

+

A single interaction to drag, rotate, and zoom.

+

Shift + Drag to rotate and zoom the map around its center.

See the drag-rotate-and-zoom.js source to see how this is done.

drag, rotate, zoom, interaction
diff --git a/examples/full-screen-drag-rotate-and-zoom.html b/examples/full-screen-drag-rotate-and-zoom.html index 362e53155b..26e090a540 100644 --- a/examples/full-screen-drag-rotate-and-zoom.html +++ b/examples/full-screen-drag-rotate-and-zoom.html @@ -48,9 +48,10 @@

Full screen drag rotate and zoom example

-

Example of drag rotate and zoom control with full screen effect. Hold down Shift + drag to rotate and zoom. Click the button in the top right corner to go full screen. Then do the Shift + drag thing again.

-

If there is no button on the map, your browser does not support the Full Screen API.

+

Example of drag rotate and zoom control with full screen effect.

+

Hold down Shift + drag to rotate and zoom. Click the button in the top right corner to go full screen. Then do the Shift + drag thing again.

+

If there is no button on the map, your browser does not support the Full Screen API.

See the full-screen-drag-rotate-and-zoom.js source to see how this is done.

full-screen, drag, rotate, zoom, bing, bing-maps
diff --git a/examples/full-screen.html b/examples/full-screen.html index 3e642b630c..4d91bfc765 100644 --- a/examples/full-screen.html +++ b/examples/full-screen.html @@ -48,9 +48,10 @@

Full screen control example

-

Example of a full screen control. Click the control in the top right corner to go full screen. Click it again to exit full screen.

-

If there is no button on the map, your browser does not support the Full Screen API.

+

Example of a full screen control.

+

Click the control in the top right corner to go full screen. Click it again to exit full screen.

+

If there is no button on the map, your browser does not support the Full Screen API.

See the full-screen.js source to see how this is done.

full-screen, bing, bing-maps
diff --git a/examples/overlay.html b/examples/overlay.html index c37081790d..8b296c6bfa 100644 --- a/examples/overlay.html +++ b/examples/overlay.html @@ -49,9 +49,10 @@

Overlay example

-

Demonstrates overlays. The popups are created using - Popovers from Bootstrap.

+

Demonstrates overlays.

+

The popups are created using + Popovers from Bootstrap.

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

overlay, popup, bootstrap, popover, mapquest, openaerial
diff --git a/examples/preload.html b/examples/preload.html index 399c3c1ab9..c2e3e9c015 100644 --- a/examples/preload.html +++ b/examples/preload.html @@ -40,8 +40,9 @@

Preload example

-

Example of tile preloading. Low resolution tiles for the map are preloaded, the map on the right does not use any preloading. Try zooming out and panning to see the difference.

+

Example of tile preloading.

+

Low resolution tiles for the map are preloaded, the map on the right does not use any preloading. Try zooming out and panning to see the difference.

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

preload, bing
diff --git a/examples/rotation.html b/examples/rotation.html index a0160805b4..038b71ca8a 100644 --- a/examples/rotation.html +++ b/examples/rotation.html @@ -37,8 +37,9 @@

Rotation example

-

Example of a rotated map. Use Alt+Shift+drag to rotate the map.

+

Example of a rotated map.

+

Use Alt+Shift+drag to rotate the map.

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

rotation, openstreetmap
From 0958674765816471dbae74f1f05ff6769f42496e Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Wed, 26 Jun 2013 10:57:36 -0600 Subject: [PATCH 2/2] Shortdesc edits --- examples/animation.html | 2 +- examples/bind-input.html | 2 +- examples/canvas-tiles.html | 3 ++- examples/wms-single-image-custom-proj.html | 3 ++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/examples/animation.html b/examples/animation.html index 352d8afa9d..ef3e24484e 100644 --- a/examples/animation.html +++ b/examples/animation.html @@ -50,7 +50,7 @@

Animation example

-

Example animations.

+

Demonstrates animated pan, zoom, and rotation.

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

diff --git a/examples/bind-input.html b/examples/bind-input.html index 76df0c771e..fa24f29005 100644 --- a/examples/bind-input.html +++ b/examples/bind-input.html @@ -37,7 +37,7 @@

Bind HTML input example

-

Bind an HTML input to an ol object.

+

Demonstrates two-way binding of HTML input elements to OpenLayers objects.

See the bind-input.js source to see how this is done.

diff --git a/examples/canvas-tiles.html b/examples/canvas-tiles.html index bd9290a6f4..65d2448eb4 100644 --- a/examples/canvas-tiles.html +++ b/examples/canvas-tiles.html @@ -37,8 +37,9 @@

Canvas tiles example

-

The black grid tiles are generated on the client with an HTML5 canvas. Note that the tile coordinates are ol3 normalized tile coordinates (origin bottom left), not OSM tile coordinates (origin top left).

+

Renders tiles with coordinates for debugging.

+

The black grid tiles are generated on the client with an HTML5 canvas. Note that the tile coordinates are ol3 normalized tile coordinates (origin bottom left), not OSM tile coordinates (origin top left).

See the canvas-tiles.js source to see how this is done.

layers, openstreetmap, canvas
diff --git a/examples/wms-single-image-custom-proj.html b/examples/wms-single-image-custom-proj.html index cfe1203515..e9b650582f 100644 --- a/examples/wms-single-image-custom-proj.html +++ b/examples/wms-single-image-custom-proj.html @@ -37,8 +37,9 @@

Single image WMS with custom projection example

-

Example of two single image WMS layers (Pixelmap 1:1'000'000 and national parks) using the projection EPSG:21781.

+

Example of two single image WMS layers.

+

Pixelmap 1:1'000'000 with National Parks overlay using the projection EPSG:21781.

See the wms-single-image-custom-proj.js source to see how this is done.

wms, single image, projection