From 15be7ff39b41b3c68aa8101674f73ab78fd48981 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Tue, 31 May 2011 15:00:51 +0000 Subject: [PATCH] use HTML5 in all examples, and some minor example improvements (pullup #3333) git-svn-id: http://svn.openlayers.org/trunk/openlayers@12032 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- examples/KMLParser.html | 15 +++++---- examples/SLDSelect.html | 12 ++++--- examples/WMSDescribeLayerParser.html | 17 ++++++---- examples/accelerometer.html | 9 +++--- examples/accessible.html | 16 ++++++---- examples/all-overlays-google.html | 5 +-- examples/all-overlays.html | 12 ++++--- examples/anchor-permalink.html | 10 +++--- examples/animated_panning.html | 14 ++++---- examples/arcgis93rest.html | 12 ++++--- examples/arcgiscache_ags.html | 8 +++-- examples/arcgiscache_direct.html | 10 +++--- examples/arcgiscache_jsonp.html | 8 +++-- examples/arcims-thematic.html | 12 ++++--- examples/arcims.html | 12 ++++--- examples/attribution.html | 22 +++++++------ examples/behavior-fixed-http-gml.html | 16 ++++++---- examples/bing-tiles.html | 5 +-- examples/bing.html | 18 ++++++----- examples/boxes-vector.html | 14 ++++---- examples/boxes.html | 14 ++++---- examples/browser.html | 9 +++--- examples/buffer.html | 12 ++++--- examples/canvas-hit-detection.html | 2 +- examples/canvas-inspector.html | 1 + examples/canvas.html | 12 ++++--- examples/click-handler.html | 12 ++++--- examples/click.html | 16 ++++++---- examples/controls.html | 12 ++++--- examples/cql-format.html | 7 ++-- examples/cross-origin.html | 5 +-- examples/custom-control.html | 16 ++++++---- examples/custom-style.html | 12 ++++--- examples/debug.html | 18 +++++------ examples/document-drag.html | 14 ++++---- examples/donut.html | 5 +-- examples/doubleSetCenter.html | 12 ++++--- examples/drag-feature.html | 12 ++++--- examples/draw-feature.html | 12 ++++--- examples/dynamic-text-layer.html | 26 +++++++-------- examples/editingtoolbar-outside.html | 13 ++++---- examples/editingtoolbar.html | 17 +++++----- examples/events.html | 10 +++--- examples/example-list.html | 11 ++++--- examples/example.html | 5 +-- examples/filter-strategy.html | 5 +-- examples/filter.html | 18 ++++++----- examples/fractional-zoom.html | 14 ++++---- examples/fullScreen.html | 9 +++--- examples/game-accel-ball.html | 14 ++++---- examples/geojson.html | 14 ++++---- examples/geolocation.html | 1 + examples/georss-flickr.html | 12 ++++--- examples/georss-markers.html | 12 ++++--- examples/georss.html | 16 ++++++---- examples/getfeature-wfs.html | 20 ++++++------ examples/getfeatureinfo-control.html | 14 ++++---- examples/getfeatureinfo-popup.html | 10 +++--- examples/gml-layer.html | 14 ++++---- examples/google-ng.html | 5 +-- examples/google-reproject.html | 16 ++++++---- examples/google-v3-alloverlays.html | 5 +-- examples/google-v3.html | 5 +-- examples/google.html | 14 ++++---- examples/graphic-name.html | 9 +++--- examples/graticule.html | 12 ++++--- examples/gutter.html | 12 ++++--- examples/highlight-feature.html | 14 ++++---- examples/hover-handler.html | 12 ++++--- examples/image-layer.html | 14 ++++---- examples/intersects.html | 22 +++++++------ examples/kamap.html | 12 ++++--- examples/kinetic.html | 5 +-- examples/kml-layer.html | 5 +-- examples/kml-pointtrack.html | 6 ++-- examples/kml-track.html | 5 +-- examples/late-render.html | 16 ++++++---- examples/layer-opacity.html | 12 ++++--- examples/layerLoadMonitoring.html | 12 ++++--- examples/layerswitcher.html | 12 ++++--- examples/lite.html | 15 +++++---- examples/mapguide.html | 12 ++++--- examples/mapserver.html | 16 ++++++---- examples/mapserver_untiled.html | 16 ++++++---- examples/marker-shadow.html | 12 ++++--- examples/markerResize.html | 17 ++++++---- examples/markers.html | 16 ++++++---- examples/markersTextLayer.html | 12 ++++--- examples/measure.html | 12 ++++--- examples/mm.html | 12 ++++--- examples/mobile-navigation.html | 9 +++--- examples/modify-feature.html | 12 ++++--- examples/mouse-position.html | 16 ++++++---- examples/mousewheel-interval.html | 12 ++++--- examples/multimap-mercator.html | 12 ++++--- examples/multiserver.html | 20 ++++++++---- examples/multitouch.html | 2 ++ examples/mvs.html | 6 ++-- examples/navigation-control.html | 18 +++++++---- examples/navigation-history.html | 10 +++--- examples/navtoolbar-alwaysZoom.html | 12 ++++--- examples/navtoolbar-outsidemap.html | 12 ++++--- examples/navtoolbar.html | 12 ++++--- examples/openls.html | 4 ++- examples/ordering.html | 12 ++++--- examples/osm-google.html | 5 +-- examples/osm-layer.html | 12 ++++--- examples/osm.html | 14 ++++---- examples/outOfRangeMarkers.html | 12 ++++--- examples/overviewmap.html | 9 +++--- examples/pan-zoom-panels.html | 9 +++--- examples/panel.html | 12 ++++--- examples/point-track-markers.html | 12 ++++--- examples/popupMatrix.html | 14 ++++---- examples/popups.html | 12 ++++--- examples/projected-map.html | 12 ++++--- examples/protocol-gears.html | 12 ++++--- examples/regular-polygons.html | 12 ++++--- examples/resize-features.html | 12 ++++--- examples/restricted-extent.html | 12 ++++--- examples/rotate-features.html | 12 ++++--- examples/select-feature-multilayer.html | 12 ++++--- examples/select-feature-openpopup.html | 14 ++++---- examples/select-feature.html | 12 ++++--- examples/setextent.html | 8 ++--- examples/simplify-linestring.html | 5 +-- examples/single-tile.html | 5 +-- examples/sld-parser.html | 9 +++--- examples/sld.html | 32 ++++++++++--------- examples/snap-split.html | 22 +++++++------ examples/snapping.html | 14 ++++---- examples/sos.html | 14 ++++---- examples/spherical-mercator.html | 12 ++++--- examples/split-feature.html | 16 ++++++---- examples/strategy-bbox.html | 12 ++++--- examples/strategy-cluster-extended.html | 11 ++++--- examples/strategy-cluster-threshold.html | 14 ++++---- examples/strategy-cluster.html | 12 ++++--- examples/strategy-paging.html | 14 ++++---- examples/style-rules.html | 12 ++++--- examples/stylemap.html | 12 ++++--- examples/styles-context.html | 28 ++++++++++------ examples/styles-rotation.html | 12 ++++--- examples/styles-unique.html | 12 ++++--- examples/sundials-spherical-mercator.html | 12 ++++--- examples/sundials.html | 14 ++++---- examples/symbolizers-fill-stroke-graphic.html | 12 ++++--- examples/teleportation.html | 16 ++++++---- examples/tile-origin.html | 5 +-- examples/tilecache.html | 16 ++++++---- examples/tms.html | 16 ++++++---- examples/transform-feature.html | 12 ++++--- examples/transition.html | 10 +++--- examples/urban.html | 14 ++++---- examples/ve-novibrate.html | 16 ++++++---- examples/ve.html | 14 ++++---- examples/vector-features-with-text.html | 13 ++++---- examples/vector-features.html | 11 ++++--- examples/vector-formats.html | 20 ++++++------ examples/web-mercator.html | 9 +++--- examples/wfs-filter.html | 5 +-- examples/wfs-protocol-transactions.html | 10 +++--- examples/wfs-protocol.html | 12 ++++--- examples/wfs-reprojection.html | 12 ++++--- examples/wfs-snap-split.html | 9 +++--- examples/wfs-states.html | 10 +++--- examples/wmc.html | 24 +++++++------- examples/wms-long-url.html | 9 +++--- examples/wms-untiled.html | 12 ++++--- examples/wms-v13.html | 16 ++++++---- examples/wms.html | 17 ++++++---- examples/wmst.html | 19 +++++++---- examples/wmts-capabilities.html | 7 ++-- examples/wmts-getfeatureinfo.html | 7 ++-- examples/wmts.html | 7 ++-- examples/worldwind.html | 24 ++++++++++---- examples/wrapDateLine.html | 12 ++++--- examples/xhtml.html | 11 ++++--- examples/xml.html | 16 +++++----- examples/xyz-esri.html | 15 +++++---- examples/xyz-offset.html | 9 +++--- examples/yahoo.html | 19 ++++++----- examples/zoomLevels.html | 16 ++++++---- examples/zoomify.html | 22 +++++++------ 184 files changed, 1311 insertions(+), 955 deletions(-) diff --git a/examples/KMLParser.html b/examples/KMLParser.html index 04b7c9072f..3442cd42e6 100644 --- a/examples/KMLParser.html +++ b/examples/KMLParser.html @@ -1,9 +1,11 @@ - + + - - + + + OpenLayers KML Parser Example - + - +

Feature Info Example

diff --git a/examples/getfeatureinfo-popup.html b/examples/getfeatureinfo-popup.html index 5b9c24c33c..15ac843ec1 100644 --- a/examples/getfeatureinfo-popup.html +++ b/examples/getfeatureinfo-popup.html @@ -1,11 +1,13 @@ + - - + + + GetFeatureInfo Popup - - + + @@ -50,12 +52,12 @@

Google with Overlay Example

- An overlay in a Geographic projection can be stretched to somewhat +

An overlay in a Geographic projection can be stretched to somewhat line up with Google tiles (in a Mercator projection). Results get worse farther from the equator. Use the "reproject" option on a layer to get this behavior. Use the sphericalMercator option on a Google layer to get proper overlays (with other layers in - Spherical Mercator). + Spherical Mercator).

