[OpenLayers-Commits] r12089 - in sandbox/tschaub/editing: . build
examples lib lib/OpenLayers lib/OpenLayers/Format
lib/OpenLayers/Format/OWSCommon lib/OpenLayers/Format/WFST
lib/OpenLayers/Format/WMSCapabilities lib/OpenLayers/Handler
lib/OpenLayers/Layer lib/OpenLayers/Protocol/WFS
lib/OpenLayers/Renderer lib/OpenLayers/Tile tests
tests/Control tests/Format tests/Format/OWSCommon
tests/Format/WFSCapabilities tests/Format/WMSCapabilities
tests/Handler tests/Layer tests/Protocol tests/node.js theme/default
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Thu Jun 16 11:22:31 EDT 2011
Author: tschaub
Date: 2011-06-16 08:22:30 -0700 (Thu, 16 Jun 2011)
New Revision: 12089
Added:
sandbox/tschaub/editing/examples/wfs-spatial-filter.html
sandbox/tschaub/editing/examples/wfs-spatial-filter.js
sandbox/tschaub/editing/lib/OpenLayers/Format/OGCExceptionReport.js
sandbox/tschaub/editing/lib/OpenLayers/Format/OWSCommon.js
sandbox/tschaub/editing/tests/Format/OGCExceptionReport.html
sandbox/tschaub/editing/tests/Format/OWSCommon/
sandbox/tschaub/editing/tests/Format/OWSCommon/v1_0_0.html
sandbox/tschaub/editing/tests/Format/OWSCommon/v1_1_0.html
Removed:
sandbox/tschaub/editing/tests/Format/OWSCommon/v1_0_0.html
sandbox/tschaub/editing/tests/Format/OWSCommon/v1_1_0.html
Modified:
sandbox/tschaub/editing/
sandbox/tschaub/editing/build/build.py
sandbox/tschaub/editing/examples/KMLParser.html
sandbox/tschaub/editing/examples/SLDSelect.html
sandbox/tschaub/editing/examples/WMSDescribeLayerParser.html
sandbox/tschaub/editing/examples/accelerometer.html
sandbox/tschaub/editing/examples/accessible.html
sandbox/tschaub/editing/examples/all-overlays-google.html
sandbox/tschaub/editing/examples/all-overlays.html
sandbox/tschaub/editing/examples/anchor-permalink.html
sandbox/tschaub/editing/examples/animated_panning.html
sandbox/tschaub/editing/examples/arcgis93rest.html
sandbox/tschaub/editing/examples/arcims-thematic.html
sandbox/tschaub/editing/examples/arcims.html
sandbox/tschaub/editing/examples/attribution.html
sandbox/tschaub/editing/examples/behavior-fixed-http-gml.html
sandbox/tschaub/editing/examples/bing-tiles.html
sandbox/tschaub/editing/examples/bing.html
sandbox/tschaub/editing/examples/boxes-vector.html
sandbox/tschaub/editing/examples/boxes.html
sandbox/tschaub/editing/examples/browser.html
sandbox/tschaub/editing/examples/buffer.html
sandbox/tschaub/editing/examples/canvas.html
sandbox/tschaub/editing/examples/click-handler.html
sandbox/tschaub/editing/examples/click.html
sandbox/tschaub/editing/examples/controls.html
sandbox/tschaub/editing/examples/cql-format.html
sandbox/tschaub/editing/examples/cross-origin.html
sandbox/tschaub/editing/examples/custom-control.html
sandbox/tschaub/editing/examples/custom-style.html
sandbox/tschaub/editing/examples/debug.html
sandbox/tschaub/editing/examples/document-drag.html
sandbox/tschaub/editing/examples/donut.html
sandbox/tschaub/editing/examples/doubleSetCenter.html
sandbox/tschaub/editing/examples/drag-feature.html
sandbox/tschaub/editing/examples/draw-feature.html
sandbox/tschaub/editing/examples/dynamic-text-layer.html
sandbox/tschaub/editing/examples/editingtoolbar-outside.html
sandbox/tschaub/editing/examples/editingtoolbar.html
sandbox/tschaub/editing/examples/events.html
sandbox/tschaub/editing/examples/example-list.html
sandbox/tschaub/editing/examples/example.html
sandbox/tschaub/editing/examples/filter-strategy.html
sandbox/tschaub/editing/examples/filter.html
sandbox/tschaub/editing/examples/fractional-zoom.html
sandbox/tschaub/editing/examples/fullScreen.html
sandbox/tschaub/editing/examples/game-accel-ball.html
sandbox/tschaub/editing/examples/geojson.html
sandbox/tschaub/editing/examples/geolocation.html
sandbox/tschaub/editing/examples/georss-flickr.html
sandbox/tschaub/editing/examples/georss-markers.html
sandbox/tschaub/editing/examples/georss.html
sandbox/tschaub/editing/examples/getfeature-wfs.html
sandbox/tschaub/editing/examples/getfeatureinfo-control.html
sandbox/tschaub/editing/examples/getfeatureinfo-popup.html
sandbox/tschaub/editing/examples/gml-layer.html
sandbox/tschaub/editing/examples/google-ng.html
sandbox/tschaub/editing/examples/google-reproject.html
sandbox/tschaub/editing/examples/google-v3-alloverlays.html
sandbox/tschaub/editing/examples/google-v3.html
sandbox/tschaub/editing/examples/google.html
sandbox/tschaub/editing/examples/graphic-name.html
sandbox/tschaub/editing/examples/graticule.html
sandbox/tschaub/editing/examples/gutter.html
sandbox/tschaub/editing/examples/highlight-feature.html
sandbox/tschaub/editing/examples/hover-handler.html
sandbox/tschaub/editing/examples/image-layer.html
sandbox/tschaub/editing/examples/intersects.html
sandbox/tschaub/editing/examples/kamap.html
sandbox/tschaub/editing/examples/kinetic.html
sandbox/tschaub/editing/examples/kml-layer.html
sandbox/tschaub/editing/examples/kml-pointtrack.html
sandbox/tschaub/editing/examples/kml-track.html
sandbox/tschaub/editing/examples/late-render.html
sandbox/tschaub/editing/examples/layer-opacity.html
sandbox/tschaub/editing/examples/layerLoadMonitoring.html
sandbox/tschaub/editing/examples/layerswitcher.html
sandbox/tschaub/editing/examples/lite.html
sandbox/tschaub/editing/examples/mapguide.html
sandbox/tschaub/editing/examples/mapserver.html
sandbox/tschaub/editing/examples/mapserver_untiled.html
sandbox/tschaub/editing/examples/marker-shadow.html
sandbox/tschaub/editing/examples/markerResize.html
sandbox/tschaub/editing/examples/markers.html
sandbox/tschaub/editing/examples/markersTextLayer.html
sandbox/tschaub/editing/examples/measure.html
sandbox/tschaub/editing/examples/mm.html
sandbox/tschaub/editing/examples/mobile-drawing.html
sandbox/tschaub/editing/examples/mobile-jq.html
sandbox/tschaub/editing/examples/mobile-layers.html
sandbox/tschaub/editing/examples/mobile-navigation.html
sandbox/tschaub/editing/examples/mobile-sencha.html
sandbox/tschaub/editing/examples/mobile.html
sandbox/tschaub/editing/examples/modify-feature.html
sandbox/tschaub/editing/examples/mouse-position.html
sandbox/tschaub/editing/examples/mousewheel-interval.html
sandbox/tschaub/editing/examples/multimap-mercator.html
sandbox/tschaub/editing/examples/multiserver.html
sandbox/tschaub/editing/examples/mvs.html
sandbox/tschaub/editing/examples/navigation-control.html
sandbox/tschaub/editing/examples/navigation-history.html
sandbox/tschaub/editing/examples/navtoolbar-alwaysZoom.html
sandbox/tschaub/editing/examples/navtoolbar-outsidemap.html
sandbox/tschaub/editing/examples/navtoolbar.html
sandbox/tschaub/editing/examples/openls.html
sandbox/tschaub/editing/examples/ordering.html
sandbox/tschaub/editing/examples/osm-google.html
sandbox/tschaub/editing/examples/osm-layer.html
sandbox/tschaub/editing/examples/osm.html
sandbox/tschaub/editing/examples/outOfRangeMarkers.html
sandbox/tschaub/editing/examples/overviewmap.html
sandbox/tschaub/editing/examples/pan-zoom-panels.html
sandbox/tschaub/editing/examples/panel.html
sandbox/tschaub/editing/examples/point-track-markers.html
sandbox/tschaub/editing/examples/popupMatrix.html
sandbox/tschaub/editing/examples/popups.html
sandbox/tschaub/editing/examples/projected-map.html
sandbox/tschaub/editing/examples/protocol-gears.html
sandbox/tschaub/editing/examples/regular-polygons.html
sandbox/tschaub/editing/examples/resize-features.html
sandbox/tschaub/editing/examples/restricted-extent.html
sandbox/tschaub/editing/examples/rotate-features.html
sandbox/tschaub/editing/examples/select-feature-multilayer.html
sandbox/tschaub/editing/examples/select-feature-openpopup.html
sandbox/tschaub/editing/examples/select-feature.html
sandbox/tschaub/editing/examples/setextent.html
sandbox/tschaub/editing/examples/simplify-linestring.html
sandbox/tschaub/editing/examples/single-tile.html
sandbox/tschaub/editing/examples/sld-parser.html
sandbox/tschaub/editing/examples/sld.html
sandbox/tschaub/editing/examples/snap-split.html
sandbox/tschaub/editing/examples/snapping.html
sandbox/tschaub/editing/examples/sos.html
sandbox/tschaub/editing/examples/spherical-mercator.html
sandbox/tschaub/editing/examples/split-feature.html
sandbox/tschaub/editing/examples/strategy-bbox.html
sandbox/tschaub/editing/examples/strategy-cluster-extended.html
sandbox/tschaub/editing/examples/strategy-cluster-threshold.html
sandbox/tschaub/editing/examples/strategy-cluster.html
sandbox/tschaub/editing/examples/strategy-paging.html
sandbox/tschaub/editing/examples/style-rules.html
sandbox/tschaub/editing/examples/stylemap.html
sandbox/tschaub/editing/examples/styles-context.html
sandbox/tschaub/editing/examples/styles-rotation.html
sandbox/tschaub/editing/examples/styles-unique.html
sandbox/tschaub/editing/examples/sundials-spherical-mercator.html
sandbox/tschaub/editing/examples/sundials.html
sandbox/tschaub/editing/examples/symbolizers-fill-stroke-graphic.html
sandbox/tschaub/editing/examples/teleportation.html
sandbox/tschaub/editing/examples/tile-origin.html
sandbox/tschaub/editing/examples/tilecache.html
sandbox/tschaub/editing/examples/tms.html
sandbox/tschaub/editing/examples/transform-feature.html
sandbox/tschaub/editing/examples/transition.html
sandbox/tschaub/editing/examples/urban.html
sandbox/tschaub/editing/examples/ve-novibrate.html
sandbox/tschaub/editing/examples/ve.html
sandbox/tschaub/editing/examples/vector-features-with-text.html
sandbox/tschaub/editing/examples/vector-features.html
sandbox/tschaub/editing/examples/vector-formats.html
sandbox/tschaub/editing/examples/web-mercator.html
sandbox/tschaub/editing/examples/wfs-filter.html
sandbox/tschaub/editing/examples/wfs-protocol-transactions.html
sandbox/tschaub/editing/examples/wfs-protocol.html
sandbox/tschaub/editing/examples/wfs-reprojection.html
sandbox/tschaub/editing/examples/wfs-snap-split.html
sandbox/tschaub/editing/examples/wfs-states.html
sandbox/tschaub/editing/examples/wmc.html
sandbox/tschaub/editing/examples/wms-long-url.html
sandbox/tschaub/editing/examples/wms-untiled.html
sandbox/tschaub/editing/examples/wms-v13.html
sandbox/tschaub/editing/examples/wms.html
sandbox/tschaub/editing/examples/wmst.html
sandbox/tschaub/editing/examples/wmts-capabilities.html
sandbox/tschaub/editing/examples/wmts-getfeatureinfo.html
sandbox/tschaub/editing/examples/wmts.html
sandbox/tschaub/editing/examples/worldwind.html
sandbox/tschaub/editing/examples/wrapDateLine.html
sandbox/tschaub/editing/examples/xhtml.html
sandbox/tschaub/editing/examples/xml.html
sandbox/tschaub/editing/examples/xyz-esri.html
sandbox/tschaub/editing/examples/xyz-offset.html
sandbox/tschaub/editing/examples/yahoo.html
sandbox/tschaub/editing/examples/zoomLevels.html
sandbox/tschaub/editing/examples/zoomify.html
sandbox/tschaub/editing/lib/OpenLayers.js
sandbox/tschaub/editing/lib/OpenLayers/Format/OWSCommon/v1.js
sandbox/tschaub/editing/lib/OpenLayers/Format/OWSCommon/v1_0_0.js
sandbox/tschaub/editing/lib/OpenLayers/Format/OWSCommon/v1_1_0.js
sandbox/tschaub/editing/lib/OpenLayers/Format/WFSCapabilities.js
sandbox/tschaub/editing/lib/OpenLayers/Format/WFST/v1.js
sandbox/tschaub/editing/lib/OpenLayers/Format/WFST/v1_1_0.js
sandbox/tschaub/editing/lib/OpenLayers/Format/WMSCapabilities/v1.js
sandbox/tschaub/editing/lib/OpenLayers/Handler/Box.js
sandbox/tschaub/editing/lib/OpenLayers/Handler/Path.js
sandbox/tschaub/editing/lib/OpenLayers/Handler/Point.js
sandbox/tschaub/editing/lib/OpenLayers/Handler/Polygon.js
sandbox/tschaub/editing/lib/OpenLayers/Layer/Bing.js
sandbox/tschaub/editing/lib/OpenLayers/Layer/GoogleNG.js
sandbox/tschaub/editing/lib/OpenLayers/Protocol.js
sandbox/tschaub/editing/lib/OpenLayers/Protocol/WFS/v1.js
sandbox/tschaub/editing/lib/OpenLayers/Renderer/NG.js
sandbox/tschaub/editing/lib/OpenLayers/Renderer/SVG.js
sandbox/tschaub/editing/lib/OpenLayers/Renderer/SVG2.js
sandbox/tschaub/editing/lib/OpenLayers/Renderer/VML.js
sandbox/tschaub/editing/lib/OpenLayers/Tile/Google.js
sandbox/tschaub/editing/tests/Control/DrawFeature.html
sandbox/tschaub/editing/tests/Control/LayerSwitcher.html
sandbox/tschaub/editing/tests/Control/Measure.html
sandbox/tschaub/editing/tests/Format/GeoRSS.html
sandbox/tschaub/editing/tests/Format/WFSCapabilities/v1.html
sandbox/tschaub/editing/tests/Format/WMSCapabilities/v1_1_1.html
sandbox/tschaub/editing/tests/Format/WMSCapabilities/v1_3_0.html
sandbox/tschaub/editing/tests/Handler/Box.html
sandbox/tschaub/editing/tests/Handler/Path.html
sandbox/tschaub/editing/tests/Handler/Point.html
sandbox/tschaub/editing/tests/Handler/Polygon.html
sandbox/tschaub/editing/tests/Layer/GoogleNG.html
sandbox/tschaub/editing/tests/Protocol/WFS.html
sandbox/tschaub/editing/tests/list-tests.html
sandbox/tschaub/editing/tests/node.js/mockdom.js
sandbox/tschaub/editing/theme/default/style.css
Log:
Merge r12041:12088 from trunk.
Property changes on: sandbox/tschaub/editing
___________________________________________________________________
Modified: svn:mergeinfo
- /sandbox/roberthl/openlayers:9745-9748
/trunk/openlayers:11940-12040
+ /sandbox/roberthl/openlayers:9745-9748
/trunk/openlayers:11940-12088
Modified: sandbox/tschaub/editing/build/build.py
===================================================================
--- sandbox/tschaub/editing/build/build.py 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/build/build.py 2011-06-16 15:22:30 UTC (rev 12089)
@@ -70,7 +70,7 @@
if __name__ == '__main__':
opt = optparse.OptionParser(usage="%s [options] [config_file] [output_file]\n Default config_file is 'full.cfg', Default output_file is 'OpenLayers.js'")
- opt.add_option("-c", "--compressor", dest="compressor", help="compression method: one of 'jsmin', 'minimize', or 'none'", default="jsmin")
+ opt.add_option("-c", "--compressor", dest="compressor", help="compression method: one of 'jsmin', 'minimize', 'closure_ws', 'closure', or 'none'", default="jsmin")
(options, args) = opt.parse_args()
if not len(args):
build(options=options)
Modified: sandbox/tschaub/editing/examples/KMLParser.html
===================================================================
--- sandbox/tschaub/editing/examples/KMLParser.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/KMLParser.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers KML Parser Example</title>
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/SLDSelect.html
===================================================================
--- sandbox/tschaub/editing/examples/SLDSelect.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/SLDSelect.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers SLD based selection control</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/WMSDescribeLayerParser.html
===================================================================
--- sandbox/tschaub/editing/examples/WMSDescribeLayerParser.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/WMSDescribeLayerParser.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers WMSDescribeLayer Parser Example</title>
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/accelerometer.html
===================================================================
--- sandbox/tschaub/editing/examples/accelerometer.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/accelerometer.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Accelerometer Usage</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/accessible.html
===================================================================
--- sandbox/tschaub/editing/examples/accessible.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/accessible.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Accessible Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/all-overlays-google.html
===================================================================
--- sandbox/tschaub/editing/examples/all-overlays-google.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/all-overlays-google.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers All Overlays with Google and OSM</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/all-overlays.html
===================================================================
--- sandbox/tschaub/editing/examples/all-overlays.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/all-overlays.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>All Overlays Example</title>
Modified: sandbox/tschaub/editing/examples/anchor-permalink.html
===================================================================
--- sandbox/tschaub/editing/examples/anchor-permalink.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/anchor-permalink.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/animated_panning.html
===================================================================
--- sandbox/tschaub/editing/examples/animated_panning.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/animated_panning.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Animated Panning of the Map via map.panTo</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/arcgis93rest.html
===================================================================
--- sandbox/tschaub/editing/examples/arcgis93rest.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/arcgis93rest.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/arcims-thematic.html
===================================================================
--- sandbox/tschaub/editing/examples/arcims-thematic.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/arcims-thematic.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>ArcIMS Thematic Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/arcims.html
===================================================================
--- sandbox/tschaub/editing/examples/arcims.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/arcims.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>ArcIMS Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/attribution.html
===================================================================
--- sandbox/tschaub/editing/examples/attribution.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/attribution.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Attribution Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/behavior-fixed-http-gml.html
===================================================================
--- sandbox/tschaub/editing/examples/behavior-fixed-http-gml.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/behavior-fixed-http-gml.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Vector Behavior Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/bing-tiles.html
===================================================================
--- sandbox/tschaub/editing/examples/bing-tiles.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/bing-tiles.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Bing Tiles Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/bing.html
===================================================================
--- sandbox/tschaub/editing/examples/bing.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/bing.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Bing Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/boxes-vector.html
===================================================================
--- sandbox/tschaub/editing/examples/boxes-vector.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/boxes-vector.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Boxes Vector Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/boxes.html
===================================================================
--- sandbox/tschaub/editing/examples/boxes.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/boxes.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Boxes Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/browser.html
===================================================================
--- sandbox/tschaub/editing/examples/browser.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/browser.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Browser Detection</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/buffer.html
===================================================================
--- sandbox/tschaub/editing/examples/buffer.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/buffer.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Buffer Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/canvas.html
===================================================================
--- sandbox/tschaub/editing/examples/canvas.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/canvas.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Canvas Renderer Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/click-handler.html
===================================================================
--- sandbox/tschaub/editing/examples/click-handler.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/click-handler.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Click Handler Example</title>
Modified: sandbox/tschaub/editing/examples/click.html
===================================================================
--- sandbox/tschaub/editing/examples/click.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/click.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Click Event Example</title>
Modified: sandbox/tschaub/editing/examples/controls.html
===================================================================
--- sandbox/tschaub/editing/examples/controls.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/controls.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Map Controls Example</title>
Modified: sandbox/tschaub/editing/examples/cql-format.html
===================================================================
--- sandbox/tschaub/editing/examples/cql-format.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/cql-format.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>
OpenLayers CQL Example
Modified: sandbox/tschaub/editing/examples/cross-origin.html
===================================================================
--- sandbox/tschaub/editing/examples/cross-origin.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/cross-origin.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -5,7 +5,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<script src="../lib/OpenLayers.js"></script>
</head>
Modified: sandbox/tschaub/editing/examples/custom-control.html
===================================================================
--- sandbox/tschaub/editing/examples/custom-control.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/custom-control.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Custom Control Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/custom-style.html
===================================================================
--- sandbox/tschaub/editing/examples/custom-style.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/custom-style.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Custom Style Example</title>
Modified: sandbox/tschaub/editing/examples/debug.html
===================================================================
--- sandbox/tschaub/editing/examples/debug.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/debug.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Debug Example</title>
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/document-drag.html
===================================================================
--- sandbox/tschaub/editing/examples/document-drag.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/document-drag.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Document Drag Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/donut.html
===================================================================
--- sandbox/tschaub/editing/examples/donut.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/donut.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Polygon Hole Digitizing</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/doubleSetCenter.html
===================================================================
--- sandbox/tschaub/editing/examples/doubleSetCenter.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/doubleSetCenter.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Double Set Center Example</title>
Modified: sandbox/tschaub/editing/examples/drag-feature.html
===================================================================
--- sandbox/tschaub/editing/examples/drag-feature.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/drag-feature.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Drag Feature Example</title>
Modified: sandbox/tschaub/editing/examples/draw-feature.html
===================================================================
--- sandbox/tschaub/editing/examples/draw-feature.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/draw-feature.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Draw Feature Example</title>
Modified: sandbox/tschaub/editing/examples/dynamic-text-layer.html
===================================================================
--- sandbox/tschaub/editing/examples/dynamic-text-layer.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/dynamic-text-layer.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Vector Behavior Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/editingtoolbar-outside.html
===================================================================
--- sandbox/tschaub/editing/examples/editingtoolbar-outside.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/editingtoolbar-outside.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Custom Editing Toolbar</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/editingtoolbar.html
===================================================================
--- sandbox/tschaub/editing/examples/editingtoolbar.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/editingtoolbar.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Editing Toolbar Example</title>
Modified: sandbox/tschaub/editing/examples/events.html
===================================================================
--- sandbox/tschaub/editing/examples/events.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/events.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Event Handling</title>
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/example-list.html
===================================================================
--- sandbox/tschaub/editing/examples/example-list.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/example-list.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- This is the example list source: if you are trying to look at the
source of an example, YOU ARE IN THE WRONG PLACE. If you want to view
Modified: sandbox/tschaub/editing/examples/example.html
===================================================================
--- sandbox/tschaub/editing/examples/example.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/example.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/filter-strategy.html
===================================================================
--- sandbox/tschaub/editing/examples/filter-strategy.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/filter-strategy.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Filter Strategy Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/filter.html
===================================================================
--- sandbox/tschaub/editing/examples/filter.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/filter.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/fractional-zoom.html
===================================================================
--- sandbox/tschaub/editing/examples/fractional-zoom.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/fractional-zoom.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/fullScreen.html
===================================================================
--- sandbox/tschaub/editing/examples/fullScreen.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/fullScreen.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Full Screen Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/game-accel-ball.html
===================================================================
--- sandbox/tschaub/editing/examples/game-accel-ball.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/game-accel-ball.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Game: Bounce Ball</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/geojson.html
===================================================================
--- sandbox/tschaub/editing/examples/geojson.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/geojson.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/geolocation.html
===================================================================
--- sandbox/tschaub/editing/examples/geolocation.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/geolocation.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Geolocation</title>
Modified: sandbox/tschaub/editing/examples/georss-flickr.html
===================================================================
--- sandbox/tschaub/editing/examples/georss-flickr.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/georss-flickr.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/georss-markers.html
===================================================================
--- sandbox/tschaub/editing/examples/georss-markers.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/georss-markers.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers GeoRSS Marker Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/georss.html
===================================================================
--- sandbox/tschaub/editing/examples/georss.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/georss.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers GeoRSS Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/getfeature-wfs.html
===================================================================
--- sandbox/tschaub/editing/examples/getfeature-wfs.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/getfeature-wfs.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/getfeatureinfo-control.html
===================================================================
--- sandbox/tschaub/editing/examples/getfeatureinfo-control.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/getfeatureinfo-control.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers WMS Feature Info Example (GeoServer)</title>
<script src="../lib/OpenLayers.js"></script>
Modified: sandbox/tschaub/editing/examples/getfeatureinfo-popup.html
===================================================================
--- sandbox/tschaub/editing/examples/getfeatureinfo-popup.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/getfeatureinfo-popup.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>GetFeatureInfo Popup</title>
<script src="../lib/OpenLayers.js"></script>
Modified: sandbox/tschaub/editing/examples/gml-layer.html
===================================================================
--- sandbox/tschaub/editing/examples/gml-layer.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/gml-layer.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers GML Layer Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/google-ng.html
===================================================================
--- sandbox/tschaub/editing/examples/google-ng.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/google-ng.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Google NG Layer Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
@@ -14,6 +14,7 @@
right: inherit;
bottom: 3px;
line-height: 11px;
+ font-family: Arial, sans-serif;
}
</style>
<script src="http://maps.google.com/maps/api/js?v=3.5&sensor=false"></script>
Modified: sandbox/tschaub/editing/examples/google-reproject.html
===================================================================
--- sandbox/tschaub/editing/examples/google-reproject.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/google-reproject.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Google with Overlay Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/google-v3-alloverlays.html
===================================================================
--- sandbox/tschaub/editing/examples/google-v3-alloverlays.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/google-v3-alloverlays.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Google (v3) Layer Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/google-v3.html
===================================================================
--- sandbox/tschaub/editing/examples/google-v3.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/google-v3.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Google (v3) Layer Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/google.html
===================================================================
--- sandbox/tschaub/editing/examples/google.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/google.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Google Layer Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/graphic-name.html
===================================================================
--- sandbox/tschaub/editing/examples/graphic-name.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/graphic-name.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>OpenLayers Graphic Names</title>
Modified: sandbox/tschaub/editing/examples/graticule.html
===================================================================
--- sandbox/tschaub/editing/examples/graticule.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/graticule.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Graticule Example</title>
Modified: sandbox/tschaub/editing/examples/gutter.html
===================================================================
--- sandbox/tschaub/editing/examples/gutter.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/gutter.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Gutter Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/highlight-feature.html
===================================================================
--- sandbox/tschaub/editing/examples/highlight-feature.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/highlight-feature.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>SelectFeature Control for Select and Highlight</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/hover-handler.html
===================================================================
--- sandbox/tschaub/editing/examples/hover-handler.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/hover-handler.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Hover Handler Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/image-layer.html
===================================================================
--- sandbox/tschaub/editing/examples/image-layer.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/image-layer.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Image Layer Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/intersects.html
===================================================================
--- sandbox/tschaub/editing/examples/intersects.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/intersects.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Geometry Intersections</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/kamap.html
===================================================================
--- sandbox/tschaub/editing/examples/kamap.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/kamap.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers KaMap Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/kinetic.html
===================================================================
--- sandbox/tschaub/editing/examples/kinetic.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/kinetic.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -3,7 +3,7 @@
<head>
<title>OpenLayers Kinetic Dragging Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/kml-layer.html
===================================================================
--- sandbox/tschaub/editing/examples/kml-layer.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/kml-layer.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/kml-pointtrack.html
===================================================================
--- sandbox/tschaub/editing/examples/kml-pointtrack.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/kml-pointtrack.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers KML Track in a PointTrack Layer Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/kml-track.html
===================================================================
--- sandbox/tschaub/editing/examples/kml-track.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/kml-track.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers KLM Track Parsing Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/late-render.html
===================================================================
--- sandbox/tschaub/editing/examples/late-render.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/late-render.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Late Rendering Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/layer-opacity.html
===================================================================
--- sandbox/tschaub/editing/examples/layer-opacity.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/layer-opacity.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Layer Opacity Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/layerLoadMonitoring.html
===================================================================
--- sandbox/tschaub/editing/examples/layerLoadMonitoring.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/layerLoadMonitoring.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Layer Load Monitoring Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/layerswitcher.html
===================================================================
--- sandbox/tschaub/editing/examples/layerswitcher.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/layerswitcher.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Layer Switcher Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/lite.html
===================================================================
--- sandbox/tschaub/editing/examples/lite.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/lite.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Basic Single WMS Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
@@ -33,7 +33,7 @@
<div id="docs">
<p>This example shows a very simple layout with minimal controls.
- This example uses a single WMS base layer.</b>
+ This example uses a single WMS base layer.</p>
</div>
</body>
</html>
Modified: sandbox/tschaub/editing/examples/mapguide.html
===================================================================
--- sandbox/tschaub/editing/examples/mapguide.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/mapguide.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers MapGuide Layer Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/mapserver.html
===================================================================
--- sandbox/tschaub/editing/examples/mapserver.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/mapserver.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>MapServer Layer</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/mapserver_untiled.html
===================================================================
--- sandbox/tschaub/editing/examples/mapserver_untiled.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/mapserver_untiled.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>MapServer Single Tile Mode</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/marker-shadow.html
===================================================================
--- sandbox/tschaub/editing/examples/marker-shadow.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/marker-shadow.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Vector Graphics with Shadows</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/markerResize.html
===================================================================
--- sandbox/tschaub/editing/examples/markerResize.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/markerResize.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Resize a Marker</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/markers.html
===================================================================
--- sandbox/tschaub/editing/examples/markers.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/markers.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Markers Layer Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/markersTextLayer.html
===================================================================
--- sandbox/tschaub/editing/examples/markersTextLayer.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/markersTextLayer.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Using a Layer.Text to display markers</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/measure.html
===================================================================
--- sandbox/tschaub/editing/examples/measure.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/measure.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/mm.html
===================================================================
--- sandbox/tschaub/editing/examples/mm.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/mm.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>MultiMap</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/mobile-drawing.html
===================================================================
--- sandbox/tschaub/editing/examples/mobile-drawing.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/mobile-drawing.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -3,7 +3,7 @@
<head>
<title>OpenLayers Mobile Drawing</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="style.mobile.css" type="text/css">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/mobile-jq.html
===================================================================
--- sandbox/tschaub/editing/examples/mobile-jq.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/mobile-jq.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>OpenLayers with jQuery Mobile</title>
- <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css">
<script src="http://code.jquery.com/jquery-1.5.min.js"></script>
Modified: sandbox/tschaub/editing/examples/mobile-layers.html
===================================================================
--- sandbox/tschaub/editing/examples/mobile-layers.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/mobile-layers.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -3,7 +3,7 @@
<head>
<title>OpenLayers Mobile Layers</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="style.mobile.css" type="text/css">
<script src="../lib/OpenLayers.js?mobile"></script>
Modified: sandbox/tschaub/editing/examples/mobile-navigation.html
===================================================================
--- sandbox/tschaub/editing/examples/mobile-navigation.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/mobile-navigation.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Mobile Navigation Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/mobile-sencha.html
===================================================================
--- sandbox/tschaub/editing/examples/mobile-sencha.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/mobile-sencha.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>OpenLayers with Sencha Touch</title>
Modified: sandbox/tschaub/editing/examples/mobile.html
===================================================================
--- sandbox/tschaub/editing/examples/mobile.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/mobile.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -3,7 +3,7 @@
<head>
<title>OpenLayers Mobile</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="style.mobile.css" type="text/css">
<script src="../lib/OpenLayers.js?mobile"></script>
Modified: sandbox/tschaub/editing/examples/modify-feature.html
===================================================================
--- sandbox/tschaub/editing/examples/modify-feature.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/modify-feature.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Modify Feature</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/mouse-position.html
===================================================================
--- sandbox/tschaub/editing/examples/mouse-position.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/mouse-position.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" debug="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>MousePosition Control</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/mousewheel-interval.html
===================================================================
--- sandbox/tschaub/editing/examples/mousewheel-interval.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/mousewheel-interval.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Mousewheel Interval Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/multimap-mercator.html
===================================================================
--- sandbox/tschaub/editing/examples/multimap-mercator.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/multimap-mercator.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>MultiMap SphericalMercator</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/multiserver.html
===================================================================
--- sandbox/tschaub/editing/examples/multiserver.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/multiserver.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Tiles from Multiple Servers</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/mvs.html
===================================================================
--- sandbox/tschaub/editing/examples/mvs.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/mvs.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -7,7 +7,7 @@
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- this gmaps key generated for http://openlayers.org/dev/ -->
Modified: sandbox/tschaub/editing/examples/navigation-control.html
===================================================================
--- sandbox/tschaub/editing/examples/navigation-control.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/navigation-control.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Navigation Control</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/navigation-history.html
===================================================================
--- sandbox/tschaub/editing/examples/navigation-history.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/navigation-history.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Navigation History Example</title>
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/navtoolbar-alwaysZoom.html
===================================================================
--- sandbox/tschaub/editing/examples/navtoolbar-alwaysZoom.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/navtoolbar-alwaysZoom.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>A navToolbar with an alwaysZoom ZoomBox</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/navtoolbar-outsidemap.html
===================================================================
--- sandbox/tschaub/editing/examples/navtoolbar-outsidemap.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/navtoolbar-outsidemap.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Custom Navigation Toolbar</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/navtoolbar.html
===================================================================
--- sandbox/tschaub/editing/examples/navtoolbar.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/navtoolbar.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/openls.html
===================================================================
--- sandbox/tschaub/editing/examples/openls.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/openls.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css"/>
<link rel="stylesheet" href="style.css" type="text/css"/>
Modified: sandbox/tschaub/editing/examples/ordering.html
===================================================================
--- sandbox/tschaub/editing/examples/ordering.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/ordering.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Z-Ordering and Y-Ordering of Vector Features</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/osm-google.html
===================================================================
--- sandbox/tschaub/editing/examples/osm-google.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/osm-google.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers OSM and Google Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/osm-layer.html
===================================================================
--- sandbox/tschaub/editing/examples/osm-layer.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/osm-layer.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: OSM Layer</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/osm.html
===================================================================
--- sandbox/tschaub/editing/examples/osm.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/osm.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Basic Single WMS Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/outOfRangeMarkers.html
===================================================================
--- sandbox/tschaub/editing/examples/outOfRangeMarkers.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/outOfRangeMarkers.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Using maxResolution to control overlays</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/overviewmap.html
===================================================================
--- sandbox/tschaub/editing/examples/overviewmap.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/overviewmap.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -1,7 +1,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Overview Map Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/pan-zoom-panels.html
===================================================================
--- sandbox/tschaub/editing/examples/pan-zoom-panels.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/pan-zoom-panels.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -1,7 +1,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Pan and Zoom Panels</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/panel.html
===================================================================
--- sandbox/tschaub/editing/examples/panel.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/panel.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Control Panel</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/point-track-markers.html
===================================================================
--- sandbox/tschaub/editing/examples/point-track-markers.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/point-track-markers.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Point Track Markers</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/popupMatrix.html
===================================================================
--- sandbox/tschaub/editing/examples/popupMatrix.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/popupMatrix.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html debug="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Popup Mayhem</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/popups.html
===================================================================
--- sandbox/tschaub/editing/examples/popups.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/popups.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/projected-map.html
===================================================================
--- sandbox/tschaub/editing/examples/projected-map.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/projected-map.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Non-Geographic Projection</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/protocol-gears.html
===================================================================
--- sandbox/tschaub/editing/examples/protocol-gears.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/protocol-gears.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<!--[if lte IE 6]>
Modified: sandbox/tschaub/editing/examples/regular-polygons.html
===================================================================
--- sandbox/tschaub/editing/examples/regular-polygons.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/regular-polygons.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Regular Polygon Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/resize-features.html
===================================================================
--- sandbox/tschaub/editing/examples/resize-features.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/resize-features.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Resize Features Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/restricted-extent.html
===================================================================
--- sandbox/tschaub/editing/examples/restricted-extent.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/restricted-extent.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Restricted Extent Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/rotate-features.html
===================================================================
--- sandbox/tschaub/editing/examples/rotate-features.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/rotate-features.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Rotate Features Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/select-feature-multilayer.html
===================================================================
--- sandbox/tschaub/editing/examples/select-feature-multilayer.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/select-feature-multilayer.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>SelectFeature Control on multiple vector layers</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/select-feature-openpopup.html
===================================================================
--- sandbox/tschaub/editing/examples/select-feature-openpopup.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/select-feature-openpopup.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Open Popup on Layer.Vector</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/select-feature.html
===================================================================
--- sandbox/tschaub/editing/examples/select-feature.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/select-feature.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>SelectFeature Control on Layer.Vector</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/setextent.html
===================================================================
--- sandbox/tschaub/editing/examples/setextent.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/setextent.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -1,6 +1,6 @@
<html>
<head>
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Setting a visual Extent</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/simplify-linestring.html
===================================================================
--- sandbox/tschaub/editing/examples/simplify-linestring.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/simplify-linestring.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Simplify a LineString geometry</title>
Modified: sandbox/tschaub/editing/examples/single-tile.html
===================================================================
--- sandbox/tschaub/editing/examples/single-tile.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/single-tile.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Single Tile</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/sld-parser.html
===================================================================
--- sandbox/tschaub/editing/examples/sld-parser.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/sld-parser.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers SLD Parser</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/sld.html
===================================================================
--- sandbox/tschaub/editing/examples/sld.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/sld.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/snap-split.html
===================================================================
--- sandbox/tschaub/editing/examples/snap-split.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/snap-split.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Snapping & Splitting</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/snapping.html
===================================================================
--- sandbox/tschaub/editing/examples/snapping.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/snapping.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Snapping</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/sos.html
===================================================================
--- sandbox/tschaub/editing/examples/sos.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/sos.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>SOS Client Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/spherical-mercator.html
===================================================================
--- sandbox/tschaub/editing/examples/spherical-mercator.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/spherical-mercator.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Spherical Mercator</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/split-feature.html
===================================================================
--- sandbox/tschaub/editing/examples/split-feature.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/split-feature.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Split Feature Example</title>
Modified: sandbox/tschaub/editing/examples/strategy-bbox.html
===================================================================
--- sandbox/tschaub/editing/examples/strategy-bbox.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/strategy-bbox.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers BBOX Strategy Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/strategy-cluster-extended.html
===================================================================
--- sandbox/tschaub/editing/examples/strategy-cluster-extended.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/strategy-cluster-extended.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Extended clustering example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/strategy-cluster-threshold.html
===================================================================
--- sandbox/tschaub/editing/examples/strategy-cluster-threshold.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/strategy-cluster-threshold.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Cluster Strategy Threshold</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/strategy-cluster.html
===================================================================
--- sandbox/tschaub/editing/examples/strategy-cluster.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/strategy-cluster.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Cluster Strategy Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/strategy-paging.html
===================================================================
--- sandbox/tschaub/editing/examples/strategy-paging.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/strategy-paging.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Paging Strategy Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/style-rules.html
===================================================================
--- sandbox/tschaub/editing/examples/style-rules.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/style-rules.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Rule Based Style</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/stylemap.html
===================================================================
--- sandbox/tschaub/editing/examples/stylemap.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/stylemap.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers StyleMap</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/styles-context.html
===================================================================
--- sandbox/tschaub/editing/examples/styles-context.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/styles-context.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Vector Styles</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/styles-rotation.html
===================================================================
--- sandbox/tschaub/editing/examples/styles-rotation.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/styles-rotation.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Styles Rotation Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/styles-unique.html
===================================================================
--- sandbox/tschaub/editing/examples/styles-unique.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/styles-unique.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Styles Unique Value Styles Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/sundials-spherical-mercator.html
===================================================================
--- sandbox/tschaub/editing/examples/sundials-spherical-mercator.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/sundials-spherical-mercator.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Sundials on a Spherical Mercator Map</title>
<script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
Modified: sandbox/tschaub/editing/examples/sundials.html
===================================================================
--- sandbox/tschaub/editing/examples/sundials.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/sundials.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/symbolizers-fill-stroke-graphic.html
===================================================================
--- sandbox/tschaub/editing/examples/symbolizers-fill-stroke-graphic.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/symbolizers-fill-stroke-graphic.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Fill, Stroke, and Graphic Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/teleportation.html
===================================================================
--- sandbox/tschaub/editing/examples/teleportation.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/teleportation.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Teleporter Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/tile-origin.html
===================================================================
--- sandbox/tschaub/editing/examples/tile-origin.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/tile-origin.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Tile Origin Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/tilecache.html
===================================================================
--- sandbox/tschaub/editing/examples/tilecache.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/tilecache.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers TileCache Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/tms.html
===================================================================
--- sandbox/tschaub/editing/examples/tms.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/tms.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Tiled Map Service Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/transform-feature.html
===================================================================
--- sandbox/tschaub/editing/examples/transform-feature.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/transform-feature.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Transformation Box</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/transition.html
===================================================================
--- sandbox/tschaub/editing/examples/transition.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/transition.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Transitions Example</title>
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/urban.html
===================================================================
--- sandbox/tschaub/editing/examples/urban.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/urban.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers WorldWind Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/ve-novibrate.html
===================================================================
--- sandbox/tschaub/editing/examples/ve-novibrate.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/ve-novibrate.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Virtual Earth Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/ve.html
===================================================================
--- sandbox/tschaub/editing/examples/ve.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/ve.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Virtual Earth Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/vector-features-with-text.html
===================================================================
--- sandbox/tschaub/editing/examples/vector-features-with-text.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/vector-features-with-text.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -1,7 +1,7 @@
<!DOCTYPE HTML>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Labeled Features Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/vector-features.html
===================================================================
--- sandbox/tschaub/editing/examples/vector-features.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/vector-features.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Vector Features</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/vector-formats.html
===================================================================
--- sandbox/tschaub/editing/examples/vector-formats.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/vector-formats.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Vector Formats</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/web-mercator.html
===================================================================
--- sandbox/tschaub/editing/examples/web-mercator.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/web-mercator.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Web Mercator</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/wfs-filter.html
===================================================================
--- sandbox/tschaub/editing/examples/wfs-filter.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/wfs-filter.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers WFS Protocol with Filter</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/wfs-protocol-transactions.html
===================================================================
--- sandbox/tschaub/editing/examples/wfs-protocol-transactions.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/wfs-protocol-transactions.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/wfs-protocol.html
===================================================================
--- sandbox/tschaub/editing/examples/wfs-protocol.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/wfs-protocol.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Vector Behavior Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/wfs-reprojection.html
===================================================================
--- sandbox/tschaub/editing/examples/wfs-reprojection.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/wfs-reprojection.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>WFS Reprojection Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/wfs-snap-split.html
===================================================================
--- sandbox/tschaub/editing/examples/wfs-snap-split.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/wfs-snap-split.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -1,7 +1,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Copied: sandbox/tschaub/editing/examples/wfs-spatial-filter.html (from rev 12088, trunk/openlayers/examples/wfs-spatial-filter.html)
===================================================================
--- sandbox/tschaub/editing/examples/wfs-spatial-filter.html (rev 0)
+++ sandbox/tschaub/editing/examples/wfs-spatial-filter.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <title>OpenLayers WFS Protocol with Filter</title>
+ <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+ <link rel="stylesheet" href="style.css" type="text/css">
+ <script src="../lib/OpenLayers.js"></script>
+ </head>
+ <body>
+ <h1 id="title">WFS Protocol and Filter</h1>
+ <div id="tags">
+ filter, wfs, spatial
+ </div>
+ <p id="shortdesc">
+ Demonstrates the use of a spatial filter in making GetFeature requests using the WFS protocol.
+ </p>
+ <div id="map" class="smallmap"></div>
+ <div id="docs">
+ <p>
+ If a vector layer has a filter and the protocol supports server-side filtering,
+ the filter will be serialized in requests for features. The WFS protocol can be
+ used with a vector layer to serialize a filter using OGC Filter Encoding.
+ </p><p>
+ This example has a draw control that is always active. When you draw a polygon
+ on the map, the filter for the main vector layer will be updated, and features
+ that intersect your drawn polygon will be requested.
+ </p><p>
+ See the <a href="wfs-spatial-filter.js" target="_blank">source</a>
+ for details on how this is done.
+ </p>
+ </div>
+ <script src="wfs-spatial-filter.js"></script>
+ </body>
+</html>
Copied: sandbox/tschaub/editing/examples/wfs-spatial-filter.js (from rev 12088, trunk/openlayers/examples/wfs-spatial-filter.js)
===================================================================
--- sandbox/tschaub/editing/examples/wfs-spatial-filter.js (rev 0)
+++ sandbox/tschaub/editing/examples/wfs-spatial-filter.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -0,0 +1,36 @@
+OpenLayers.ProxyHost= "proxy.cgi?url=";
+var map = new OpenLayers.Map('map');
+var wms = new OpenLayers.Layer.WMS(
+ "OpenLayers WMS", "http://vmap0.tiles.osgeo.org/wms/vmap0",
+ {layers: "basic"}
+);
+
+var layer = new OpenLayers.Layer.Vector("WFS", {
+ strategies: [new OpenLayers.Strategy.BBOX()],
+ protocol: new OpenLayers.Protocol.WFS({
+ url: "http://demo.opengeo.org/geoserver/wfs",
+ featureType: "tasmania_roads",
+ featureNS: "http://www.openplans.org/topp"
+ })
+});
+
+map.addLayers([wms, layer]);
+map.setCenter(new OpenLayers.LonLat(146.7, -41.8), 6);
+
+var drawings = new OpenLayers.Layer.Vector();
+map.addLayer(drawings);
+var draw = new OpenLayers.Control.DrawFeature(drawings, OpenLayers.Handler.Polygon);
+map.addControl(draw);
+draw.activate();
+
+drawings.events.on({
+ beforefeatureadded: function(event) {
+ var geometry = event.feature.geometry;
+ layer.filter = new OpenLayers.Filter.Spatial({
+ type: OpenLayers.Filter.Spatial.INTERSECTS,
+ value: event.feature.geometry
+ });
+ layer.refresh({force: true});
+ return false;
+ }
+});
Modified: sandbox/tschaub/editing/examples/wfs-states.html
===================================================================
--- sandbox/tschaub/editing/examples/wfs-states.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/wfs-states.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/wmc.html
===================================================================
--- sandbox/tschaub/editing/examples/wmc.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/wmc.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/wms-long-url.html
===================================================================
--- sandbox/tschaub/editing/examples/wms-long-url.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/wms-long-url.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>WMS with POST Requests to Avoid Long URLs</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/wms-untiled.html
===================================================================
--- sandbox/tschaub/editing/examples/wms-untiled.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/wms-untiled.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/wms-v13.html
===================================================================
--- sandbox/tschaub/editing/examples/wms-v13.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/wms-v13.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/wms.html
===================================================================
--- sandbox/tschaub/editing/examples/wms.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/wms.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/wmst.html
===================================================================
--- sandbox/tschaub/editing/examples/wmst.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/wmst.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: WMS + Time</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/wmts-capabilities.html
===================================================================
--- sandbox/tschaub/editing/examples/wmts-capabilities.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/wmts-capabilities.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers WMTS Capabilities Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css"/>
Modified: sandbox/tschaub/editing/examples/wmts-getfeatureinfo.html
===================================================================
--- sandbox/tschaub/editing/examples/wmts-getfeatureinfo.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/wmts-getfeatureinfo.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers WMTS GetFeatureInfo Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css"/>
Modified: sandbox/tschaub/editing/examples/wmts.html
===================================================================
--- sandbox/tschaub/editing/examples/wmts.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/wmts.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers WMTS Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css"/>
Modified: sandbox/tschaub/editing/examples/worldwind.html
===================================================================
--- sandbox/tschaub/editing/examples/worldwind.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/worldwind.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/wrapDateLine.html
===================================================================
--- sandbox/tschaub/editing/examples/wrapDateLine.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/wrapDateLine.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Wrap Date Line</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/xhtml.html
===================================================================
--- sandbox/tschaub/editing/examples/xhtml.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/xhtml.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<title>XHTML Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css"/>
Modified: sandbox/tschaub/editing/examples/xml.html
===================================================================
--- sandbox/tschaub/editing/examples/xml.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/xml.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>XML Parsing Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/xyz-esri.html
===================================================================
--- sandbox/tschaub/editing/examples/xyz-esri.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/xyz-esri.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Basic ESRI Map Cache Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/xyz-offset.html
===================================================================
--- sandbox/tschaub/editing/examples/xyz-offset.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/xyz-offset.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers XYZ with Offset</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/yahoo.html
===================================================================
--- sandbox/tschaub/editing/examples/yahoo.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/yahoo.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers: Yahoo Layer</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/zoomLevels.html
===================================================================
--- sandbox/tschaub/editing/examples/zoomLevels.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/zoomLevels.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
<link rel="stylesheet" href="style.css" type="text/css">
Modified: sandbox/tschaub/editing/examples/zoomify.html
===================================================================
--- sandbox/tschaub/editing/examples/zoomify.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/examples/zoomify.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,7 +2,7 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>OpenLayers Zoomify Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
Copied: sandbox/tschaub/editing/lib/OpenLayers/Format/OGCExceptionReport.js (from rev 12088, trunk/openlayers/lib/OpenLayers/Format/OGCExceptionReport.js)
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Format/OGCExceptionReport.js (rev 0)
+++ sandbox/tschaub/editing/lib/OpenLayers/Format/OGCExceptionReport.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -0,0 +1,110 @@
+/* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for
+ * full list of contributors). Published under the Clear BSD license.
+ * See http://svn.openlayers.org/trunk/openlayers/license.txt for the
+ * full text of the license. */
+
+/**
+ * @requires OpenLayers/Format/XML.js
+ * @requires OpenLayers/Format/OWSCommon/v1_0_0.js
+ * @requires OpenLayers/Format/OWSCommon/v1_1_0.js
+ */
+
+/**
+ * Class: OpenLayers.Format.OGCExceptionReport
+ * Class to read exception reports for various OGC services and versions.
+ *
+ * Inherits from:
+ * - <OpenLayers.Format.XML>
+ */
+OpenLayers.Format.OGCExceptionReport = OpenLayers.Class(OpenLayers.Format.XML, {
+
+ /**
+ * Property: namespaces
+ * {Object} Mapping of namespace aliases to namespace URIs.
+ */
+ namespaces: {
+ ogc: "http://www.opengis.net/ogc"
+ },
+
+ /**
+ * Property: regExes
+ * Compiled regular expressions for manipulating strings.
+ */
+ regExes: {
+ trimSpace: (/^\s*|\s*$/g),
+ removeSpace: (/\s*/g),
+ splitSpace: (/\s+/),
+ trimComma: (/\s*,\s*/g)
+ },
+
+ /**
+ * Property: defaultPrefix
+ */
+ defaultPrefix: "ogc",
+
+ /**
+ * Constructor: OpenLayers.Format.OGCExceptionReport
+ * Create a new parser for OGC exception reports.
+ *
+ * Parameters:
+ * options - {Object} An optional object whose properties will be set on
+ * this instance.
+ */
+
+ /**
+ * APIMethod: read
+ * Read OGC exception report data from a string, and return an object with
+ * information about the exceptions.
+ *
+ * Parameters:
+ * data - {String} or {DOMElement} data to read/parse.
+ *
+ * Returns:
+ * {Object} Information about the exceptions that occurred.
+ */
+ read: function(data) {
+ var result;
+ if(typeof data == "string") {
+ data = OpenLayers.Format.XML.prototype.read.apply(this, [data]);
+ }
+ var root = data.documentElement;
+ var exceptionInfo = {exceptionReport: null};
+ if (root) {
+ this.readChildNodes(data, exceptionInfo);
+ if (exceptionInfo.exceptionReport === null) {
+ // fall-back to OWSCommon since this is a common output format for exceptions
+ // we cannot easily use the ows readers directly since they differ for 1.0 and 1.1
+ exceptionInfo = new OpenLayers.Format.OWSCommon().read(data);
+ }
+ }
+ return exceptionInfo;
+ },
+
+ /**
+ * Property: readers
+ * Contains public functions, grouped by namespace prefix, that will
+ * be applied when a namespaced node is found matching the function
+ * name. The function will be applied in the scope of this parser
+ * with two arguments: the node being read and a context object passed
+ * from the parent.
+ */
+ readers: {
+ "ogc": {
+ "ServiceExceptionReport": function(node, obj) {
+ obj.exceptionReport = {exceptions: []};
+ this.readChildNodes(node, obj.exceptionReport);
+ },
+ "ServiceException": function(node, exceptionReport) {
+ var exception = {
+ code: node.getAttribute("code"),
+ locator: node.getAttribute("locator"),
+ text: this.getChildValue(node)
+ };
+ exceptionReport.exceptions.push(exception);
+ }
+ }
+ },
+
+ CLASS_NAME: "OpenLayers.Format.OGCExceptionReport"
+
+});
Modified: sandbox/tschaub/editing/lib/OpenLayers/Format/OWSCommon/v1.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Format/OWSCommon/v1.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Format/OWSCommon/v1.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -4,13 +4,9 @@
* full text of the license. */
/**
- * @requires OpenLayers/Format/XML.js
+ * @requires OpenLayers/Format/OWSCommon.js
*/
-if (!OpenLayers.Format.OWSCommon) {
- OpenLayers.Format.OWSCommon = {};
-}
-
/**
* Class: OpenLayers.Format.OWSCommon.v1
* Common readers and writers for OWSCommon v1.X formats
@@ -29,6 +25,23 @@
},
/**
+ * Method: read
+ *
+ * Parameters:
+ * data - {DOMElement} An OWSCommon document element.
+ * options - {Object} Options for the reader.
+ *
+ * Returns:
+ * {Object} An object representing the OWSCommon document.
+ */
+ read: function(data, options) {
+ options = OpenLayers.Util.applyDefaults(options, this.options);
+ var ows = {};
+ this.readChildNodes(data, ows);
+ return ows;
+ },
+
+ /**
* Property: readers
* Contains public functions, grouped by namespace prefix, that will
* be applied when a namespaced node is found matching the function
@@ -38,6 +51,19 @@
*/
readers: {
"ows": {
+ "Exception": function(node, exceptionReport) {
+ var exception = {
+ code: node.getAttribute('exceptionCode'),
+ locator: node.getAttribute('locator'),
+ texts: []
+ };
+ exceptionReport.exceptions.push(exception);
+ this.readChildNodes(node, exception);
+ },
+ "ExceptionText": function(node, exception) {
+ var text = this.getChildValue(node);
+ exception.texts.push(text);
+ },
"ServiceIdentification": function(node, obj) {
obj.serviceIdentification = {};
this.readChildNodes(node, obj.serviceIdentification);
Modified: sandbox/tschaub/editing/lib/OpenLayers/Format/OWSCommon/v1_0_0.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Format/OWSCommon/v1_0_0.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Format/OWSCommon/v1_0_0.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -9,8 +9,7 @@
/**
* Class: OpenLayers.Format.OWSCommon.v1_0_0
- * Parser for OWS Common version 1.0.0 which can be used by other parsers.
- * It is not intended to be used on its own.
+ * Parser for OWS Common version 1.0.0.
*/
OpenLayers.Format.OWSCommon.v1_0_0 = OpenLayers.Class(OpenLayers.Format.OWSCommon.v1, {
@@ -19,7 +18,7 @@
* {Object} Mapping of namespace aliases to namespace URIs.
*/
namespaces: {
- ows: "http://www.opengis.net/ows/1.0",
+ ows: "http://www.opengis.net/ows",
xlink: "http://www.w3.org/1999/xlink"
},
@@ -32,7 +31,17 @@
* from the parent.
*/
readers: {
- "ows": OpenLayers.Format.OWSCommon.v1.prototype.readers["ows"]
+ "ows": OpenLayers.Util.applyDefaults({
+ "ExceptionReport": function(node, obj) {
+ obj.success = false;
+ obj.exceptionReport = {
+ version: node.getAttribute('version'),
+ language: node.getAttribute('language'),
+ exceptions: []
+ };
+ this.readChildNodes(node, obj.exceptionReport);
+ }
+ }, OpenLayers.Format.OWSCommon.v1.prototype.readers.ows)
},
/**
@@ -42,9 +51,9 @@
* node names they produce.
*/
writers: {
- "ows": OpenLayers.Format.OWSCommon.v1.prototype.writers["ows"]
+ "ows": OpenLayers.Format.OWSCommon.v1.prototype.writers.ows
},
- CLASS_NAME: "OpenLayers.Format.OWSCommon.v1_1_0"
+ CLASS_NAME: "OpenLayers.Format.OWSCommon.v1_0_0"
});
Modified: sandbox/tschaub/editing/lib/OpenLayers/Format/OWSCommon/v1_1_0.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Format/OWSCommon/v1_1_0.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Format/OWSCommon/v1_1_0.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -9,8 +9,7 @@
/**
* Class: OpenLayers.Format.OWSCommon.v1_1_0
- * Parser for OWS Common version 1.1.0 which can be used by other parsers.
- * It is not intended to be used on its own.
+ * Parser for OWS Common version 1.1.0.
*/
OpenLayers.Format.OWSCommon.v1_1_0 = OpenLayers.Class(OpenLayers.Format.OWSCommon.v1, {
@@ -33,6 +32,14 @@
*/
readers: {
"ows": OpenLayers.Util.applyDefaults({
+ "ExceptionReport": function(node, obj) {
+ obj.exceptionReport = {
+ version: node.getAttribute('version'),
+ language: node.getAttribute('xml:lang'),
+ exceptions: []
+ };
+ this.readChildNodes(node, obj.exceptionReport);
+ },
"AllowedValues": function(node, parameter) {
parameter.allowedValues = {};
this.readChildNodes(node, parameter.allowedValues);
Copied: sandbox/tschaub/editing/lib/OpenLayers/Format/OWSCommon.js (from rev 12088, trunk/openlayers/lib/OpenLayers/Format/OWSCommon.js)
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Format/OWSCommon.js (rev 0)
+++ sandbox/tschaub/editing/lib/OpenLayers/Format/OWSCommon.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -0,0 +1,93 @@
+/* Copyright (c) 2006-2011 by OpenLayers Contributors (see authors.txt for
+ * full list of contributors). Published under the Clear BSD license.
+ * See http://svn.openlayers.org/trunk/openlayers/license.txt for the
+ * full text of the license. */
+
+/**
+ * @requires OpenLayers/Format/XML.js
+ */
+
+/**
+ * Class: OpenLayers.Format.OWSCommon
+ * Read OWSCommon. Create a new instance with the <OpenLayers.Format.OWSCommon>
+ * constructor.
+ *
+ * Inherits from:
+ * - <OpenLayers.Format.XML>
+ */
+OpenLayers.Format.OWSCommon = OpenLayers.Class(OpenLayers.Format.XML, {
+
+ /**
+ * APIProperty: defaultVersion
+ * {String} Version number to assume if none found. Default is "1.0.0".
+ */
+ defaultVersion: "1.0.0",
+
+ /**
+ * APIProperty: version
+ * {String} Specify a version string if one is known.
+ */
+ version: null,
+
+ /**
+ * Property: parser
+ * {Object} Instance of the versioned parser. Cached for multiple read and
+ * write calls of the same version.
+ */
+ parser: null,
+
+ /**
+ * Constructor: OpenLayers.Format.OWSCommon
+ * Create a new parser for OWSCommon.
+ *
+ * Parameters:
+ * options - {Object} An optional object whose properties will be set on
+ * this instance.
+ */
+
+ /**
+ * APIMethod: read
+ * Read an OWSCommon document and return an object.
+ *
+ * Parameters:
+ * data - {String | DOMElement} Data to read.
+ * options - {Object} Options for the reader.
+ *
+ * Returns:
+ * {Object} An object representing the structure of the document.
+ */
+ read: function(data, options) {
+ if(typeof data == "string") {
+ data = OpenLayers.Format.XML.prototype.read.apply(this, [data]);
+ }
+ var root = data.documentElement;
+ var version = this.version;
+ if(!version) {
+ // remember version does not correspond to the OWS version
+ // it corresponds to the WMS/WFS/WCS etc. request version
+ var uri = root.getAttribute("xmlns:ows");
+ // the above will fail if the namespace prefix is different than
+ // ows and if the namespace is declared on a different element
+ if (uri && uri.substring(uri.lastIndexOf("/")+1) === "1.1") {
+ version ="1.1.0";
+ }
+ if(!version) {
+ version = this.defaultVersion;
+ }
+ }
+ if(!this.parser || this.parser.VERSION != version) {
+ var format = OpenLayers.Format.OWSCommon[
+ "v" + version.replace(/\./g, "_")
+ ];
+ if(!format) {
+ throw "Can't find a OWSCommon parser for version " +
+ version;
+ }
+ this.parser = new format(this.options);
+ }
+ var ows = this.parser.read(data, options);
+ return ows;
+ },
+
+ CLASS_NAME: "OpenLayers.Format.OWSCommon"
+});
Modified: sandbox/tschaub/editing/lib/OpenLayers/Format/WFSCapabilities.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Format/WFSCapabilities.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Format/WFSCapabilities.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -5,6 +5,7 @@
/**
* @requires OpenLayers/Format/XML.js
+ * @requires OpenLayers/Format/OGCExceptionReport.js
*/
/**
@@ -67,6 +68,11 @@
}
var parser = new constr(this.options);
var capabilities = parser.read(data);
+ if (capabilities.service === undefined) {
+ // an error must have happened, so parse it and report back
+ var format = new OpenLayers.Format.OGCExceptionReport();
+ capabilities.error = format.read(data);
+ }
capabilities.version = version;
return capabilities;
},
Modified: sandbox/tschaub/editing/lib/OpenLayers/Format/WFST/v1.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Format/WFST/v1.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Format/WFST/v1.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -26,7 +26,8 @@
xsi: "http://www.w3.org/2001/XMLSchema-instance",
wfs: "http://www.opengis.net/wfs",
gml: "http://www.opengis.net/gml",
- ogc: "http://www.opengis.net/ogc"
+ ogc: "http://www.opengis.net/ogc",
+ ows: "http://www.opengis.net/ows"
},
/**
Modified: sandbox/tschaub/editing/lib/OpenLayers/Format/WFST/v1_1_0.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Format/WFST/v1_1_0.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Format/WFST/v1_1_0.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -6,6 +6,7 @@
/**
* @requires OpenLayers/Format/WFST/v1.js
* @requires OpenLayers/Format/Filter/v1_1_0.js
+ * @requires OpenLayers/Format/OWSCommon/v1_0_0.js
*/
/**
@@ -96,7 +97,8 @@
}, OpenLayers.Format.WFST.v1.prototype.readers["wfs"]),
"gml": OpenLayers.Format.GML.v3.prototype.readers["gml"],
"feature": OpenLayers.Format.GML.v3.prototype.readers["feature"],
- "ogc": OpenLayers.Format.Filter.v1_1_0.prototype.readers["ogc"]
+ "ogc": OpenLayers.Format.Filter.v1_1_0.prototype.readers["ogc"],
+ "ows": OpenLayers.Format.OWSCommon.v1_0_0.prototype.readers["ows"]
},
/**
Modified: sandbox/tschaub/editing/lib/OpenLayers/Format/WMSCapabilities/v1.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Format/WMSCapabilities/v1.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Format/WMSCapabilities/v1.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -5,6 +5,7 @@
/**
* @requires OpenLayers/Format/WMSCapabilities.js
+ * @requires OpenLayers/Format/OGCExceptionReport.js
* @requires OpenLayers/Format/XML.js
*/
@@ -60,15 +61,20 @@
if(typeof data == "string") {
data = OpenLayers.Format.XML.prototype.read.apply(this, [data]);
}
+ var raw = data;
if(data && data.nodeType == 9) {
data = data.documentElement;
}
var capabilities = {};
this.readNode(data, capabilities);
-
- // postprocess the layer list
- this.postProcessLayers(capabilities);
-
+ if (capabilities.service === undefined) {
+ // an exception must have occurred, so parse it
+ var parser = new OpenLayers.Format.OGCExceptionReport();
+ capabilities.error = parser.read(raw);
+ } else {
+ // postprocess the layer list
+ this.postProcessLayers(capabilities);
+ }
return capabilities;
},
@@ -305,15 +311,22 @@
"Get": function(node, obj) {
obj.get = {};
this.readChildNodes(node, obj.get);
+ // backwards compatibility
+ if (!obj.href) {
+ obj.href = obj.get.href;
+ }
},
"Post": function(node, obj) {
obj.post = {};
this.readChildNodes(node, obj.post);
+ // backwards compatibility
+ if (!obj.href) {
+ obj.href = obj.get.href;
+ }
},
"GetMap": function(node, obj) {
obj.getmap = {formats: []};
this.readChildNodes(node, obj.getmap);
- obj.getmap.href = obj.getmap.get.href || obj.getmap.post.href; // backwards compatibility
},
"GetFeatureInfo": function(node, obj) {
obj.getfeatureinfo = {formats: []};
Modified: sandbox/tschaub/editing/lib/OpenLayers/Handler/Box.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Handler/Box.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Handler/Box.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -43,12 +43,16 @@
*
* Parameters:
* control - {<OpenLayers.Control>}
- * callbacks - {Object} An object with a "done" property whose value is a
- * callback to be called when the box drag operation is finished.
- * The callback should expect to recieve a single argument, the box
+ * callbacks - {Object} An object with a properties whose values are
+ * functions. Various callbacks described below.
+ * options - {Object}
+ *
+ * Named callbacks:
+ * start - Called when the box drag operation starts.
+ * done - Called when the box drag operation is finished.
+ * The callback should expect to receive a single argument, the box
* bounds or a pixel. If the box dragging didn't span more than a 5
* pixel distance, a pixel will be returned instead of a bounds object.
- * options - {Object}
*/
initialize: function(control, callbacks, options) {
OpenLayers.Handler.prototype.initialize.apply(this, arguments);
@@ -89,9 +93,10 @@
* Method: startBox
*
* Parameters:
- * evt - {Event}
+ * xy - {<OpenLayers.Pixel>}
*/
startBox: function (xy) {
+ this.callback("start", []);
this.zoomBox = OpenLayers.Util.createDiv('zoomBox',
new OpenLayers.Pixel(-9999, -9999));
this.zoomBox.className = this.boxDivClassName;
Modified: sandbox/tschaub/editing/lib/OpenLayers/Handler/Path.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Handler/Path.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Handler/Path.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -108,13 +108,10 @@
* feature.
*/
createFeature: function(pixel) {
- var geometry;
- if(pixel) {
- var lonlat = this.map.getLonLatFromPixel(pixel);
- geometry = new OpenLayers.Geometry.Point(lonlat.lon, lonlat.lat);
- } else {
- geometry = new OpenLayers.Geometry.Point();
- }
+ var lonlat = this.map.getLonLatFromPixel(pixel);
+ var geometry = new OpenLayers.Geometry.Point(
+ lonlat.lon, lonlat.lat
+ );
this.point = new OpenLayers.Feature.Vector(geometry);
this.line = new OpenLayers.Feature.Vector(
new OpenLayers.Geometry.LineString([this.point.geometry])
@@ -127,9 +124,13 @@
/**
* Method: destroyFeature
* Destroy temporary geometries
+ *
+ * Parameters:
+ * force - {Boolean} Destroy even if persist is true.
*/
- destroyFeature: function() {
- OpenLayers.Handler.Point.prototype.destroyFeature.apply(this);
+ destroyFeature: function(force) {
+ OpenLayers.Handler.Point.prototype.destroyFeature.call(
+ this, force);
this.line = null;
},
@@ -322,6 +323,9 @@
* drawing - {Boolean} Indicate if we're currently drawing.
*/
modifyFeature: function(pixel, drawing) {
+ if(!this.line) {
+ this.createFeature(pixel);
+ }
var lonlat = this.control.map.getLonLatFromPixel(pixel);
this.point.geometry.x = lonlat.lon;
this.point.geometry.y = lonlat.lat;
@@ -464,6 +468,9 @@
up: function (evt) {
if (this.mouseDown && (!this.lastUp || !this.lastUp.equals(evt.xy))) {
if(this.stoppedDown && this.freehandMode(evt)) {
+ if (this.persist) {
+ this.destroyPersistedFeature();
+ }
this.removePoint();
this.finalize();
} else {
Modified: sandbox/tschaub/editing/lib/OpenLayers/Handler/Point.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Handler/Point.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Handler/Point.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -168,7 +168,6 @@
}, this.layerOptions);
this.layer = new OpenLayers.Layer.Vector(this.CLASS_NAME, options);
this.map.addLayer(this.layer);
- this.createFeature();
return true;
},
@@ -180,13 +179,10 @@
* pixel - {<OpenLayers.Pixel>} A pixel location on the map.
*/
createFeature: function(pixel) {
- var geometry;
- if(pixel) {
- var lonlat = this.map.getLonLatFromPixel(pixel);
- geometry = new OpenLayers.Geometry.Point(lonlat.lon, lonlat.lat);
- } else {
- geometry = new OpenLayers.Geometry.Point();
- }
+ var lonlat = this.map.getLonLatFromPixel(pixel);
+ var geometry = new OpenLayers.Geometry.Point(
+ lonlat.lon, lonlat.lat
+ );
this.point = new OpenLayers.Feature.Vector(geometry);
this.callback("create", [this.point.geometry, this.point]);
this.point.geometry.clearBounds();
@@ -201,14 +197,14 @@
if(!OpenLayers.Handler.prototype.deactivate.apply(this, arguments)) {
return false;
}
- this.cancel(true);
+ this.cancel();
// If a layer's map property is set to null, it means that that layer
// isn't added to the map. Since we ourself added the layer to the map
// in activate(), we can assume that if this.layer.map is null it means
// that the layer has been destroyed (as a result of map.destroy() for
// example.
if (this.layer.map != null) {
- this.destroyFeature();
+ this.destroyFeature(true);
this.layer.destroy(false);
}
this.layer = null;
@@ -219,9 +215,12 @@
/**
* Method: destroyFeature
* Destroy the temporary geometries
+ *
+ * Parameters:
+ * force - {Boolean} Destroy even if persist is true.
*/
- destroyFeature: function() {
- if(this.layer) {
+ destroyFeature: function(force) {
+ if(this.layer && (force || !this.persist)) {
this.layer.destroyFeatures();
}
this.point = null;
@@ -243,12 +242,10 @@
* Finish the geometry and call the "done" callback.
*
* Parameters:
- * cancel - {Boolean} Call cancel instead of done callback. Default is
- * false.
- * noNew - {Boolean} Do not create a new feature after
- * finalization. Default is false.
+ * cancel - {Boolean} Call cancel instead of done callback. Default
+ * is false.
*/
- finalize: function(cancel, noNew) {
+ finalize: function(cancel) {
var key = cancel ? "cancel" : "done";
this.drawing = false;
this.mouseDown = false;
@@ -256,24 +253,15 @@
this.lastUp = null;
this.lastTouchPx = null;
this.callback(key, [this.geometryClone()]);
- if(cancel || !this.persist) {
- this.destroyFeature();
- }
- if(!noNew && this.active) {
- this.createFeature();
- }
+ this.destroyFeature(cancel);
},
/**
* APIMethod: cancel
* Finish the geometry and call the "cancel" callback.
- *
- * Parameters:
- * noNew - {Boolean} Do not create a new feature after
- * cancelation. Default is false.
*/
- cancel: function(noNew) {
- this.finalize(true, noNew);
+ cancel: function() {
+ this.finalize(true);
},
/**
@@ -316,6 +304,9 @@
* pixel - {<OpenLayers.Pixel>} A pixel location on the map.
*/
modifyFeature: function(pixel) {
+ if(!this.point) {
+ this.createFeature(pixel);
+ }
var lonlat = this.map.getLonLatFromPixel(pixel);
this.point.geometry.x = lonlat.lon;
this.point.geometry.y = lonlat.lat;
Modified: sandbox/tschaub/editing/lib/OpenLayers/Handler/Polygon.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Handler/Polygon.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Handler/Polygon.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -75,13 +75,10 @@
* feature.
*/
createFeature: function(pixel) {
- var geometry;
- if(pixel) {
- var lonlat = this.map.getLonLatFromPixel(pixel);
- geometry = new OpenLayers.Geometry.Point(lonlat.lon, lonlat.lat);
- } else {
- geometry = new OpenLayers.Geometry.Point();
- }
+ var lonlat = this.map.getLonLatFromPixel(pixel);
+ var geometry = new OpenLayers.Geometry.Point(
+ lonlat.lon, lonlat.lat
+ );
this.point = new OpenLayers.Feature.Vector(geometry);
this.line = new OpenLayers.Feature.Vector(
new OpenLayers.Geometry.LinearRing([this.point.geometry])
@@ -261,9 +258,13 @@
/**
* Method: destroyFeature
* Destroy temporary geometries
+ *
+ * Parameters:
+ * force - {Boolean} Destroy even if persist is true.
*/
- destroyFeature: function() {
- OpenLayers.Handler.Path.prototype.destroyFeature.apply(this);
+ destroyFeature: function(force) {
+ OpenLayers.Handler.Path.prototype.destroyFeature.call(
+ this, force);
this.polygon = null;
},
Modified: sandbox/tschaub/editing/lib/OpenLayers/Layer/Bing.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Layer/Bing.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Layer/Bing.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -5,6 +5,7 @@
/**
* @requires OpenLayers/Layer/XYZ.js
+ * @requires OpenLayers/Layer/SphericalMercator.js
*/
/**
Modified: sandbox/tschaub/editing/lib/OpenLayers/Layer/GoogleNG.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Layer/GoogleNG.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Layer/GoogleNG.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -5,14 +5,13 @@
/**
* @requires OpenLayers/Layer/XYZ.js
+ * @requires OpenLayers/Tile/Google.js
+ * @requires OpenLayers/Layer/SphericalMercator.js
*/
/**
* Class: OpenLayers.Layer.GoogleNG
- * Google layer using <OpenLayers.Tile.Google> tiles. Note: Terms of Service
- * compliant use requires the map to be configured with an
- * <OpenLayers.Control.Attribution> control and the attribution placed on or
- * near the map.
+ * Google layer using <OpenLayers.Tile.Google> tiles.
*
* Inherits from:
* - <OpenLayers.Layer.XYZ>
@@ -31,13 +30,11 @@
* {String}
*/
attributionTemplate: '<span class="olGoogleAttribution ${mapType}">' +
- '<div><a target="_blank" href="http://maps.google.com/maps?' +
+ '<div><a title="Click to see this area on Google Maps" ' +
+ 'target="_blank" href="http://maps.google.com/maps?' +
'll=${center}&z=${zoom}&t=${t}"><img width="62" height="24" ' +
'src="http://maps.gstatic.com/mapfiles/google_white.png"/></a>' +
- '</div><a style="white-space: nowrap" target="_blank" ' +
- 'href="http://maps.google.com/maps/api/staticmap?sensor=true' +
- '¢er=${center}&zoom=${zoom}&size=${size}&maptype=${mapType}">' +
- 'Map data</a> - <a style="white-space: nowrap" target="_blank" ' +
+ '</div>${mapData}<a style="white-space: nowrap" target="_blank" ' +
'href="http://www.google.com/help/terms_maps.html">' +
'Terms of Use</a></span>',
@@ -54,13 +51,6 @@
},
/**
- * Property: mapObject
- * {google.maps.Map} Shared GMaps instance - will be set on the prototype
- * upon instantiation of the 1st GoogleNG layer
- */
- mapObject: null,
-
- /**
* APIProperty: type
* {google.maps.MapTypeId} See
* http://code.google.com/apis/maps/documentation/javascript/reference.html#MapTypeId
@@ -70,7 +60,10 @@
/**
* Constructor: OpenLayers.Layer.GoogleNG
* Create a new GoogleNG layer. Requires the GMaps v3 JavaScript API script
- * included in the html document.
+ * (http://maps.google.com/maps/api/js?v=3.5&sensor=false) loaded in
+ * the html document. Note: Terms of Service compliant use requires the map
+ * to be configured with an <OpenLayers.Control.Attribution> control and
+ * the attribution placed on the map.
*
* Example:
* (code)
@@ -102,15 +95,15 @@
OpenLayers.Layer.XYZ.prototype.initialize.apply(this, newArgs);
this.options.numZoomLevels = options.numZoomLevels;
- if (!this.mapObject) {
- OpenLayers.Layer.GoogleNG.prototype.mapObject =
+ if (!OpenLayers.Layer.GoogleNG.mapObject) {
+ OpenLayers.Layer.GoogleNG.mapObject =
new google.maps.Map(document.createElement("div"));
}
- if (this.mapObject.mapTypes[this.type]) {
+ if (OpenLayers.Layer.GoogleNG.mapObject.mapTypes[this.type]) {
this.initLayer();
} else {
google.maps.event.addListenerOnce(
- this.mapObject,
+ OpenLayers.Layer.GoogleNG.mapObject,
"idle",
OpenLayers.Function.bind(this.initLayer, this)
);
@@ -123,7 +116,7 @@
* Sets layer properties according to the metadata provided by the API
*/
initLayer: function() {
- var mapType = this.mapObject.mapTypes[this.type];
+ var mapType = OpenLayers.Layer.GoogleNG.mapObject.mapTypes[this.type];
if (!this.name) {
this.setName("Google " + mapType.name);
}
@@ -170,8 +163,31 @@
/**
* Method: updateAttribution
* Updates the attribution using the <attributionTemplate>
+ *
+ * Parameters:
+ * copyrights - {Object} Object with "m", "k", "h" and "p" properties (see
+ * <mapTypes>), each holding an array of copyrights.
*/
- updateAttribution: function() {
+ updateAttribution: function(copyrights) {
+ var myCopyrights;
+ if (this.type == google.maps.MapTypeId.HYBRID) {
+ // the Copyright Service returns "k" and "m" copyrights for the
+ // HYBRID layer type.
+ var candidates = [].concat(
+ copyrights["h"], copyrights["k"], copyrights["m"]
+ );
+ myCopyrights = [];
+ for (var i=candidates.length-1; i>=0; --i) {
+ if (OpenLayers.Util.indexOf(candidates, myCopyrights) == -1) {
+ myCopyrights.push(candidates[i]);
+ }
+ }
+ } else {
+ myCopyrights = copyrights[this.mapTypes[this.type]];
+ }
+ var mapData = myCopyrights.length == 0 ? "" :
+ "Map Data ©" + new Date().getFullYear() + " " +
+ myCopyrights.join(", ") + " - ";
var center = this.map.getCenter();
center && center.transform(
this.map.getProjectionObject(),
@@ -179,23 +195,23 @@
);
var size = this.map.getSize();
this.attribution = OpenLayers.String.format(this.attributionTemplate, {
- center: center ? center.lat + "," + center.lon : "",
+ t: this.mapTypes[this.type],
zoom: this.map.getZoom(),
- size: size.w + "x" + size.h,
- t: this.mapTypes[this.type],
- mapType: this.type
+ center: center.lat + "," + center.lon,
+ mapType: this.type,
+ mapData: mapData
});
this.map && this.map.events.triggerEvent("changelayer", {layer: this});
},
-
+
/**
* Method: setMap
*/
setMap: function() {
OpenLayers.Layer.XYZ.prototype.setMap.apply(this, arguments);
-
- this.updateAttribution();
- this.map.events.register("moveend", this, this.updateAttribution);
+ this.events.register("moveend", this,
+ OpenLayers.Layer.GoogleNG.loadCopyrights
+ );
},
/**
@@ -203,7 +219,9 @@
*/
removeMap: function() {
OpenLayers.Layer.XYZ.prototype.removeMap.apply(this, arguments);
- this.map.events.unregister("moveend", this, this.updateAttribution);
+ this.events.unregister("moveend", this,
+ OpenLayers.Layer.GoogleNG.loadCopyrights
+ );
},
/**
@@ -226,14 +244,86 @@
return obj;
},
- /**
- * Method: destroy
- */
- destroy: function() {
- this.map &&
- this.map.events.unregister("moveend", this, this.updateAttribution);
- OpenLayers.Layer.XYZ.prototype.destroy.apply(this, arguments);
- },
-
CLASS_NAME: "OpenLayers.Layer.GoogleNG"
-});
\ No newline at end of file
+});
+
+/**
+ * Property: mapObject
+ * {google.maps.Map} Shared GMaps instance - will be set upon instantiation of
+ * the 1st GoogleNG layer
+ */
+OpenLayers.Layer.GoogleNG.mapObject = null;
+
+/**
+ * Function: loadCopyrights
+ * Using the Google Maps Copyright Service mode (see
+ * http://mapki.com/wiki/Google_Map_Parameters#Misc) to get the attribution for
+ * the current map extent. Will be called by each GoogleNG layer instance on
+ * moveend.
+ */
+OpenLayers.Layer.GoogleNG.loadCopyrights = function() {
+ var me = OpenLayers.Layer.GoogleNG.loadCopyrights;
+ if (me.numLoadingScripts == undefined) {
+ me.loadingScripts = [];
+ me.numLoadingScripts = 0;
+ me.copyrights = {"m": [], "k": [], "h": [], "p": []};
+
+ // store window scope functions before overwriting them
+ me.origGAddCopyright = window.GAddCopyright;
+ me.origGVerify = window.GVerify;
+ me.origGAppFeatures = window.GAppFeatures;
+
+ // defining window scope functions called by the script that the
+ // Copyright Service returns
+ window.GAddCopyright = function() {
+ var copyright = arguments[7];
+ var category = me.copyrights[arguments[0]];
+ if (OpenLayers.Util.indexOf(category, copyright) == -1) {
+ copyright && category.push(copyright);
+ }
+ };
+ window.GVerify = OpenLayers.Function.True;
+ window.GAppFeatures = OpenLayers.Function.bind(function() {
+ me.numLoadingScripts--;
+ if (me.numLoadingScripts == 0) {
+ var script;
+ for (var i=me.loadingScripts.length-1; i>=0; --i) {
+ script = me.loadingScripts[i][0];
+ me.loadingScripts[i][1].updateAttribution(me.copyrights);
+ script.parentNode.removeChild(script);
+ }
+
+ // restore original functions
+ window.GAddCopyright = me.origGAddCopyright;
+ delete me.origGAddCopyright;
+ window.GVerify = me.origGVerify;
+ delete me.origGVerify;
+ window.GAppFeatures = me.origGAppFeatures;
+ delete me.origGAppFeatures;
+
+ delete me.loadingScripts;
+ delete me.numLoadingScripts;
+ delete me.copyrights;
+ }
+ }, this);
+ }
+ var mapProj = this.map.getProjectionObject();
+ var llProj = new OpenLayers.Projection("EPSG:4326");
+ var center = this.map.getCenter().transform(mapProj, llProj);
+ var extent = this.map.getExtent().transform(mapProj, llProj);
+ var params = {
+ spn: extent.getHeight() + "," + extent.getWidth(),
+ z: this.map.getZoom(),
+ t: this.mapTypes[this.type],
+ vp: center.lat + "," + center.lon
+ };
+ var url = "http://maps.google.com/maps?" +
+ OpenLayers.Util.getParameterString(params);
+ var script = document.createElement("script");
+ script.type = "text/javascript";
+ script.src = url;
+ me.numLoadingScripts++;
+ me.loadingScripts.push([script, this]);
+ document.getElementsByTagName("head")[0].appendChild(script);
+};
+
Modified: sandbox/tschaub/editing/lib/OpenLayers/Protocol/WFS/v1.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Protocol/WFS/v1.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Protocol/WFS/v1.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -249,13 +249,19 @@
var request = response.priv;
if(request.status >= 200 && request.status < 300) {
// success
- if (options.readOptions && options.readOptions.output == "object") {
- OpenLayers.Util.extend(response,
- this.parseResponse(request, options.readOptions));
+ var result = this.parseResponse(request, options.readOptions);
+ if (result && result.success !== false) {
+ if (options.readOptions && options.readOptions.output == "object") {
+ OpenLayers.Util.extend(response, result);
+ } else {
+ response.features = result;
+ }
+ response.code = OpenLayers.Protocol.Response.SUCCESS;
} else {
- response.features = this.parseResponse(request, options.readOptions);
+ // failure (service exception)
+ response.code = OpenLayers.Protocol.Response.FAILURE;
+ response.error = result;
}
- response.code = OpenLayers.Protocol.Response.SUCCESS;
} else {
// failure
response.code = OpenLayers.Protocol.Response.FAILURE;
@@ -346,9 +352,12 @@
var obj = this.format.read(data) || {};
response.insertIds = obj.insertIds || [];
- response.code = (obj.success) ?
- OpenLayers.Protocol.Response.SUCCESS :
- OpenLayers.Protocol.Response.FAILURE;
+ if (obj.success) {
+ response.code = OpenLayers.Protocol.Response.SUCCESS;
+ } else {
+ response.code = OpenLayers.Protocol.Response.FAILURE;
+ response.error = obj;
+ }
options.callback.call(options.scope, response);
}
},
Modified: sandbox/tschaub/editing/lib/OpenLayers/Protocol.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Protocol.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Protocol.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -249,6 +249,12 @@
priv: null,
/**
+ * Property: error
+ * {Object} The error object in case a service exception was encountered.
+ */
+ error: null,
+
+ /**
* Constructor: OpenLayers.Protocol.Response
*
* Parameters:
Modified: sandbox/tschaub/editing/lib/OpenLayers/Renderer/NG.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Renderer/NG.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Renderer/NG.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -32,18 +32,8 @@
* * zIndexing - {Boolean} Whether to use z-indexing. Will be ignored
* if yOrdering is set to true.
*/
- initialize: function(containerID, options) {
- OpenLayers.Renderer.Elements.prototype.initialize.apply(this, arguments);
- },
/**
- * Method: destroy
- */
- destroy: function() {
- OpenLayers.Renderer.Elements.prototype.destroy.apply(this, arguments);
- },
-
- /**
* Method: updateDimensions
* To be extended by subclasses - here we set positioning related styles
* on HTML elements, subclasses have to do the same for renderer specific
Modified: sandbox/tschaub/editing/lib/OpenLayers/Renderer/SVG.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Renderer/SVG.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Renderer/SVG.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -67,13 +67,6 @@
},
/**
- * APIMethod: destroy
- */
- destroy: function() {
- OpenLayers.Renderer.Elements.prototype.destroy.apply(this, arguments);
- },
-
- /**
* APIMethod: supported
*
* Returns:
Modified: sandbox/tschaub/editing/lib/OpenLayers/Renderer/SVG2.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Renderer/SVG2.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Renderer/SVG2.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -58,13 +58,6 @@
},
/**
- * APIMethod: destroy
- */
- destroy: function() {
- OpenLayers.Renderer.Elements.prototype.destroy.apply(this, arguments);
- },
-
- /**
* APIMethod: supported
*
* Returns:
Modified: sandbox/tschaub/editing/lib/OpenLayers/Renderer/VML.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Renderer/VML.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Renderer/VML.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -67,14 +67,6 @@
},
/**
- * APIMethod: destroy
- * Deconstruct the renderer.
- */
- destroy: function() {
- OpenLayers.Renderer.Elements.prototype.destroy.apply(this, arguments);
- },
-
- /**
* APIMethod: supported
* Determine whether a browser supports this renderer.
*
Modified: sandbox/tschaub/editing/lib/OpenLayers/Tile/Google.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers/Tile/Google.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers/Tile/Google.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -86,7 +86,9 @@
* {Boolean} Always returns true.
*/
draw: function() {
- var layerType = this.layer.mapObject.mapTypes[this.layer.type];
+ var layerType = OpenLayers.Layer.GoogleNG.mapObject.mapTypes[
+ this.layer.type
+ ];
if (layerType && OpenLayers.Tile.prototype.draw.apply(this, arguments)) {
var xyz = this.layer.getXYZ(this.bounds);
var point = new google.maps.Point(xyz.x, xyz.y);
@@ -143,7 +145,9 @@
if (this.node) {
this.node.parentNode &&
this.node.parentNode.removeChild(this.node);
- this.layer.mapObject.mapTypes[this.layer.type].releaseTile(this.node);
+ OpenLayers.Layer.GoogleNG.mapObject.mapTypes[
+ this.layer.type
+ ].releaseTile(this.node);
}
},
Modified: sandbox/tschaub/editing/lib/OpenLayers.js
===================================================================
--- sandbox/tschaub/editing/lib/OpenLayers.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/lib/OpenLayers.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -297,6 +297,7 @@
"OpenLayers/Format/SLD.js",
"OpenLayers/Format/SLD/v1.js",
"OpenLayers/Format/SLD/v1_0_0.js",
+ "OpenLayers/Format/OWSCommon.js",
"OpenLayers/Format/OWSCommon/v1.js",
"OpenLayers/Format/OWSCommon/v1_0_0.js",
"OpenLayers/Format/OWSCommon/v1_1_0.js",
@@ -335,6 +336,7 @@
"OpenLayers/Format/XLS.js",
"OpenLayers/Format/XLS/v1.js",
"OpenLayers/Format/XLS/v1_1_0.js",
+ "OpenLayers/Format/OGCExceptionReport.js",
"OpenLayers/Layer/WFS.js",
"OpenLayers/Control/GetFeature.js",
"OpenLayers/Control/MouseToolbar.js",
Modified: sandbox/tschaub/editing/tests/Control/DrawFeature.html
===================================================================
--- sandbox/tschaub/editing/tests/Control/DrawFeature.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/Control/DrawFeature.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -60,7 +60,7 @@
}
function test_sketch_events(t) {
- t.plan(12);
+ t.plan(11);
var map = new OpenLayers.Map("map", {
resolutions: [1]
});
@@ -93,12 +93,12 @@
// mock up draw/modify of a point
log = {};
control.activate();
- t.eq(log.sketchstarted.type, "sketchstarted", "[activate] sketchstarted triggered");
- t.ok(isNaN(log.sketchstarted.vertex.x) && isNaN(log.sketchstarted.vertex.y),
- "[activate] correct vertex (NaN)");
+ t.eq(log, {}, "[activate] no event triggered");
log = {};
map.events.triggerEvent("mousemove", {xy: new OpenLayers.Pixel(0, 0)});
+ t.eq(log.sketchstarted.type, "sketchstarted", "[mousemove] sketchstarted triggered");
+ t.geom_eq(log.sketchstarted.vertex, new OpenLayers.Geometry.Point(-200, 125), "[mousemove] correct vertex");
t.eq(log.sketchmodified.type, "sketchmodified", "[mousemove] sketchmodified triggered");
t.geom_eq(log.sketchmodified.vertex, new OpenLayers.Geometry.Point(-200, 125), "[mousemove] correct vertex");
@@ -123,9 +123,6 @@
new OpenLayers.Geometry.Point(-190, 115)
]),
"[dblclick] correct geometry");
- t.eq(log.sketchstarted.type, "sketchstarted", "[dblclick] sketchstarted triggered");
- t.ok(isNaN(log.sketchstarted.vertex.x) && isNaN(log.sketchstarted.vertex.y),
- "[dblclick] correct vertex (NaN)");
map.destroy();
}
Modified: sandbox/tschaub/editing/tests/Control/LayerSwitcher.html
===================================================================
--- sandbox/tschaub/editing/tests/Control/LayerSwitcher.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/Control/LayerSwitcher.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -3,6 +3,7 @@
<script src="../OLLoader.js"></script>
<script type="text/javascript">
var map;
+ OpenLayers.Lang.setCode('en');
function test_Control_LayerSwitcher_constructor (t) {
t.plan( 2 );
Modified: sandbox/tschaub/editing/tests/Control/Measure.html
===================================================================
--- sandbox/tschaub/editing/tests/Control/Measure.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/Control/Measure.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -52,10 +52,9 @@
})
};
+ trigger("mousemove", 0, 0);
// keep a reference to the line being drawn
var line = control.handler.line;
-
- trigger("mousemove", 0, 0);
trigger("mousedown", 0, 0);
trigger("mouseup", 0, 0);
trigger("mousemove", 10, 10);
Modified: sandbox/tschaub/editing/tests/Format/GeoRSS.html
===================================================================
--- sandbox/tschaub/editing/tests/Format/GeoRSS.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/Format/GeoRSS.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -80,7 +80,15 @@
var parser = new OpenLayers.Format.GeoRSS();
var items = parser.read('<rss version="2.0" xmlns:georss="http://www.georss.org/georss"><item><description> <![CDATA[foo]]></description></item></rss>');
t.eq(items.length, 1, "item created");
- t.eq(items[0].attributes.description, " foo", "description value is ok");
+
+ // when parsing a node composed of both spaces and a cdata section
+ // (e.g. <description> <![DATA[foo]]></description> IE8 ignores
+ // the leading white spaces, and reports that the node does not
+ // include a text node. For that reason, we need to trim the
+ // string value resulting from the parsing.
+
+ var description = OpenLayers.String.trim(items[0].attributes.description);
+ t.eq(description, "foo", "description value is ok");
}
var shell_start = '<feed xmlns="http://www.w3.org/2005/Atom" \n xmlns:georss="http://www.georss.org/georss">\n <title>scribble</title>\n <id>http://featureserver.org/featureserver.cgi/scribble?format=atom</id>\n <author><name>FeatureServer</name></author>\n';
Copied: sandbox/tschaub/editing/tests/Format/OGCExceptionReport.html (from rev 12088, trunk/openlayers/tests/Format/OGCExceptionReport.html)
===================================================================
--- sandbox/tschaub/editing/tests/Format/OGCExceptionReport.html (rev 0)
+++ sandbox/tschaub/editing/tests/Format/OGCExceptionReport.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -0,0 +1,100 @@
+<html>
+<head>
+ <script src="../OLLoader.js"></script>
+ <script type="text/javascript">
+
+ function test_read_exception(t) {
+
+ t.plan(21);
+
+ // OCG WMS 1.3.0 exceptions
+ var text = '<?xml version="1.0" encoding="UTF-8"?> ' +
+'<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc"' +
+' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"' +
+' xsi:schemaLocation="http://www.opengis.net/ogc' +
+' http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">' +
+' <ServiceException> Plain text message about an error. </ServiceException>' +
+' <ServiceException code="InvalidUpdateSequence"> Another error message, this one with a service exception code supplied. </ServiceException>' +
+' <ServiceException>' +
+' <![CDATA[ Error in module <foo.c>, line 42' +
+'A message that includes angle brackets in text must be enclosed in a Character Data Section as in this example. All XML-like markup is ignored except for this sequence of three closing characters:' +
+']]>' +
+' </ServiceException>' +
+' <ServiceException>' +
+' <![CDATA[ <Module>foo.c</Module> <Error>An error occurred</Error> <Explanation>Similarly, actual XML can be enclosed in a CDATA section. A generic parser will ignore that XML, but application-specific software may choose to process it.</Explanation> ]]>' +
+' </ServiceException>' +
+'</ServiceExceptionReport>';
+
+ var parser = new OpenLayers.Format.OGCExceptionReport();
+ var result = parser.read(text);
+
+ var exceptions = result.exceptionReport.exceptions;
+
+ var testWMS = function(exceptions) {
+ t.eq(exceptions.length, 4, "We expect 4 exception messages");
+ t.eq(exceptions[0].text, " Plain text message about an error. ", "First error message correctly parsed");
+ t.eq(exceptions[1].code, "InvalidUpdateSequence", "Code of second error message correctly parsed");
+ t.eq(exceptions[1].text, " Another error message, this one with a service exception code supplied. ", "Text of second error message correctly parsed");
+ t.eq(OpenLayers.String.trim(exceptions[2].text), "Error in module <foo.c>, line 42A message that includes angle brackets in text must be enclosed in a Character Data Section as in this example. All XML-like markup is ignored except for this sequence of three closing characters:", "Third message correctly parsed");
+ t.eq(OpenLayers.String.trim(exceptions[3].text), "<Module>foo.c</Module> <Error>An error occurred</Error> <Explanation>Similarly, actual XML can be enclosed in a CDATA section. A generic parser will ignore that XML, but application-specific software may choose to process it.</Explanation>", "Fourth message correctly parsed");
+ };
+
+ testWMS(exceptions);
+
+ // OGC WMS 1.1.1 exceptions
+ text = '<?xml version="1.0" encoding="UTF-8" standalone="no" ?> <!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd"> ' +
+'<ServiceExceptionReport version="1.1.1">' +
+' <ServiceException> Plain text message about an error. </ServiceException>' +
+' <ServiceException code="InvalidUpdateSequence"> Another error message, this one with a service exception code supplied. </ServiceException>' +
+' <ServiceException>' +
+' <![CDATA[ Error in module <foo.c>, line 42' +
+'A message that includes angle brackets in text must be enclosed in a Character Data Section as in this example. All XML-like markup is ignored except for this sequence of three closing characters:' +
+']]>' +
+' </ServiceException>' +
+' <ServiceException>' +
+' <![CDATA[ <Module>foo.c</Module> <Error>An error occurred</Error> <Explanation>Similarly, actual XML can be enclosed in a CDATA section. A generic parser will ignore that XML, but application-specific software may choose to process it.</Explanation> ]]>' +
+' </ServiceException>' +
+'</ServiceExceptionReport>';
+ result = parser.read(text);
+ exceptions = result.exceptionReport.exceptions;
+ testWMS(exceptions);
+
+ // OGC WFS 1.0.0 exceptions
+ text = '<?xml version="1.0" ?> ' +
+'<ServiceExceptionReport version="1.2.0" xmlns="http://www.opengis.net/ogc"' +
+' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"' +
+' xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd">' +
+' <ServiceException code="999" locator="INSERT STMT 01"> parse error: missing closing tag for element WKB_GEOM </ServiceException>' +
+'</ServiceExceptionReport>';
+ result = parser.read(text);
+ t.eq(result.exceptionReport.exceptions[0].code, "999", "code parsed correctly");
+ t.eq(result.exceptionReport.exceptions[0].locator, "INSERT STMT 01", "locator parsed correctly");
+ t.eq(result.exceptionReport.exceptions[0].text, " parse error: missing closing tag for element WKB_GEOM ", "error text parsed correctly");
+
+ // OGC WFS 1.1.0 exceptions that use OWSCommon 1.0
+ text = '<?xml version="1.0" encoding="UTF-8"?>' +
+'<ows:ExceptionReport language="en" version="1.0.0"' +
+' xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd"' +
+' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows">' +
+' <ows:Exception locator="foo" exceptionCode="InvalidParameterValue">' +
+' <ows:ExceptionText>Update error: Error occured updating features</ows:ExceptionText>' +
+' <ows:ExceptionText>Second exception line</ows:ExceptionText>' +
+' </ows:Exception>' +
+'</ows:ExceptionReport>';
+
+ var result = parser.read(text);
+ var report = result.exceptionReport;
+ t.eq(report.version, "1.0.0", "Version parsed correctly");
+ t.eq(report.language, "en", "Language parsed correctly");
+ var exception = report.exceptions[0];
+ t.eq(exception.code, "InvalidParameterValue", "exceptionCode properly parsed");
+ t.eq(exception.locator, "foo", "locator properly parsed");
+ t.eq(exception.texts[0], "Update error: Error occured updating features", "ExceptionText correctly parsed");
+ t.eq(exception.texts[1], "Second exception line", "Second ExceptionText correctly parsed");
+ }
+
+ </script>
+</head>
+<body>
+</body>
+</html>
Deleted: sandbox/tschaub/editing/tests/Format/OWSCommon/v1_0_0.html
===================================================================
--- trunk/openlayers/tests/Format/OWSCommon/v1_0_0.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/Format/OWSCommon/v1_0_0.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -1,34 +0,0 @@
-<html>
-<head>
- <script src="../../OLLoader.js"></script>
- <script type="text/javascript">
-
- function test_read_exception(t) {
- t.plan(6);
- var text = '<?xml version="1.0" encoding="UTF-8"?>' +
-'<ows:ExceptionReport language="en" version="1.0.0"' +
-' xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd"' +
-' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows">' +
-' <ows:Exception locator="foo" exceptionCode="InvalidParameterValue">' +
-' <ows:ExceptionText>Update error: Error occured updating features</ows:ExceptionText>' +
-' <ows:ExceptionText>Second exception line</ows:ExceptionText>' +
-' </ows:Exception>' +
-'</ows:ExceptionReport>';
-
- var format = new OpenLayers.Format.OWSCommon();
- var result = format.read(text);
- var report = result.exceptionReport;
- t.eq(report.version, "1.0.0", "Version parsed correctly");
- t.eq(report.language, "en", "Language parsed correctly");
- var exception = report.exceptions[0];
- t.eq(exception.code, "InvalidParameterValue", "exceptionCode properly parsed");
- t.eq(exception.locator, "foo", "locator properly parsed");
- t.eq(exception.texts[0], "Update error: Error occured updating features", "ExceptionText correctly parsed");
- t.eq(exception.texts[1], "Second exception line", "Second ExceptionText correctly parsed");
- }
-
- </script>
-</head>
-<body>
-</body>
-</html>
Copied: sandbox/tschaub/editing/tests/Format/OWSCommon/v1_0_0.html (from rev 12088, trunk/openlayers/tests/Format/OWSCommon/v1_0_0.html)
===================================================================
--- sandbox/tschaub/editing/tests/Format/OWSCommon/v1_0_0.html (rev 0)
+++ sandbox/tschaub/editing/tests/Format/OWSCommon/v1_0_0.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -0,0 +1,34 @@
+<html>
+<head>
+ <script src="../../OLLoader.js"></script>
+ <script type="text/javascript">
+
+ function test_read_exception(t) {
+ t.plan(6);
+ var text = '<?xml version="1.0" encoding="UTF-8"?>' +
+'<ows:ExceptionReport language="en" version="1.0.0"' +
+' xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd"' +
+' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows">' +
+' <ows:Exception locator="foo" exceptionCode="InvalidParameterValue">' +
+' <ows:ExceptionText>Update error: Error occured updating features</ows:ExceptionText>' +
+' <ows:ExceptionText>Second exception line</ows:ExceptionText>' +
+' </ows:Exception>' +
+'</ows:ExceptionReport>';
+
+ var format = new OpenLayers.Format.OWSCommon();
+ var result = format.read(text);
+ var report = result.exceptionReport;
+ t.eq(report.version, "1.0.0", "Version parsed correctly");
+ t.eq(report.language, "en", "Language parsed correctly");
+ var exception = report.exceptions[0];
+ t.eq(exception.code, "InvalidParameterValue", "exceptionCode properly parsed");
+ t.eq(exception.locator, "foo", "locator properly parsed");
+ t.eq(exception.texts[0], "Update error: Error occured updating features", "ExceptionText correctly parsed");
+ t.eq(exception.texts[1], "Second exception line", "Second ExceptionText correctly parsed");
+ }
+
+ </script>
+</head>
+<body>
+</body>
+</html>
Deleted: sandbox/tschaub/editing/tests/Format/OWSCommon/v1_1_0.html
===================================================================
--- trunk/openlayers/tests/Format/OWSCommon/v1_1_0.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/Format/OWSCommon/v1_1_0.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -1,34 +0,0 @@
-<html>
-<head>
- <script src="../../OLLoader.js"></script>
- <script type="text/javascript">
-
- function test_read_exception(t) {
- t.plan(6);
- var text = '<?xml version="1.0" encoding="UTF-8"?>' +
-'<ows:ExceptionReport xml:lang="en" version="1.0.0"' +
-' xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd"' +
-' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows/1.1">' +
-' <ows:Exception locator="foo" exceptionCode="InvalidParameterValue">' +
-' <ows:ExceptionText>Update error: Error occured updating features</ows:ExceptionText>' +
-' <ows:ExceptionText>Second exception line</ows:ExceptionText>' +
-' </ows:Exception>' +
-'</ows:ExceptionReport>';
-
- var format = new OpenLayers.Format.OWSCommon();
- var result = format.read(text);
- var report = result.exceptionReport;
- t.eq(report.version, "1.0.0", "Version parsed correctly");
- t.eq(report.language, "en", "Language parsed correctly");
- var exception = report.exceptions[0];
- t.eq(exception.code, "InvalidParameterValue", "exceptionCode properly parsed");
- t.eq(exception.locator, "foo", "locator properly parsed");
- t.eq(exception.texts[0], "Update error: Error occured updating features", "ExceptionText correctly parsed");
- t.eq(exception.texts[1], "Second exception line", "Second ExceptionText correctly parsed");
- }
-
- </script>
-</head>
-<body>
-</body>
-</html>
Copied: sandbox/tschaub/editing/tests/Format/OWSCommon/v1_1_0.html (from rev 12088, trunk/openlayers/tests/Format/OWSCommon/v1_1_0.html)
===================================================================
--- sandbox/tschaub/editing/tests/Format/OWSCommon/v1_1_0.html (rev 0)
+++ sandbox/tschaub/editing/tests/Format/OWSCommon/v1_1_0.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -0,0 +1,34 @@
+<html>
+<head>
+ <script src="../../OLLoader.js"></script>
+ <script type="text/javascript">
+
+ function test_read_exception(t) {
+ t.plan(6);
+ var text = '<?xml version="1.0" encoding="UTF-8"?>' +
+'<ows:ExceptionReport xml:lang="en" version="1.0.0"' +
+' xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.1.0/owsExceptionReport.xsd"' +
+' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows/1.1">' +
+' <ows:Exception locator="foo" exceptionCode="InvalidParameterValue">' +
+' <ows:ExceptionText>Update error: Error occured updating features</ows:ExceptionText>' +
+' <ows:ExceptionText>Second exception line</ows:ExceptionText>' +
+' </ows:Exception>' +
+'</ows:ExceptionReport>';
+
+ var format = new OpenLayers.Format.OWSCommon();
+ var result = format.read(text);
+ var report = result.exceptionReport;
+ t.eq(report.version, "1.0.0", "Version parsed correctly");
+ t.eq(report.language, "en", "Language parsed correctly");
+ var exception = report.exceptions[0];
+ t.eq(exception.code, "InvalidParameterValue", "exceptionCode properly parsed");
+ t.eq(exception.locator, "foo", "locator properly parsed");
+ t.eq(exception.texts[0], "Update error: Error occured updating features", "ExceptionText correctly parsed");
+ t.eq(exception.texts[1], "Second exception line", "Second ExceptionText correctly parsed");
+ }
+
+ </script>
+</head>
+<body>
+</body>
+</html>
Modified: sandbox/tschaub/editing/tests/Format/WFSCapabilities/v1.html
===================================================================
--- sandbox/tschaub/editing/tests/Format/WFSCapabilities/v1.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/Format/WFSCapabilities/v1.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,6 +2,23 @@
<head>
<script src="../../OLLoader.js"></script>
<script type="text/javascript">
+
+ function test_read_exception(t) {
+ t.plan(1);
+ var parser = new OpenLayers.Format.WFSCapabilities();
+ var text = '<?xml version="1.0" encoding="UTF-8"?>' +
+'<ows:ExceptionReport language="en" version="1.0.0"' +
+' xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd"' +
+' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows">' +
+' <ows:Exception locator="foo" exceptionCode="InvalidParameterValue">' +
+' <ows:ExceptionText>Update error: Error occured updating features</ows:ExceptionText>' +
+' <ows:ExceptionText>Second exception line</ows:ExceptionText>' +
+' </ows:Exception>' +
+'</ows:ExceptionReport>';
+
+ var obj = parser.read(text);
+ t.ok(!!obj.error, "Error reported correctly");
+ }
function test_read(t) {
t.plan(33);
Modified: sandbox/tschaub/editing/tests/Format/WMSCapabilities/v1_1_1.html
===================================================================
--- sandbox/tschaub/editing/tests/Format/WMSCapabilities/v1_1_1.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/Format/WMSCapabilities/v1_1_1.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -2,10 +2,19 @@
<head>
<script src="../../OLLoader.js"></script>
<script type="text/javascript">
+
+ function test_read_exception(t) {
+ t.plan(1);
+ var xml = document.getElementById("exceptionsample").firstChild.nodeValue;
+ var doc = new OpenLayers.Format.XML().read(xml);
+ var format = new OpenLayers.Format.WMSCapabilities();
+ var obj = format.read(doc);
+ t.ok(!!obj.error, "Error reported correctly");
+ }
function test_read(t) {
- t.plan(17);
+ t.plan(23);
var xml = document.getElementById("gssample").firstChild.nodeValue;
var doc = new OpenLayers.Format.XML().read(xml);
@@ -32,7 +41,41 @@
undefined,
"getmap.post not available"
);
+
+ var describelayer = capability.request.describelayer;
+ t.eq(
+ describelayer.href,
+ "http://publicus.opengeo.org:80/geoserver/wms?SERVICE=WMS&",
+ "describelayer href parsed"
+ );
+ t.eq(
+ describelayer.get.href,
+ describelayer.href,
+ "describelayer.get.href parsed"
+ );
+ t.eq(
+ describelayer.post,
+ undefined,
+ "describelayer.post not available"
+ );
+ var getfeatureinfo = capability.request.getfeatureinfo;
+ t.eq(
+ getfeatureinfo.href,
+ "http://publicus.opengeo.org:80/geoserver/wms?SERVICE=WMS&",
+ "getfeatureinfo href parsed"
+ );
+ t.eq(
+ getfeatureinfo.get.href,
+ getfeatureinfo.href,
+ "getmap.get.href parsed"
+ );
+ t.eq(
+ getfeatureinfo.post.href,
+ "http://publicus.opengeo.org:80/geoserver/wms?SERVICE=WMS&",
+ "getfeatureinfo.post set correctly"
+ );
+
t.ok(capability.layers, "layers parsed");
t.eq(capability.layers.length, 22, "correct number of layers parsed");
@@ -644,6 +687,12 @@
</Capability>
</WMT_MS_Capabilities>
--></div>
+<div id="exceptionsample"><!--
+<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
+<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/WMS_exception_1_1_1.dtd">
+<ServiceExceptionReport version="1.1.1"><ServiceException> Plain text message about an error. </ServiceException>
+</ServiceExceptionReport>
+--></div>
<!--
GeoServer example below taken from
http://publicus.opengeo.org/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetCapabilities
Modified: sandbox/tschaub/editing/tests/Format/WMSCapabilities/v1_3_0.html
===================================================================
--- sandbox/tschaub/editing/tests/Format/WMSCapabilities/v1_3_0.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/Format/WMSCapabilities/v1_3_0.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -3,6 +3,15 @@
<script src="../../OLLoader.js"></script>
<script type="text/javascript">
+ function test_read_exception(t) {
+ t.plan(1);
+ var xml = document.getElementById("exceptionsample").firstChild.nodeValue;
+ var doc = new OpenLayers.Format.XML().read(xml);
+ var format = new OpenLayers.Format.WMSCapabilities();
+ var obj = format.read(doc);
+ t.ok(!!obj.error, "Error reported correctly");
+ }
+
function test_layers(t) {
t.plan(22);
@@ -280,6 +289,26 @@
</head>
<body>
+<div id="exceptionsample"><!--
+<?xml version='1.0' encoding="UTF-8"?>
+<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.opengis.net/ogc
+ http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd">
+ <ServiceException> Plain text message about an error. </ServiceException>
+ <ServiceException code="InvalidUpdateSequence"> Another error message, this one with a service
+ exception code supplied. </ServiceException>
+ <ServiceException>
+ <![CDATA[ Error in module <foo.c>, line 42
+A message that includes angle brackets in text must be enclosed in a Character Data Section as in this example. All XML-like markup is ignored except for this sequence of three closing characters:
+]]>
+ </ServiceException>
+ <ServiceException>
+ <![CDATA[ <Module>foo.c</Module> <Error>An error occurred</Error> <Explanation>Similarly, actual XML can be enclosed in a CDATA section. A generic parser will ignore that XML, but application-specific software may choose to process it.</Explanation> ]]>
+ </ServiceException>
+</ServiceExceptionReport>
+--></div>
+
<!--
OGC example below taken from
http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xml
Modified: sandbox/tschaub/editing/tests/Handler/Box.html
===================================================================
--- sandbox/tschaub/editing/tests/Handler/Box.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/Handler/Box.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -3,16 +3,17 @@
<script src="../OLLoader.js"></script>
<script type="text/javascript">
function test_Handler_Box_constructor(t) {
- t.plan(4);
+ t.plan(5);
var control = new OpenLayers.Control();
control.id = Math.random();
- var callbacks = {done: "bar"};
+ var callbacks = {start: "foo", done: "bar"};
var options = {bar: "foo"};
var handler = new OpenLayers.Handler.Box(control, callbacks, options);
t.eq(handler.control.id, control.id, "handler created with the correct control");
- t.eq(handler.callbacks.done, "bar", "handler created with the correct callback");
+ t.eq(handler.callbacks.start, "foo", "handler created with the correct start callback");
+ t.eq(handler.callbacks.done, "bar", "handler created with the correct done callback");
t.eq(handler.bar, "foo", "handler created with the correct options");
t.ok(handler.dragHandler instanceof OpenLayers.Handler.Drag, "drag handler created");
}
@@ -22,9 +23,14 @@
var map = new OpenLayers.Map('map');
var control = new OpenLayers.Control();
map.addControl(control);
- var handler = new OpenLayers.Handler.Box(control, {done: function(e) {
- t.ok(e.equals(new OpenLayers.Bounds(5, 11, 11, 5)), "box result correct");
- }});
+ var handler = new OpenLayers.Handler.Box(control, {
+ start: function(e) {
+ t.ok(true, "start callback called");
+ },
+ done: function(e) {
+ t.ok(e.equals(new OpenLayers.Bounds(5, 11, 11, 5)), "box result correct");
+ }
+ });
handler.activate();
// determine whether we can test the box position, the hidden frame
@@ -39,7 +45,7 @@
map.div.removeChild(testdiv);
var testAll = !isNaN(left);
- t.plan(testAll ? 10 : 2);
+ t.plan(testAll ? 11 : 3);
// we change NaN values to 0 values in the handler's
// boxOffsets object, this is to prevent "invalid
Modified: sandbox/tschaub/editing/tests/Handler/Path.html
===================================================================
--- sandbox/tschaub/editing/tests/Handler/Path.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/Handler/Path.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -25,7 +25,7 @@
}
function test_Handler_Path_activation(t) {
- t.plan(12);
+ t.plan(5);
var log = [];
var map = new OpenLayers.Map("map", {
resolutions: [1]
@@ -36,11 +36,7 @@
});
map.addLayer(layer);
var control = new OpenLayers.Control();
- var handler = new OpenLayers.Handler.Path(control, {
- "create": function(g, f) {
- log.push({geometry: g, feature: f});
- }
- });
+ var handler = new OpenLayers.Handler.Path(control, {});
control.handler = handler;
map.addControl(control);
map.setCenter(new OpenLayers.LonLat(0, 0), 0);
@@ -57,20 +53,6 @@
"activate creates a vector layer");
t.ok(handler.layer.map == map,
"activate adds the vector layer to the map");
- t.ok(handler.point instanceof OpenLayers.Feature.Vector,
- "activate creates a point feature");
- t.ok(handler.point.layer == handler.layer,
- "activate adds the point feature to the layer");
- t.ok(handler.line instanceof OpenLayers.Feature.Vector,
- "acttivates creates a line feature");
- t.ok(handler.line.layer == handler.layer,
- "activate adds the line feature to the layer");
- t.eq(log.length, 1,
- "activate calls \"create\" once");
- t.ok(log[0].geometry == handler.point.geometry,
- "\"create\" called with expected geometry");
- t.ok(log[0].feature == handler.line,
- "\"create\" called with expected feature");
activated = handler.deactivate();
t.ok(activated,
"deactivate returns true if the handler was active already");
@@ -105,7 +87,7 @@
}
function test_bounds(t) {
- t.plan(5);
+ t.plan(4);
var geometry;
var map = new OpenLayers.Map('map');
map.addLayer(new OpenLayers.Layer.WMS("", "", {}));
@@ -115,8 +97,6 @@
var handler = new OpenLayers.Handler.Path(control, {},
{stopDown: true, stopUp: true});
var activated = handler.activate();
- t.eq(handler.layer.features.length, 2,
- "There are two features in the layer after activation.");
// click on (150, 75)
var evt = {xy: new OpenLayers.Pixel(150, 75), which: 1};
handler.mousemove(evt);
@@ -150,7 +130,7 @@
}
function test_callbacks(t) {
- t.plan(45);
+ t.plan(39);
var map = new OpenLayers.Map("map", {
resolutions: [1]
});
@@ -185,20 +165,19 @@
map.addControl(control);
map.setCenter(new OpenLayers.LonLat(0, 0), 0);
- // create line
handler.activate();
- t.eq(logs.length, 1, "[activate] called back");
- log = logs.shift();
- t.eq(log.type, "create", "[activate] create called");
- t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
- "[activate] initial point");
- t.ok(log.args[1] == handler.line,
- "[activate] correct feature");
+
// mouse move
handler.mousemove(
{type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
- t.eq(logs.length, 1, "[mousemove] called back");
+ t.eq(logs.length, 2, "[mousemove] called back twice");
log = logs.shift();
+ t.eq(log.type, "create", "[mousemove] create called");
+ t.geom_eq(log.args[0], new OpenLayers.Geometry.Point(-150, 75),
+ "[mousemove] correct point");
+ t.ok(log.args[1] === handler.line,
+ "[mousemove] correct feature");
+ log = logs.shift();
t.eq(log.type, "modify", "[mousemove] modify called");
t.geom_eq(log.args[0], new OpenLayers.Geometry.Point(-150, 75),
"[mousemove] correct point");
@@ -279,7 +258,7 @@
// double click
handler.dblclick({type: "dblclick",
xy: new OpenLayers.Pixel(10, 10)});
- t.eq(logs.length, 2, "[dblclick] called back twice");
+ t.eq(logs.length, 1, "[dblclick] called back");
log = logs.shift();
t.eq(log.type, "done", "[dblclick] done called");
t.geom_eq(log.args[0],
@@ -289,24 +268,13 @@
]),
"[dblclick] correct linestring"
);
- log = logs.shift();
- t.eq(log.type, "create", "[dblclick] create called");
- t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
- "[dblclick] initial point");
- t.ok(log.args[1] == handler.line,
- "[dblclick] correct feature");
// cancel
handler.cancel();
- t.eq(logs.length, 2, "[cancel] called back");
+ t.eq(logs.length, 1, "[cancel] called back");
log = logs.shift();
t.eq(log.type, "cancel", "[cancel] canced called");
- t.ok(isNaN(log.args[0].components[0].x) && isNaN(log.args[0].components[0].y),
- "[cancel] initial linestring"
+ t.eq(log.args[0], null, "[cancel] got null"
);
- log = logs.shift();
- t.eq(log.type, "create", "[cancel] create called");
- t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
- "[cancel] initial point");
map.destroy();
}
@@ -379,9 +347,9 @@
handler.activate();
handler.persist = false;
- var feature1 = handler.line;
handler.mousemove(
{type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+ var feature1 = handler.line;
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
handler.mouseup(
@@ -393,9 +361,9 @@
t.ok(feature1.layer == null, "a) feature1 destroyed");
handler.persist = true;
- var feature2 = handler.line;
handler.mousemove(
{type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+ var feature2 = handler.line;
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
handler.mouseup(
@@ -406,9 +374,9 @@
{type: "dblclick", xy: new OpenLayers.Pixel(1, 1)});
t.ok(feature2.layer != null, "b) feature2 not destroyed");
- var feature3 = handler.line;
handler.mousemove(
{type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+ var feature3 = handler.line;
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
handler.mouseup(
@@ -442,9 +410,9 @@
handler.activate();
handler.persist = false;
- var feature1 = handler.line;
handler.mousemove(
{type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+ var feature1 = handler.line;
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: true});
handler.mousemove(
@@ -456,9 +424,9 @@
t.ok(feature1.layer == null, "a) feature1 destroyed");
handler.persist = true;
- feature2 = handler.line;
handler.mousemove(
{type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+ feature2 = handler.line;
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: true});
handler.mousemove(
@@ -469,9 +437,9 @@
{type: "mouseup", xy: new OpenLayers.Pixel(0, 0), shiftKey: true});
t.ok(feature2.layer != null, "b) feature2 not destroyed");
- feature3 = handler.line;
handler.mousemove(
{type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+ feature3 = handler.line;
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: true});
handler.mousemove(
@@ -483,9 +451,9 @@
t.ok(feature3.layer != null, "c) feature3 not destroyed");
t.ok(feature2.layer == null, "c) feature2 destroyed");
- feature4 = handler.line;
handler.mousemove(
{type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+ feature4 = handler.line;
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: false});
handler.mousemove(
@@ -1291,6 +1259,48 @@
map.destroy();
}
+ function test_persist_one_click_freehand(t) {
+ t.plan(3);
+ var map = new OpenLayers.Map("map", {
+ resolutions: [1]
+ });
+ var layer = new OpenLayers.Layer.Vector("foo", {
+ maxExtent: new OpenLayers.Bounds(-10, -10, 10, 10),
+ isBaseLayer: true
+ });
+ map.addLayer(layer);
+ var control = new OpenLayers.Control({});
+ var handler = new OpenLayers.Handler.Path(control, {}, {persist: true});
+ control.handler = handler;
+ map.addControl(control);
+ map.setCenter(new OpenLayers.LonLat(0, 0), 0);
+
+ handler.activate();
+
+ handler.mousemove(
+ {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+ handler.mousedown(
+ {type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: true});
+ var feature1 = handler.line;
+ handler.mousemove(
+ {type: "mousemove", xy: new OpenLayers.Pixel(1, 1), shiftKey: true});
+ handler.mouseup(
+ {type: "mouseup", xy: new OpenLayers.Pixel(1, 1), shiftKey: true});
+ t.ok(feature1.layer != null, "a) feature1 not destroyed");
+
+ // one click freehand
+ handler.mousemove(
+ {type: "mousemove", xy: new OpenLayers.Pixel(2, 2)});
+ handler.mousedown(
+ {type: "mousedown", xy: new OpenLayers.Pixel(2, 2), shiftKey: true});
+ var feature2 = handler.line;
+ handler.mouseup(
+ {type: "mouseup", xy: new OpenLayers.Pixel(2, 2), shiftKey: true});
+ t.ok(feature2.layer != null, "b) feature2 not destroyed");
+ t.ok(feature1.layer == null, "b) feature1 destroyed");
+
+ map.destroy();
+ }
</script>
</head>
<body>
Modified: sandbox/tschaub/editing/tests/Handler/Point.html
===================================================================
--- sandbox/tschaub/editing/tests/Handler/Point.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/Handler/Point.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -25,8 +25,7 @@
}
function test_Handler_Point_activation(t) {
- t.plan(11);
- var log = [];
+ t.plan(6);
var map = new OpenLayers.Map("map", {
resolutions: [1]
});
@@ -36,11 +35,7 @@
});
map.addLayer(layer);
var control = new OpenLayers.Control();
- var handler = new OpenLayers.Handler.Point(control, {
- "create": function(g, f) {
- log.push({geometry: g, feature: f});
- }
- });
+ var handler = new OpenLayers.Handler.Point(control, {});
control.handler = handler;
map.addControl(control);
map.setCenter(new OpenLayers.LonLat(0, 0), 0);
@@ -57,16 +52,6 @@
"activate creates a vector layer");
t.ok(handler.layer.map == map,
"activate adds the vector layer to the map");
- t.ok(handler.point instanceof OpenLayers.Feature.Vector,
- "activate creates a feature");
- t.ok(handler.point.layer == handler.layer,
- "activate adds the feature to the layer");
- t.eq(log.length, 1,
- "activate calls \"create\" once");
- t.ok(log[0].geometry == handler.point.geometry,
- "\"create\" called with expected geometry");
- t.ok(log[0].feature == handler.point,
- "\"create\" called with expected feature");
activated = handler.deactivate();
t.ok(activated,
"deactivate returns true if the handler was active already");
@@ -176,7 +161,7 @@
}
function test_callbacks(t) {
- t.plan(28);
+ t.plan(24);
var map = new OpenLayers.Map("map", {
resolutions: [1]
});
@@ -209,18 +194,20 @@
map.addControl(control);
map.setCenter(new OpenLayers.LonLat(0, 0), 0);
- // create point
handler.activate();
- t.eq(logs.length, 1, "[activate] called back");
- log = logs.shift();
- t.eq(log.type, "create", "[activate] create called");
- t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
- "[activate] initial point");
+
// mouse down
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
- t.eq(logs.length, 1, "[mousedown] called back");
+ t.eq(logs.length, 2, "[mousedown] called back twice");
log = logs.shift();
+ t.eq(log.type, "create", "[mousedown] create called");
+ t.geom_eq(log.args[0], new OpenLayers.Geometry.Point(-150, 75),
+ "[mousedown] correct point");
+ t.geom_eq(log.args[1].geometry,
+ new OpenLayers.Geometry.Point(-150, 75),
+ "[mousedown] correct feature");
+ log = logs.shift();
t.eq(log.type, "modify", "[mousedown] modify called");
t.geom_eq(log.args[0], new OpenLayers.Geometry.Point(-150, 75),
"[mousedown] correct point");
@@ -258,29 +245,20 @@
"[mousedown] correct feature");
// mouse up
handler.mouseup({type: "mouseup", xy: new OpenLayers.Pixel(2, 0)});
- t.eq(logs.length, 2, "[mouseup] called back twice");
+ t.eq(logs.length, 1, "[mouseup] called back");
log = logs.shift();
t.eq(log.type, "done", "[mouseup] done called");
t.geom_eq(log.args[0], new OpenLayers.Geometry.Point(-148, 75),
"[mouseup] correct point");
- log = logs.shift();
- t.eq(log.type, "create", "[mouseup] create called");
- t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
- "[mouseup] initial point");
// mouse up on same pixel
handler.mouseup({type: "mouseup", xy: new OpenLayers.Pixel(2, 0)});
t.eq(logs.length, 0, "[mouseup] not called back");
// cancel
handler.cancel();
- t.eq(logs.length, 2, "[cancel] called back");
+ t.eq(logs.length, 1, "[cancel] called back");
log = logs.shift();
- t.eq(log.type, "cancel", "[cancel] canced called");
- t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
- "[cancel] initial point");
- log = logs.shift();
- t.eq(log.type, "create", "[cancel] create called");
- t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
- "[] initial point");
+ t.eq(log.type, "cancel", "[cancel] cancel called");
+ t.eq(log.args[0], null, "[cancel] got null");
map.destroy();
}
@@ -308,7 +286,7 @@
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
handler.mouseup(
{type: "mouseup", xy: new OpenLayers.Pixel(0, 0)});
- t.eq(handler.layer.features.length, 1,
+ t.eq(handler.layer.features.length, 0,
"feature destroyed on mouseup when persist is false");
handler.persist = true;
@@ -316,7 +294,7 @@
{type: "mousedown", xy: new OpenLayers.Pixel(1, 0)});
handler.mouseup(
{type: "mouseup", xy: new OpenLayers.Pixel(1, 0)});
- t.eq(handler.layer.features.length, 2,
+ t.eq(handler.layer.features.length, 1,
"feature not destroyed on mouseup when persist is true");
var feature = handler.layer.features[0];
handler.mousedown(
@@ -352,6 +330,7 @@
map.setCenter(new OpenLayers.LonLat(0, 0), 0);
handler.activate();
+ handler.mousemove({xy: new OpenLayers.Pixel(0, 0)});
var _layer = handler.layer;
var _geometry = handler.point.geometry;
handler.deactivate();
@@ -405,6 +384,7 @@
var handler = new OpenLayers.Handler.Point(control, {foo: 'bar'});
handler.activate();
+ handler.mousemove({xy: new OpenLayers.Pixel(150, 75)});
t.ok(handler.layer,
"handler has a layer prior to destroy");
@@ -544,13 +524,11 @@
ret = handler.touchstart({xy: new OpenLayers.Pixel(0, 0)});
t.ok(ret, '[touchstart] event propagates');
t.eq(log, null, '[touchstart] no finalization');
- t.ok(isNaN(handler.point.geometry.x) && isNaN(handler.point.geometry.y),
- '[touchstart] feature not modified');
+ t.eq(handler.point, null, '[touchstart] feature not modified');
ret = handler.touchmove({xy: new OpenLayers.Pixel(1, 0)});
t.ok(ret, '[touchmove] event propagates');
t.eq(log, null, '[touchmove] no finalization');
- t.ok(isNaN(handler.point.geometry.x) && isNaN(handler.point.geometry.y),
- '[touchmove] feature not modified');
+ t.eq(handler.point, null, '[touchmove] feature not modified');
ret = handler.touchend({});
t.ok(ret, '[touchend] event propagates');
t.geom_eq(log.geometry, new OpenLayers.Geometry.Point(-149, 75),
@@ -595,17 +573,17 @@
ret = handler.touchstart({xy: new OpenLayers.Pixel(0, 0)});
t.ok(ret, '[touchstart] event propagates');
t.eq(log, null, '[touchstart] no finalization');
- t.ok(isNaN(handler.point.geometry.x) && isNaN(handler.point.geometry.y),
+ t.eq(handler.point, null, null,
'[touchstart] feature not modified');
ret = handler.touchmove({xy: new OpenLayers.Pixel(9, 0)});
t.ok(ret, '[touchmove] event propagates');
t.eq(log, null, '[touchmove] no finalization');
- t.ok(isNaN(handler.point.geometry.x) && isNaN(handler.point.geometry.y),
+ t.eq(handler.point, null,
'[touchmove] feature not modified');
ret = handler.touchend({});
t.ok(ret, '[touchend] event propagates');
t.eq(log, null, '[touchend] no finalization');
- t.ok(isNaN(handler.point.geometry.x) && isNaN(handler.point.geometry.y),
+ t.eq(handler.point, null,
'[touchend] feature not modified');
// tear down
Modified: sandbox/tschaub/editing/tests/Handler/Polygon.html
===================================================================
--- sandbox/tschaub/editing/tests/Handler/Polygon.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/Handler/Polygon.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -25,7 +25,7 @@
}
function test_Handler_Polygon_activation(t) {
- t.plan(13);
+ t.plan(5);
var log = [];
var map = new OpenLayers.Map("map", {
resolutions: [1]
@@ -36,11 +36,7 @@
});
map.addLayer(layer);
var control = new OpenLayers.Control();
- var handler = new OpenLayers.Handler.Polygon(control, {
- "create": function(g, f) {
- log.push({geometry: g, feature: f});
- }
- });
+ var handler = new OpenLayers.Handler.Polygon(control, {});
control.handler = handler;
map.addControl(control);
map.setCenter(new OpenLayers.LonLat(0, 0), 0);
@@ -57,22 +53,6 @@
"activate creates a vector layer");
t.ok(handler.layer.map == map,
"activate adds the vector layer to the map");
- t.ok(handler.point instanceof OpenLayers.Feature.Vector,
- "activate creates a point feature");
- t.ok(handler.point.layer == handler.layer,
- "activate adds the point feature to the layer");
- t.ok(handler.line instanceof OpenLayers.Feature.Vector,
- "activates creates a line feature");
- t.ok(handler.polygon instanceof OpenLayers.Feature.Vector,
- "acttivates creates a polygon feature");
- t.ok(handler.polygon.layer == handler.layer,
- "activate adds the polygin feature to the layer");
- t.eq(log.length, 1,
- "activate calls \"create\" once");
- t.ok(log[0].geometry == handler.point.geometry,
- "\"create\" called with expected geometry");
- t.ok(log[0].feature == handler.polygon,
- "\"create\" called with expected feature");
activated = handler.deactivate();
t.ok(activated,
"deactivate returns true if the handler was active already");
@@ -140,7 +120,7 @@
}
function test_callbacks(t) {
- t.plan(45);
+ t.plan(39);
var map = new OpenLayers.Map("map", {
resolutions: [1]
});
@@ -178,17 +158,16 @@
// create polygon
handler.activate();
- handler.activate();
- t.eq(logs.length, 1, "[activate] called back");
+
+ handler.mousemove(
+ {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+ t.eq(logs.length, 2, "[mousemove] called back");
log = logs.shift();
t.eq(log.type, "create", "[activate] create called");
- t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
- "[activate] initial point");
+ t.geom_eq(log.args[0], new OpenLayers.Geometry.Point(-150, 75),
+ "[mousemove] correct point");
t.ok(log.args[1] == handler.polygon,
- "[activate] correct feature");
- handler.mousemove(
- {type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
- t.eq(logs.length, 1, "[mousemove] called back");
+ "[mousemove] correct feature");
log = logs.shift();
t.eq(log.type, "modify", "[mousemove] modify called");
t.geom_eq(log.args[0], new OpenLayers.Geometry.Point(-150, 75),
@@ -287,7 +266,7 @@
// dblclick
handler.dblclick(
{type: "dblclick", xy: new OpenLayers.Pixel(0, 10)});
- t.eq(logs.length, 2, "[dblclick] called back twice");
+ t.eq(logs.length, 1, "[dblclick] called back");
log = logs.shift();
t.eq(log.type, "done", "[dblclick] done called");
t.geom_eq(
@@ -302,21 +281,11 @@
]),
"[dblclick] correct polygon"
);
- log = logs.shift();
- t.eq(log.type, "create", "[dblclick] create called");
- t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
- "[dblclick] initial point");
- t.ok(log.args[1] == handler.polygon,
- "[dblclick] correct feature");
// cancel
handler.cancel();
- t.eq(logs.length, 2, "[cancel] called back");
+ t.eq(logs.length, 1, "[cancel] called back");
log = logs.shift();
t.eq(log.type, "cancel", "[cancel] canced called");
- log = logs.shift();
- t.eq(log.type, "create", "[cancel] create called");
- t.ok(isNaN(log.args[0].x) && isNaN(log.args[0].y),
- "[cancel] initial point");
map.destroy();
}
@@ -389,9 +358,9 @@
handler.activate();
handler.persist = false;
- var feature1 = handler.polygon;
handler.mousemove(
{type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+ var feature1 = handler.polygon;
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
handler.mouseup(
@@ -409,9 +378,9 @@
t.ok(feature1.layer == null, "a) feature1 destroyed");
handler.persist = true;
- var feature2 = handler.polygon;
handler.mousemove(
{type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+ var feature2 = handler.polygon;
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
handler.mouseup(
@@ -428,9 +397,9 @@
{type: "dblclick", xy: new OpenLayers.Pixel(2, 2)});
t.ok(feature2.layer != null, "b) feature2 not destroyed");
- var feature3 = handler.polygon;
handler.mousemove(
{type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+ var feature3 = handler.polygon;
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0)});
handler.mouseup(
@@ -470,9 +439,9 @@
handler.activate();
handler.persist = false;
- var feature1 = handler.polygon;
handler.mousemove(
{type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+ var feature1 = handler.polygon;
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: true});
handler.mousemove(
@@ -484,9 +453,9 @@
t.ok(feature1.layer == null, "a) feature1 destroyed");
handler.persist = true;
- var feature2 = handler.polygon;
handler.mousemove(
{type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+ var feature2 = handler.polygon;
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: true});
handler.mousemove(
@@ -497,9 +466,9 @@
{type: "mouseup", xy: new OpenLayers.Pixel(2, 2), shiftKey: true});
t.ok(feature2.layer != null, "b) feature2 not destroyed");
- var feature3 = handler.polygon;
handler.mousemove(
{type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+ var feature3 = handler.polygon;
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: true});
handler.mousemove(
@@ -511,9 +480,9 @@
t.ok(feature3.layer != null, "c) feature3 not destroyed");
t.ok(feature2.layer == null, "c) feature2 destroyed");
- feature4 = handler.polygon;
handler.mousemove(
{type: "mousemove", xy: new OpenLayers.Pixel(0, 0)});
+ feature4 = handler.polygon;
handler.mousedown(
{type: "mousedown", xy: new OpenLayers.Pixel(0, 0), shiftKey: false});
handler.mousemove(
Modified: sandbox/tschaub/editing/tests/Layer/GoogleNG.html
===================================================================
--- sandbox/tschaub/editing/tests/Layer/GoogleNG.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/Layer/GoogleNG.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -34,11 +34,11 @@
numZoomLevels: 24,
initLayer: function() {
log[layer2.id] = true;
- var origMinZoom = layer2.mapObject.mapTypes[layer2.type].minZoom;
+ var origMinZoom = OpenLayers.Layer.GoogleNG.mapObject.mapTypes[layer2.type].minZoom;
// pretend the API reports a minZoom of 1
- layer2.mapObject.mapTypes[layer2.type].minZoom = 1;
+ OpenLayers.Layer.GoogleNG.mapObject.mapTypes[layer2.type].minZoom = 1;
OpenLayers.Layer.GoogleNG.prototype.initLayer.apply(this, arguments);
- layer2.mapObject.mapTypes[layer2.type].minZoom = origMinZoom;
+ OpenLayers.Layer.GoogleNG.mapObject.mapTypes[layer2.type].minZoom = origMinZoom;
}
});
map2.addLayer(layer2);
@@ -49,7 +49,7 @@
t.eq(log[layer2.id], true, "initLayer called for 2nd layer");
t.eq(layer.numZoomLevels, 10, "numZoomLevels from configuration takes precedence if lower");
- t.eq(layer2.numZoomLevels, layer2.mapObject.mapTypes[layer2.type].maxZoom+1, "numZoomLevels from API takes precedence if lower");
+ t.eq(layer2.numZoomLevels, OpenLayers.Layer.GoogleNG.mapObject.mapTypes[layer2.type].maxZoom+1, "numZoomLevels from API takes precedence if lower");
t.eq(layer.restrictedMinZoom, 2, "restrictedMinZoom from configuration takes precedence if higher");
t.eq(layer2.restrictedMinZoom, 1, "restrictedMinZoom from API takes precedence if higher");
@@ -60,18 +60,25 @@
}
function test_attribution(t) {
- t.plan(3);
+ t.plan(4);
var log = [];
map = new OpenLayers.Map("map");
- layer = new OpenLayers.Layer.GoogleNG({type: google.maps.MapTypeId.HYBRID});
+ layer = new OpenLayers.Layer.GoogleNG({
+ type: google.maps.MapTypeId.HYBRID,
+ updateAttribution: function(copyrights) {
+ log.push(copyrights);
+ OpenLayers.Layer.GoogleNG.prototype.updateAttribution.apply(this, arguments);
+ }
+ });
map.addLayer(layer);
- map.zoomToMaxExtent();
+ map.setCenter(new OpenLayers.LonLat(16, 48).transform(new OpenLayers.Projection("EPSG:4326"), map.getProjectionObject()), 5);
- t.delay_call(1, function() {
- t.ok(layer.attribution.indexOf('olGoogleAttribution hybrid') !== -1, "Attribution has the correct css class");
- t.ok(layer.attribution.indexOf('?ll=0,0&z=0&t=h"') != -1, "maps.google.com link has correct parameters");
- t.ok(layer.attribution.indexOf('¢er=0,0&zoom=0&size=500x550&maptype=hybrid') != -1 , "Attribution has correct map data link");
+ t.delay_call(3, function() {
+ t.eq(log.length, 1, "updateAttribution was called once");
+ t.ok(log[0]["m"].length && log[0]["k"].length, "'m' and 'k' copyrights populated for hybrid layer");
+ t.ok(layer.attribution.indexOf('olGoogleAttribution hybrid') != -1, "Attribution has the correct css class");
+ t.ok(layer.attribution.indexOf('?ll=48,16&z=5&t=h"') != -1, "maps.google.com link has correct parameters");
map.destroy();
});
}
Modified: sandbox/tschaub/editing/tests/Protocol/WFS.html
===================================================================
--- sandbox/tschaub/editing/tests/Protocol/WFS.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/Protocol/WFS.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -105,6 +105,68 @@
OpenLayers.Request.POST = _POST;
}
+ function test_exception(t) {
+ t.plan(8);
+ var url = "http://some.url.org";
+ var protocol = new OpenLayers.Protocol.WFS({
+ url: url,
+ version: "1.1.0",
+ featureNS: "http://namespace.org",
+ featureType: "type"
+ });
+ // mock up a response
+ var response = {
+ priv: {
+ status: 200,
+ responseText: '<?xml version="1.0" encoding="UTF-8"?><ows:ExceptionReport language="en" version="1.0.0" xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ows="http://www.opengis.net/ows"><ows:Exception locator="foo" exceptionCode="InvalidParameterValue"><ows:ExceptionText>Update error: Error occurred updating features</ows:ExceptionText><ows:ExceptionText>Second exception line</ows:ExceptionText></ows:Exception></ows:ExceptionReport>'
+ }
+ };
+ var log, entry, expected;
+
+ // test GetFeature
+ log = [];
+ protocol.handleRead(OpenLayers.Util.extend({}, response), {
+ callback: function(resp) {
+ log.push(resp);
+ }
+ });
+ expected = {
+ exceptionReport: {
+ version: "1.0.0",
+ language: "en",
+ exceptions: [{
+ code: "InvalidParameterValue",
+ locator: "foo",
+ texts: [
+ "Update error: Error occurred updating features",
+ "Second exception line"
+ ]
+ }]
+ },
+ success: false
+ };
+
+ t.eq(log.length, 1, "GetFeature handled");
+ entry = log[0];
+ t.eq(entry.code, OpenLayers.Protocol.Response.FAILURE, "GetFeature failure reported");
+ t.ok(!!entry.error, "GetFeature got error");
+ t.eq(entry.error, expected, "GetFeature error matches expected");
+
+ // test a commit
+ log = [];
+ protocol.handleCommit(response, {
+ callback: function(resp) {
+ log.push(resp);
+ }
+ });
+ t.eq(log.length, 1, "commit handled");
+ entry = log[0];
+ t.eq(entry.code, OpenLayers.Protocol.Response.FAILURE, "commit failure reported");
+ t.ok(!!entry.error, "commit got error");
+ t.eq(entry.error, expected, "GetFeature error matches expected");
+
+ }
+
function test_commit(t){
t.plan(5);
Modified: sandbox/tschaub/editing/tests/list-tests.html
===================================================================
--- sandbox/tschaub/editing/tests/list-tests.html 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/list-tests.html 2011-06-16 15:22:30 UTC (rev 12089)
@@ -104,6 +104,9 @@
<li>Format/SOSGetObservation.html</li>
<li>Format/SOSGetFeatureOfInterest.html</li>
<li>Format/OWSContext/v0_3_1.html</li>
+ <li>Format/OWSCommon/v1_0_0.html</li>
+ <li>Format/OWSCommon/v1_1_0.html</li>
+ <li>Format/OGCExceptionReport.html</li>
<li>Format/XLS/v1_1_0.html</li>
<li>Format/XML.html</li>
<li>Geometry.html</li>
Modified: sandbox/tschaub/editing/tests/node.js/mockdom.js
===================================================================
--- sandbox/tschaub/editing/tests/node.js/mockdom.js 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/tests/node.js/mockdom.js 2011-06-16 15:22:30 UTC (rev 12089)
@@ -5,8 +5,6 @@
}
};
-alert = print;
-
navigator = {
'appName': 'mockdom',
'userAgent': 'mockdom',
Modified: sandbox/tschaub/editing/theme/default/style.css
===================================================================
--- sandbox/tschaub/editing/theme/default/style.css 2011-06-15 21:15:59 UTC (rev 12088)
+++ sandbox/tschaub/editing/theme/default/style.css 2011-06-16 15:22:30 UTC (rev 12089)
@@ -356,7 +356,7 @@
}
.olGoogleAttribution.hybrid, .olGoogleAttribution.satellite {
- color: #DDD;
+ color: #EEE;
}
.olGoogleAttribution {
color: #333;
@@ -365,7 +365,7 @@
color: #77C;
}
span.olGoogleAttribution.hybrid a, span.olGoogleAttribution.satellite a {
- color: white;
+ color: #EEE;
}
/**
More information about the Commits
mailing list