From 12338783cc99240c2cd09b40604fe7371f0f87ae Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 28 Jun 2013 10:07:02 -0600 Subject: [PATCH 1/3] Load scripts in RAW mode by default On-the-fly compilation is a frustrating default. --- examples/loader.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/loader.js b/examples/loader.js index 684e870b41..58d9dd7d83 100644 --- a/examples/loader.js +++ b/examples/loader.js @@ -8,7 +8,7 @@ * * * hostname - the current hostname (window.location.hostname) * * port - 9810 - * * mode - ADVANCED + * * mode - RAW * * id - id param in loader.js query string; defaults to 'ol' if not set * * Usage: @@ -20,7 +20,7 @@ var params = { hostname: window.location.hostname, port: '9810', - mode: 'ADVANCED', + mode: 'RAW', id: 'ol' }; if (window.location.protocol === 'file:' && !params.hostname) { From 7ebacba720c50115b89bafa2845971c34320fd05 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 28 Jun 2013 10:42:42 -0600 Subject: [PATCH 2/3] Use full grid The example documentation should not be restricted to 1/3 of the row unless there is something else consuming the other 2/3. --- examples/animation.html | 2 +- examples/bing-maps.html | 2 +- examples/brightness-contrast.html | 2 +- examples/canvas-tiles.html | 2 +- examples/custom-controls.html | 2 +- examples/device-orientation.html | 2 +- examples/drag-rotate-and-zoom.html | 2 +- examples/epsg-4326.html | 2 +- examples/export-map.html | 2 +- examples/full-screen-drag-rotate-and-zoom.html | 2 +- examples/full-screen.html | 2 +- examples/geolocation.html | 2 +- examples/gml.html | 2 +- examples/gpx.html | 2 +- examples/hue-saturation.html | 2 +- examples/kml-timezones.html | 2 +- examples/kml.html | 2 +- examples/localized-openstreetmap.html | 2 +- examples/mapquest.html | 2 +- examples/mouse-position.html | 12 ++---------- examples/overlay.html | 2 +- examples/preload.html | 4 ++-- examples/rotation.html | 2 +- examples/scale-line.html | 2 +- examples/semi-transparent-layer.html | 2 +- examples/side-by-side.html | 2 +- examples/simple.html | 2 +- examples/stamen.html | 2 +- examples/style-rules.html | 2 +- examples/teleport.html | 2 +- examples/ten-thousand-points.html | 2 +- examples/tilejson.html | 2 +- examples/vector-layer.html | 2 +- examples/wms-custom-proj.html | 2 +- examples/wms-no-proj.html | 2 +- examples/wms-single-image-custom-proj.html | 2 +- examples/wms-single-image.html | 2 +- examples/wms-tiled.html | 2 +- examples/wmts-from-capabilities.html | 2 +- examples/wmts.html | 2 +- examples/zoomslider.html | 2 +- 41 files changed, 43 insertions(+), 51 deletions(-) diff --git a/examples/animation.html b/examples/animation.html index ef3e24484e..fe8cae43fa 100644 --- a/examples/animation.html +++ b/examples/animation.html @@ -48,7 +48,7 @@
-
+

Animation example

Demonstrates animated pan, zoom, and rotation.

diff --git a/examples/bing-maps.html b/examples/bing-maps.html index 547857c290..75ca3d8afd 100644 --- a/examples/bing-maps.html +++ b/examples/bing-maps.html @@ -41,7 +41,7 @@
-
+

Bing Maps example

Example of a Bing Maps layer.

diff --git a/examples/brightness-contrast.html b/examples/brightness-contrast.html index 0ef43c8ad0..35e9a714b6 100644 --- a/examples/brightness-contrast.html +++ b/examples/brightness-contrast.html @@ -53,7 +53,7 @@
-
+

Brightness/contrast example

Example of brightness/contrast control on the client (WebGL only).

diff --git a/examples/canvas-tiles.html b/examples/canvas-tiles.html index 65d2448eb4..2f9f9a8240 100644 --- a/examples/canvas-tiles.html +++ b/examples/canvas-tiles.html @@ -35,7 +35,7 @@
-
+

Canvas tiles example

Renders tiles with coordinates for debugging.

diff --git a/examples/custom-controls.html b/examples/custom-controls.html index 257a02e3d9..3824e07d13 100644 --- a/examples/custom-controls.html +++ b/examples/custom-controls.html @@ -68,7 +68,7 @@
-
+

Custom controls

This example shows how to create custom controls.

diff --git a/examples/device-orientation.html b/examples/device-orientation.html index dd1bb6215d..69865d51a9 100644 --- a/examples/device-orientation.html +++ b/examples/device-orientation.html @@ -35,7 +35,7 @@
-
+

Device orientation example