diff --git a/examples/google-v3-alloverlays.html b/examples/google-v3-alloverlays.html index ddf9556bf4..1f417a7b33 100644 --- a/examples/google-v3-alloverlays.html +++ b/examples/google-v3-alloverlays.html @@ -1,8 +1,9 @@ - - + + + OpenLayers Google (v3) Layer Example diff --git a/examples/google-v3.html b/examples/google-v3.html index 7c9ad3d12b..a517f10727 100644 --- a/examples/google-v3.html +++ b/examples/google-v3.html @@ -1,8 +1,9 @@ - - + + + OpenLayers Google (v3) Layer Example diff --git a/examples/google.html b/examples/google.html index af2ca3d4a9..b80daa936a 100644 --- a/examples/google.html +++ b/examples/google.html @@ -1,11 +1,13 @@ - + + - - + + + OpenLayers Google Layer Example - - - + + + diff --git a/examples/graphic-name.html b/examples/graphic-name.html index 35026f5de1..369048dc20 100644 --- a/examples/graphic-name.html +++ b/examples/graphic-name.html @@ -1,12 +1,13 @@ - - + + + OpenLayers Graphic Names - - + + diff --git a/examples/graticule.html b/examples/graticule.html index 3f8f665c56..120c154407 100644 --- a/examples/graticule.html +++ b/examples/graticule.html @@ -1,11 +1,13 @@ - + + - - + + + OpenLayers Graticule Example - - + +