[OpenLayers-Commits] r11267 - in sandbox/elemoine/draw-feature: . build examples examples/img lib lib/OpenLayers lib/OpenLayers/Control lib/OpenLayers/Format/CSWGetDomain lib/OpenLayers/Format/WFST lib/OpenLayers/Handler lib/OpenLayers/Layer lib/OpenLayers/Renderer lib/OpenLayers/Tile/Image tests tests/BaseTypes tests/Control tests/Feature tests/Filter tests/Format tests/Format/ArcXML tests/Format/CSWGetDomain tests/Format/CSWGetRecords tests/Format/Filter tests/Format/GML tests/Format/OWSContext tests/Format/SLD tests/Format/SOSCapabilities tests/Format/WFSCapabilities tests/Format/WFST tests/Format/WMC tests/Format/WMSCapabilities tests/Format/WMTSCapabilities tests/Geometry tests/Handler tests/Layer tests/Layer/Google tests/Layer/Vector tests/Layer/WMS tests/Marker tests/Popup tests/Protocol tests/Protocol/SQL tests/Renderer tests/Request tests/Strategy tests/Symbolizer tests/Tile tests/Tile/Image tools

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Wed Feb 23 01:23:40 EST 2011


Author: erilem
Date: 2011-02-22 22:23:40 -0800 (Tue, 22 Feb 2011)
New Revision: 11267

Added:
   sandbox/elemoine/draw-feature/build/tests.cfg
   sandbox/elemoine/draw-feature/examples/anchor-permalink.html
   sandbox/elemoine/draw-feature/examples/anchor-permalink.js
   sandbox/elemoine/draw-feature/examples/browser.html
   sandbox/elemoine/draw-feature/examples/browser.js
   sandbox/elemoine/draw-feature/examples/fullScreen.js
   sandbox/elemoine/draw-feature/examples/geolocation.html
   sandbox/elemoine/draw-feature/examples/geolocation.js
   sandbox/elemoine/draw-feature/examples/img/
   sandbox/elemoine/draw-feature/examples/img/marker_shadow.png
   sandbox/elemoine/draw-feature/examples/img/mobile-zoombar.png
   sandbox/elemoine/draw-feature/examples/img/popupMatrix.jpg
   sandbox/elemoine/draw-feature/examples/img/small.jpg
   sandbox/elemoine/draw-feature/examples/img/thinlong.jpg
   sandbox/elemoine/draw-feature/examples/img/widelong.jpg
   sandbox/elemoine/draw-feature/examples/img/wideshort.jpg
   sandbox/elemoine/draw-feature/examples/kinetic.html
   sandbox/elemoine/draw-feature/examples/kinetic.js
   sandbox/elemoine/draw-feature/examples/mobile-navigation.html
   sandbox/elemoine/draw-feature/examples/mobile-navigation.js
   sandbox/elemoine/draw-feature/examples/mobile.html
   sandbox/elemoine/draw-feature/examples/style.mobile.css
   sandbox/elemoine/draw-feature/lib/OpenLayers/Control/Geolocate.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Control/TouchNavigation.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Kinetic.js
   sandbox/elemoine/draw-feature/tests/Control/ArgParser.html
   sandbox/elemoine/draw-feature/tests/Control/Geolocate.html
   sandbox/elemoine/draw-feature/tests/Control/TouchNavigation.html
   sandbox/elemoine/draw-feature/tests/Kinetic.html
   sandbox/elemoine/draw-feature/tests/OLLoader.js
Removed:
   sandbox/elemoine/draw-feature/examples/img/marker_shadow.png
   sandbox/elemoine/draw-feature/examples/img/mobile-zoombar.png
   sandbox/elemoine/draw-feature/examples/img/popupMatrix.jpg
   sandbox/elemoine/draw-feature/examples/img/small.jpg
   sandbox/elemoine/draw-feature/examples/img/thinlong.jpg
   sandbox/elemoine/draw-feature/examples/img/widelong.jpg
   sandbox/elemoine/draw-feature/examples/img/wideshort.jpg
   sandbox/elemoine/draw-feature/examples/marker_shadow.png
   sandbox/elemoine/draw-feature/examples/popupMatrix.jpg
   sandbox/elemoine/draw-feature/examples/small.jpg
   sandbox/elemoine/draw-feature/examples/thinlong.jpg
   sandbox/elemoine/draw-feature/examples/widelong.jpg
   sandbox/elemoine/draw-feature/examples/wideshort.jpg
Modified:
   sandbox/elemoine/draw-feature/
   sandbox/elemoine/draw-feature/examples/GMLParser.html
   sandbox/elemoine/draw-feature/examples/KMLParser.html
   sandbox/elemoine/draw-feature/examples/SLDSelect.html
   sandbox/elemoine/draw-feature/examples/WMSDescribeLayerParser.html
   sandbox/elemoine/draw-feature/examples/WMSPost.html
   sandbox/elemoine/draw-feature/examples/accessible.html
   sandbox/elemoine/draw-feature/examples/all-overlays-google.html
   sandbox/elemoine/draw-feature/examples/all-overlays.html
   sandbox/elemoine/draw-feature/examples/animated_panning.html
   sandbox/elemoine/draw-feature/examples/arcgis93rest.html
   sandbox/elemoine/draw-feature/examples/arcims-thematic.html
   sandbox/elemoine/draw-feature/examples/arcims.html
   sandbox/elemoine/draw-feature/examples/attribution.html
   sandbox/elemoine/draw-feature/examples/baseLayers.html
   sandbox/elemoine/draw-feature/examples/behavior-fixed-http-gml.html
   sandbox/elemoine/draw-feature/examples/bing-tiles.html
   sandbox/elemoine/draw-feature/examples/bing.html
   sandbox/elemoine/draw-feature/examples/boxes-vector.html
   sandbox/elemoine/draw-feature/examples/boxes.html
   sandbox/elemoine/draw-feature/examples/browser-name.html
   sandbox/elemoine/draw-feature/examples/buffer.html
   sandbox/elemoine/draw-feature/examples/canvas.html
   sandbox/elemoine/draw-feature/examples/click-handler.html
   sandbox/elemoine/draw-feature/examples/click.html
   sandbox/elemoine/draw-feature/examples/controls.html
   sandbox/elemoine/draw-feature/examples/cql-format.html
   sandbox/elemoine/draw-feature/examples/custom-control-point.html
   sandbox/elemoine/draw-feature/examples/custom-control.html
   sandbox/elemoine/draw-feature/examples/custom-style.html
   sandbox/elemoine/draw-feature/examples/debug.html
   sandbox/elemoine/draw-feature/examples/document-drag.html
   sandbox/elemoine/draw-feature/examples/donut.html
   sandbox/elemoine/draw-feature/examples/doubleSetCenter.html
   sandbox/elemoine/draw-feature/examples/drag-feature.html
   sandbox/elemoine/draw-feature/examples/draw-feature.html
   sandbox/elemoine/draw-feature/examples/dynamic-text-layer.html
   sandbox/elemoine/draw-feature/examples/editingtoolbar-outside.html
   sandbox/elemoine/draw-feature/examples/editingtoolbar.html
   sandbox/elemoine/draw-feature/examples/events.html
   sandbox/elemoine/draw-feature/examples/example-list.html
   sandbox/elemoine/draw-feature/examples/example.html
   sandbox/elemoine/draw-feature/examples/filter-strategy.html
   sandbox/elemoine/draw-feature/examples/filter.html
   sandbox/elemoine/draw-feature/examples/fractional-zoom.html
   sandbox/elemoine/draw-feature/examples/fullScreen.html
   sandbox/elemoine/draw-feature/examples/geojson.html
   sandbox/elemoine/draw-feature/examples/georss-flickr.html
   sandbox/elemoine/draw-feature/examples/georss-markers.html
   sandbox/elemoine/draw-feature/examples/georss.html
   sandbox/elemoine/draw-feature/examples/getfeature-wfs.html
   sandbox/elemoine/draw-feature/examples/getfeatureinfo-control.html
   sandbox/elemoine/draw-feature/examples/getfeatureinfo-popup.html
   sandbox/elemoine/draw-feature/examples/getfeatureinfo.html
   sandbox/elemoine/draw-feature/examples/gml-layer.html
   sandbox/elemoine/draw-feature/examples/google-reproject.html
   sandbox/elemoine/draw-feature/examples/google-v3-alloverlays.html
   sandbox/elemoine/draw-feature/examples/google-v3.html
   sandbox/elemoine/draw-feature/examples/google.html
   sandbox/elemoine/draw-feature/examples/graphic-name.html
   sandbox/elemoine/draw-feature/examples/graticule.html
   sandbox/elemoine/draw-feature/examples/gutter.html
   sandbox/elemoine/draw-feature/examples/highlight-feature.html
   sandbox/elemoine/draw-feature/examples/hover-handler.html
   sandbox/elemoine/draw-feature/examples/image-layer.html
   sandbox/elemoine/draw-feature/examples/intersects.html
   sandbox/elemoine/draw-feature/examples/kamap.html
   sandbox/elemoine/draw-feature/examples/kml-layer.html
   sandbox/elemoine/draw-feature/examples/kml-track.html
   sandbox/elemoine/draw-feature/examples/late-render.html
   sandbox/elemoine/draw-feature/examples/layer-opacity.html
   sandbox/elemoine/draw-feature/examples/layerLoadMonitoring.html
   sandbox/elemoine/draw-feature/examples/layerswitcher.html
   sandbox/elemoine/draw-feature/examples/lite.html
   sandbox/elemoine/draw-feature/examples/mapguide.html
   sandbox/elemoine/draw-feature/examples/mapserver.html
   sandbox/elemoine/draw-feature/examples/mapserver_untiled.html
   sandbox/elemoine/draw-feature/examples/marker-shadow.html
   sandbox/elemoine/draw-feature/examples/markerResize.html
   sandbox/elemoine/draw-feature/examples/markers.html
   sandbox/elemoine/draw-feature/examples/markersTextLayer.html
   sandbox/elemoine/draw-feature/examples/measure.html
   sandbox/elemoine/draw-feature/examples/mm.html
   sandbox/elemoine/draw-feature/examples/mobile-jq.html
   sandbox/elemoine/draw-feature/examples/mobile-sencha.html
   sandbox/elemoine/draw-feature/examples/mobile.js
   sandbox/elemoine/draw-feature/examples/modify-feature.html
   sandbox/elemoine/draw-feature/examples/mouse-position.html
   sandbox/elemoine/draw-feature/examples/mousewheel-interval.html
   sandbox/elemoine/draw-feature/examples/multimap-mercator.html
   sandbox/elemoine/draw-feature/examples/multiserver.html
   sandbox/elemoine/draw-feature/examples/mvs.html
   sandbox/elemoine/draw-feature/examples/navigation-control.html
   sandbox/elemoine/draw-feature/examples/navigation-history.html
   sandbox/elemoine/draw-feature/examples/navtoolbar-alwaysZoom.html
   sandbox/elemoine/draw-feature/examples/navtoolbar-outsidemap.html
   sandbox/elemoine/draw-feature/examples/navtoolbar.html
   sandbox/elemoine/draw-feature/examples/ordering.html
   sandbox/elemoine/draw-feature/examples/osm-google.html
   sandbox/elemoine/draw-feature/examples/osm-layer.html
   sandbox/elemoine/draw-feature/examples/osm.html
   sandbox/elemoine/draw-feature/examples/outOfRangeMarkers.html
   sandbox/elemoine/draw-feature/examples/overviewmap.html
   sandbox/elemoine/draw-feature/examples/pan-zoom-panels.html
   sandbox/elemoine/draw-feature/examples/panel.html
   sandbox/elemoine/draw-feature/examples/point-track-markers.html
   sandbox/elemoine/draw-feature/examples/popupMatrix.html
   sandbox/elemoine/draw-feature/examples/popups.html
   sandbox/elemoine/draw-feature/examples/projected-map.html
   sandbox/elemoine/draw-feature/examples/protocol-gears.html
   sandbox/elemoine/draw-feature/examples/regular-polygons.html
   sandbox/elemoine/draw-feature/examples/resize-features.html
   sandbox/elemoine/draw-feature/examples/restricted-extent.html
   sandbox/elemoine/draw-feature/examples/rotate-features.html
   sandbox/elemoine/draw-feature/examples/select-feature-multilayer.html
   sandbox/elemoine/draw-feature/examples/select-feature-openpopup.html
   sandbox/elemoine/draw-feature/examples/select-feature.html
   sandbox/elemoine/draw-feature/examples/setextent.html
   sandbox/elemoine/draw-feature/examples/simplify-linestring.html
   sandbox/elemoine/draw-feature/examples/single-tile.html
   sandbox/elemoine/draw-feature/examples/sld-parser.html
   sandbox/elemoine/draw-feature/examples/sld.html
   sandbox/elemoine/draw-feature/examples/snap-split.html
   sandbox/elemoine/draw-feature/examples/snapping.html
   sandbox/elemoine/draw-feature/examples/sos.html
   sandbox/elemoine/draw-feature/examples/spherical-mercator.html
   sandbox/elemoine/draw-feature/examples/split-feature.html
   sandbox/elemoine/draw-feature/examples/strategy-bbox.html
   sandbox/elemoine/draw-feature/examples/strategy-cluster-extended.html
   sandbox/elemoine/draw-feature/examples/strategy-cluster-threshold.html
   sandbox/elemoine/draw-feature/examples/strategy-cluster.html
   sandbox/elemoine/draw-feature/examples/strategy-paging.html
   sandbox/elemoine/draw-feature/examples/style-rules.html
   sandbox/elemoine/draw-feature/examples/style.css
   sandbox/elemoine/draw-feature/examples/stylemap.html
   sandbox/elemoine/draw-feature/examples/styles-context.html
   sandbox/elemoine/draw-feature/examples/styles-rotation.html
   sandbox/elemoine/draw-feature/examples/styles-unique.html
   sandbox/elemoine/draw-feature/examples/sundials-spherical-mercator.html
   sandbox/elemoine/draw-feature/examples/sundials.html
   sandbox/elemoine/draw-feature/examples/symbolizers-fill-stroke-graphic.html
   sandbox/elemoine/draw-feature/examples/teleportation.html
   sandbox/elemoine/draw-feature/examples/tile-origin.html
   sandbox/elemoine/draw-feature/examples/tilecache.html
   sandbox/elemoine/draw-feature/examples/tms.html
   sandbox/elemoine/draw-feature/examples/transform-feature.html
   sandbox/elemoine/draw-feature/examples/transition.html
   sandbox/elemoine/draw-feature/examples/urban.html
   sandbox/elemoine/draw-feature/examples/ve-novibrate.html
   sandbox/elemoine/draw-feature/examples/ve.html
   sandbox/elemoine/draw-feature/examples/vector-features-with-text.html
   sandbox/elemoine/draw-feature/examples/vector-features.html
   sandbox/elemoine/draw-feature/examples/vector-formats.html
   sandbox/elemoine/draw-feature/examples/web-mercator.html
   sandbox/elemoine/draw-feature/examples/wfs-filter.html
   sandbox/elemoine/draw-feature/examples/wfs-protocol-transactions.html
   sandbox/elemoine/draw-feature/examples/wfs-protocol.html
   sandbox/elemoine/draw-feature/examples/wfs-reprojection.html
   sandbox/elemoine/draw-feature/examples/wfs-snap-split.html
   sandbox/elemoine/draw-feature/examples/wfs-states.html
   sandbox/elemoine/draw-feature/examples/wmc.html
   sandbox/elemoine/draw-feature/examples/wms-long-url.html
   sandbox/elemoine/draw-feature/examples/wms-untiled.html
   sandbox/elemoine/draw-feature/examples/wms-v13.html
   sandbox/elemoine/draw-feature/examples/wms.html
   sandbox/elemoine/draw-feature/examples/wmst.html
   sandbox/elemoine/draw-feature/examples/wmts-capabilities.html
   sandbox/elemoine/draw-feature/examples/wmts-getfeatureinfo.html
   sandbox/elemoine/draw-feature/examples/wmts.html
   sandbox/elemoine/draw-feature/examples/worldwind.html
   sandbox/elemoine/draw-feature/examples/wrapDateLine.html
   sandbox/elemoine/draw-feature/examples/xhtml.html
   sandbox/elemoine/draw-feature/examples/xml.html
   sandbox/elemoine/draw-feature/examples/xyz-esri.html
   sandbox/elemoine/draw-feature/examples/xyz-offset.html
   sandbox/elemoine/draw-feature/examples/yahoo.html
   sandbox/elemoine/draw-feature/examples/zoomLevels.html
   sandbox/elemoine/draw-feature/examples/zoomify.html
   sandbox/elemoine/draw-feature/lib/OpenLayers.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/BaseTypes.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Control/ArgParser.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Control/DragPan.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Control/LayerSwitcher.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Control/PanZoomBar.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Control/Permalink.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Events.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Format/CSWGetDomain/v2_0_2.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Format/WFST/v1.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Handler/Click.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Handler/Drag.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/Bing.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/Grid.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/Vector.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/WMS.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/Zoomify.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Map.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Renderer/VML.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Tile/Image/IFrame.js
   sandbox/elemoine/draw-feature/lib/OpenLayers/Util.js
   sandbox/elemoine/draw-feature/tests/Ajax.html
   sandbox/elemoine/draw-feature/tests/BaseTypes.html
   sandbox/elemoine/draw-feature/tests/BaseTypes/Bounds.html
   sandbox/elemoine/draw-feature/tests/BaseTypes/Class.html
   sandbox/elemoine/draw-feature/tests/BaseTypes/Element.html
   sandbox/elemoine/draw-feature/tests/BaseTypes/LonLat.html
   sandbox/elemoine/draw-feature/tests/BaseTypes/Pixel.html
   sandbox/elemoine/draw-feature/tests/BaseTypes/Size.html
   sandbox/elemoine/draw-feature/tests/Console.html
   sandbox/elemoine/draw-feature/tests/Control.html
   sandbox/elemoine/draw-feature/tests/Control/Attribution.html
   sandbox/elemoine/draw-feature/tests/Control/Button.html
   sandbox/elemoine/draw-feature/tests/Control/DragFeature.html
   sandbox/elemoine/draw-feature/tests/Control/DragPan.html
   sandbox/elemoine/draw-feature/tests/Control/DrawFeature.html
   sandbox/elemoine/draw-feature/tests/Control/GetFeature.html
   sandbox/elemoine/draw-feature/tests/Control/Graticule.html
   sandbox/elemoine/draw-feature/tests/Control/KeyboardDefaults.html
   sandbox/elemoine/draw-feature/tests/Control/LayerSwitcher.html
   sandbox/elemoine/draw-feature/tests/Control/Measure.html
   sandbox/elemoine/draw-feature/tests/Control/ModifyFeature.html
   sandbox/elemoine/draw-feature/tests/Control/MousePosition.html
   sandbox/elemoine/draw-feature/tests/Control/MouseToolbar.html
   sandbox/elemoine/draw-feature/tests/Control/NavToolbar.html
   sandbox/elemoine/draw-feature/tests/Control/Navigation.html
   sandbox/elemoine/draw-feature/tests/Control/NavigationHistory.html
   sandbox/elemoine/draw-feature/tests/Control/OverviewMap.html
   sandbox/elemoine/draw-feature/tests/Control/PanPanel.html
   sandbox/elemoine/draw-feature/tests/Control/PanZoom.html
   sandbox/elemoine/draw-feature/tests/Control/PanZoomBar.html
   sandbox/elemoine/draw-feature/tests/Control/Panel.html
   sandbox/elemoine/draw-feature/tests/Control/Permalink.html
   sandbox/elemoine/draw-feature/tests/Control/SLDSelect.html
   sandbox/elemoine/draw-feature/tests/Control/Scale.html
   sandbox/elemoine/draw-feature/tests/Control/ScaleLine.html
   sandbox/elemoine/draw-feature/tests/Control/SelectFeature.html
   sandbox/elemoine/draw-feature/tests/Control/Snapping.html
   sandbox/elemoine/draw-feature/tests/Control/Split.html
   sandbox/elemoine/draw-feature/tests/Control/TransformFeature.html
   sandbox/elemoine/draw-feature/tests/Control/WMSGetFeatureInfo.html
   sandbox/elemoine/draw-feature/tests/Control/WMTSGetFeatureInfo.html
   sandbox/elemoine/draw-feature/tests/Events.html
   sandbox/elemoine/draw-feature/tests/Extras.html
   sandbox/elemoine/draw-feature/tests/Feature.html
   sandbox/elemoine/draw-feature/tests/Feature/Vector.html
   sandbox/elemoine/draw-feature/tests/Filter.html
   sandbox/elemoine/draw-feature/tests/Filter/Comparison.html
   sandbox/elemoine/draw-feature/tests/Filter/FeatureId.html
   sandbox/elemoine/draw-feature/tests/Filter/Logical.html
   sandbox/elemoine/draw-feature/tests/Filter/Spatial.html
   sandbox/elemoine/draw-feature/tests/Format.html
   sandbox/elemoine/draw-feature/tests/Format/ArcXML.html
   sandbox/elemoine/draw-feature/tests/Format/ArcXML/Features.html
   sandbox/elemoine/draw-feature/tests/Format/Atom.html
   sandbox/elemoine/draw-feature/tests/Format/CQL.html
   sandbox/elemoine/draw-feature/tests/Format/CSWGetDomain.html
   sandbox/elemoine/draw-feature/tests/Format/CSWGetDomain/v2_0_2.html
   sandbox/elemoine/draw-feature/tests/Format/CSWGetRecords.html
   sandbox/elemoine/draw-feature/tests/Format/CSWGetRecords/v2_0_2.html
   sandbox/elemoine/draw-feature/tests/Format/Filter.html
   sandbox/elemoine/draw-feature/tests/Format/Filter/v1.html
   sandbox/elemoine/draw-feature/tests/Format/Filter/v1_0_0.html
   sandbox/elemoine/draw-feature/tests/Format/Filter/v1_1_0.html
   sandbox/elemoine/draw-feature/tests/Format/GML.html
   sandbox/elemoine/draw-feature/tests/Format/GML/v2.html
   sandbox/elemoine/draw-feature/tests/Format/GML/v3.html
   sandbox/elemoine/draw-feature/tests/Format/GPX.html
   sandbox/elemoine/draw-feature/tests/Format/GeoJSON.html
   sandbox/elemoine/draw-feature/tests/Format/GeoRSS.html
   sandbox/elemoine/draw-feature/tests/Format/JSON.html
   sandbox/elemoine/draw-feature/tests/Format/KML.html
   sandbox/elemoine/draw-feature/tests/Format/OSM.html
   sandbox/elemoine/draw-feature/tests/Format/OWSContext/v0_3_1.html
   sandbox/elemoine/draw-feature/tests/Format/SLD.html
   sandbox/elemoine/draw-feature/tests/Format/SLD/v1_0_0.html
   sandbox/elemoine/draw-feature/tests/Format/SOSCapabilities/v1_0_0.html
   sandbox/elemoine/draw-feature/tests/Format/SOSGetFeatureOfInterest.html
   sandbox/elemoine/draw-feature/tests/Format/SOSGetObservation.html
   sandbox/elemoine/draw-feature/tests/Format/Text.html
   sandbox/elemoine/draw-feature/tests/Format/WFS.html
   sandbox/elemoine/draw-feature/tests/Format/WFSCapabilities.html
   sandbox/elemoine/draw-feature/tests/Format/WFSCapabilities/v1.html
   sandbox/elemoine/draw-feature/tests/Format/WFSDescribeFeatureType.html
   sandbox/elemoine/draw-feature/tests/Format/WFST.html
   sandbox/elemoine/draw-feature/tests/Format/WFST/v1.html
   sandbox/elemoine/draw-feature/tests/Format/WFST/v1_0_0.html
   sandbox/elemoine/draw-feature/tests/Format/WFST/v1_1_0.html
   sandbox/elemoine/draw-feature/tests/Format/WKT.html
   sandbox/elemoine/draw-feature/tests/Format/WMC.html
   sandbox/elemoine/draw-feature/tests/Format/WMC/v1.html
   sandbox/elemoine/draw-feature/tests/Format/WMC/v1_1_0.html
   sandbox/elemoine/draw-feature/tests/Format/WMSCapabilities.html
   sandbox/elemoine/draw-feature/tests/Format/WMSCapabilities/v1_1_1.html
   sandbox/elemoine/draw-feature/tests/Format/WMSCapabilities/v1_1_1_WMSC.html
   sandbox/elemoine/draw-feature/tests/Format/WMSCapabilities/v1_3_0.html
   sandbox/elemoine/draw-feature/tests/Format/WMSDescribeLayer.html
   sandbox/elemoine/draw-feature/tests/Format/WMSGetFeatureInfo.html
   sandbox/elemoine/draw-feature/tests/Format/WMTSCapabilities.html
   sandbox/elemoine/draw-feature/tests/Format/WMTSCapabilities/v1_0_0.html
   sandbox/elemoine/draw-feature/tests/Format/XML.html
   sandbox/elemoine/draw-feature/tests/Geometry.html
   sandbox/elemoine/draw-feature/tests/Geometry/Collection.html
   sandbox/elemoine/draw-feature/tests/Geometry/Curve.html
   sandbox/elemoine/draw-feature/tests/Geometry/LineString.html
   sandbox/elemoine/draw-feature/tests/Geometry/LinearRing.html
   sandbox/elemoine/draw-feature/tests/Geometry/MultiLineString.html
   sandbox/elemoine/draw-feature/tests/Geometry/MultiPoint.html
   sandbox/elemoine/draw-feature/tests/Geometry/MultiPolygon.html
   sandbox/elemoine/draw-feature/tests/Geometry/Point.html
   sandbox/elemoine/draw-feature/tests/Geometry/Polygon.html
   sandbox/elemoine/draw-feature/tests/Geometry/Rectangle.html
   sandbox/elemoine/draw-feature/tests/Geometry/Surface.html
   sandbox/elemoine/draw-feature/tests/Handler.html
   sandbox/elemoine/draw-feature/tests/Handler/Box.html
   sandbox/elemoine/draw-feature/tests/Handler/Click.html
   sandbox/elemoine/draw-feature/tests/Handler/Drag.html
   sandbox/elemoine/draw-feature/tests/Handler/Feature.html
   sandbox/elemoine/draw-feature/tests/Handler/Hover.html
   sandbox/elemoine/draw-feature/tests/Handler/Keyboard.html
   sandbox/elemoine/draw-feature/tests/Handler/MouseWheel.html
   sandbox/elemoine/draw-feature/tests/Handler/Path.html
   sandbox/elemoine/draw-feature/tests/Handler/Point.html
   sandbox/elemoine/draw-feature/tests/Handler/Polygon.html
   sandbox/elemoine/draw-feature/tests/Handler/RegularPolygon.html
   sandbox/elemoine/draw-feature/tests/Icon.html
   sandbox/elemoine/draw-feature/tests/Lang.html
   sandbox/elemoine/draw-feature/tests/Layer.html
   sandbox/elemoine/draw-feature/tests/Layer/ArcGIS93Rest.html
   sandbox/elemoine/draw-feature/tests/Layer/ArcIMS.html
   sandbox/elemoine/draw-feature/tests/Layer/Bing.html
   sandbox/elemoine/draw-feature/tests/Layer/EventPane.html
   sandbox/elemoine/draw-feature/tests/Layer/FixedZoomLevels.html
   sandbox/elemoine/draw-feature/tests/Layer/GML.html
   sandbox/elemoine/draw-feature/tests/Layer/GeoRSS.html
   sandbox/elemoine/draw-feature/tests/Layer/Google.html
   sandbox/elemoine/draw-feature/tests/Layer/Google/v3.html
   sandbox/elemoine/draw-feature/tests/Layer/Grid.html
   sandbox/elemoine/draw-feature/tests/Layer/HTTPRequest.html
   sandbox/elemoine/draw-feature/tests/Layer/Image.html
   sandbox/elemoine/draw-feature/tests/Layer/KaMap.html
   sandbox/elemoine/draw-feature/tests/Layer/MapGuide.html
   sandbox/elemoine/draw-feature/tests/Layer/MapServer.html
   sandbox/elemoine/draw-feature/tests/Layer/Markers.html
   sandbox/elemoine/draw-feature/tests/Layer/MultiMap.html
   sandbox/elemoine/draw-feature/tests/Layer/PointTrack.html
   sandbox/elemoine/draw-feature/tests/Layer/SphericalMercator.html
   sandbox/elemoine/draw-feature/tests/Layer/TMS.html
   sandbox/elemoine/draw-feature/tests/Layer/Text.html
   sandbox/elemoine/draw-feature/tests/Layer/TileCache.html
   sandbox/elemoine/draw-feature/tests/Layer/Vector.html
   sandbox/elemoine/draw-feature/tests/Layer/Vector/RootContainer.html
   sandbox/elemoine/draw-feature/tests/Layer/WFS.html
   sandbox/elemoine/draw-feature/tests/Layer/WMS.html
   sandbox/elemoine/draw-feature/tests/Layer/WMS/Post.html
   sandbox/elemoine/draw-feature/tests/Layer/WMTS.html
   sandbox/elemoine/draw-feature/tests/Layer/WrapDateLine.html
   sandbox/elemoine/draw-feature/tests/Layer/XYZ.html
   sandbox/elemoine/draw-feature/tests/Layer/Yahoo.html
   sandbox/elemoine/draw-feature/tests/Map.html
   sandbox/elemoine/draw-feature/tests/Marker.html
   sandbox/elemoine/draw-feature/tests/Marker/Box.html
   sandbox/elemoine/draw-feature/tests/OpenLayers4.html
   sandbox/elemoine/draw-feature/tests/Popup.html
   sandbox/elemoine/draw-feature/tests/Popup/Anchored.html
   sandbox/elemoine/draw-feature/tests/Popup/AnchoredBubble.html
   sandbox/elemoine/draw-feature/tests/Popup/FramedCloud.html
   sandbox/elemoine/draw-feature/tests/Projection.html
   sandbox/elemoine/draw-feature/tests/Protocol.html
   sandbox/elemoine/draw-feature/tests/Protocol/HTTP.html
   sandbox/elemoine/draw-feature/tests/Protocol/SOS.html
   sandbox/elemoine/draw-feature/tests/Protocol/SQL.html
   sandbox/elemoine/draw-feature/tests/Protocol/SQL/Gears.html
   sandbox/elemoine/draw-feature/tests/Protocol/WFS.html
   sandbox/elemoine/draw-feature/tests/Renderer.html
   sandbox/elemoine/draw-feature/tests/Renderer/Canvas.html
   sandbox/elemoine/draw-feature/tests/Renderer/Elements.html
   sandbox/elemoine/draw-feature/tests/Renderer/SVG.html
   sandbox/elemoine/draw-feature/tests/Renderer/VML.html
   sandbox/elemoine/draw-feature/tests/Request.html
   sandbox/elemoine/draw-feature/tests/Request/XMLHttpRequest.html
   sandbox/elemoine/draw-feature/tests/Rule.html
   sandbox/elemoine/draw-feature/tests/Strategy.html
   sandbox/elemoine/draw-feature/tests/Strategy/BBOX.html
   sandbox/elemoine/draw-feature/tests/Strategy/Cluster.html
   sandbox/elemoine/draw-feature/tests/Strategy/Filter.html
   sandbox/elemoine/draw-feature/tests/Strategy/Fixed.html
   sandbox/elemoine/draw-feature/tests/Strategy/Paging.html
   sandbox/elemoine/draw-feature/tests/Strategy/Refresh.html
   sandbox/elemoine/draw-feature/tests/Strategy/Save.html
   sandbox/elemoine/draw-feature/tests/Style.html
   sandbox/elemoine/draw-feature/tests/Style2.html
   sandbox/elemoine/draw-feature/tests/StyleMap.html
   sandbox/elemoine/draw-feature/tests/Symbolizer.html
   sandbox/elemoine/draw-feature/tests/Symbolizer/Line.html
   sandbox/elemoine/draw-feature/tests/Symbolizer/Point.html
   sandbox/elemoine/draw-feature/tests/Symbolizer/Polygon.html
   sandbox/elemoine/draw-feature/tests/Symbolizer/Raster.html
   sandbox/elemoine/draw-feature/tests/Symbolizer/Text.html
   sandbox/elemoine/draw-feature/tests/Tile.html
   sandbox/elemoine/draw-feature/tests/Tile/Image.html
   sandbox/elemoine/draw-feature/tests/Tile/Image/IFrame.html
   sandbox/elemoine/draw-feature/tests/Tile/WFS.html
   sandbox/elemoine/draw-feature/tests/Tween.html
   sandbox/elemoine/draw-feature/tests/Util.html
   sandbox/elemoine/draw-feature/tests/list-tests.html
   sandbox/elemoine/draw-feature/tools/exampleparser.py
   sandbox/elemoine/draw-feature/tools/update_dev_dir.sh
Log:
svn merge -r 11155:HEAD http://svn.openlayers.org/trunk/openlayers/ .


Property changes on: sandbox/elemoine/draw-feature
___________________________________________________________________
Modified: svn:mergeinfo
   - /sandbox/roberthl/openlayers:9745-9748
/trunk/openlayers:11027-11037,11040-11091,11094-11140,11142-11154
   + /sandbox/roberthl/openlayers:9745-9748
/trunk/openlayers:11027-11037,11040-11091,11094-11140,11142-11154,11156-11266

Added: sandbox/elemoine/draw-feature/build/tests.cfg
===================================================================
--- sandbox/elemoine/draw-feature/build/tests.cfg	                        (rev 0)
+++ sandbox/elemoine/draw-feature/build/tests.cfg	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,10 @@
+# This build config is supposed to be used for the units tests with "mode=build"
+
+[first]
+
+[last]
+
+[include]
+
+[exclude]
+OpenLayers.js

Modified: sandbox/elemoine/draw-feature/examples/GMLParser.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/GMLParser.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/GMLParser.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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 Parser</title>
     <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/KMLParser.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/KMLParser.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/KMLParser.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <script src="../lib/OpenLayers.js"></script>

Modified: sandbox/elemoine/draw-feature/examples/SLDSelect.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/SLDSelect.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/SLDSelect.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/WMSDescribeLayerParser.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/WMSDescribeLayerParser.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/WMSDescribeLayerParser.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <script src="../lib/OpenLayers.js"></script>

Modified: sandbox/elemoine/draw-feature/examples/WMSPost.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/WMSPost.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/WMSPost.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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 WMS Example via HTTP-POST protocol</title>
     <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/accessible.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/accessible.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/accessible.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/all-overlays-google.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/all-overlays-google.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/all-overlays-google.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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">
         <link rel="stylesheet" href="../theme/default/google.css" type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/all-overlays.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/all-overlays.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/all-overlays.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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>
         
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />

Copied: sandbox/elemoine/draw-feature/examples/anchor-permalink.html (from rev 11266, trunk/openlayers/examples/anchor-permalink.html)
===================================================================
--- sandbox/elemoine/draw-feature/examples/anchor-permalink.html	                        (rev 0)
+++ sandbox/elemoine/draw-feature/examples/anchor-permalink.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,27 @@
+<html>
+    <head>
+        <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" />
+        <title>AnchorPermalink Example</title>
+        <script src="../lib/OpenLayers.js"></script>
+        <script src="anchor-permalink.js"></script>
+    </head>
+    <body onload="init()">
+        <h1 id="title">AnchorPermalink Example</h1>
+        <div id="tags">
+            anchor, permalink
+        </div>
+        <p id="shortdesc">
+            Place a permalink in the anchor of the url. 
+        </p>
+        <div id="map" class="smallmap"></div>
+        <div id="docs">
+            <p>
+                See the <a href="anchor-permalink.js" target="_blank">anchor-permalink.js
+                source</a> to see how this is done.
+            </p> 
+        </div>
+    </body>
+</html>

Copied: sandbox/elemoine/draw-feature/examples/anchor-permalink.js (from rev 11266, trunk/openlayers/examples/anchor-permalink.js)
===================================================================
--- sandbox/elemoine/draw-feature/examples/anchor-permalink.js	                        (rev 0)
+++ sandbox/elemoine/draw-feature/examples/anchor-permalink.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,13 @@
+function init() {
+    var map = new OpenLayers.Map({
+        div: "map",
+        projection: new OpenLayers.Projection("EPSG:900913"),
+        displayProjection: new OpenLayers.Projection("EPSG:4326"),
+        layers: [
+            new OpenLayers.Layer.OSM()
+        ]
+    });
+    if (!map.getCenter()) map.zoomToMaxExtent();
+
+    map.addControl(new OpenLayers.Control.Permalink({anchor: true}));
+}

Modified: sandbox/elemoine/draw-feature/examples/animated_panning.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/animated_panning.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/animated_panning.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/arcgis93rest.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/arcgis93rest.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/arcgis93rest.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <script src="../lib/OpenLayers.js"></script>

Modified: sandbox/elemoine/draw-feature/examples/arcims-thematic.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/arcims-thematic.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/arcims-thematic.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/arcims.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/arcims.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/arcims.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/attribution.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/attribution.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/attribution.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/baseLayers.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/baseLayers.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/baseLayers.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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 Base Layers Example</title>
         
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/behavior-fixed-http-gml.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/behavior-fixed-http-gml.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/behavior-fixed-http-gml.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/bing-tiles.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/bing-tiles.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/bing-tiles.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
   <head>
+    <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">
     <link rel="stylesheet" href="style.css" type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/bing.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/bing.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/bing.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/boxes-vector.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/boxes-vector.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/boxes-vector.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/boxes.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/boxes.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/boxes.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/browser-name.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/browser-name.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/browser-name.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Copied: sandbox/elemoine/draw-feature/examples/browser.html (from rev 11266, trunk/openlayers/examples/browser.html)
===================================================================
--- sandbox/elemoine/draw-feature/examples/browser.html	                        (rev 0)
+++ sandbox/elemoine/draw-feature/examples/browser.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,101 @@
+<!DOCTYPE html>
+<html>
+<head>
+    <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"/>
+    <link rel="stylesheet" href="style.css" type="text/css"/>
+    <script type="text/javascript" src="browser.js"></script>
+    <style type="text/css">
+        .olControlAttribution {
+            bottom: 5px;
+        }
+    </style>
+    <script type="text/javascript">
+        function init() {
+            var result = document.getElementById('result');
+            result.innerHTML = result.innerHTML + "Browser CodeName: " + navigator.appCodeName + '<br>';
+            result.innerHTML = result.innerHTML + "Browser Name: " + navigator.appName + '<br>';
+            result.innerHTML = result.innerHTML + "Browser Version: " + navigator.appVersion + '<br>';
+            result.innerHTML = result.innerHTML + "Cookies Enabled: " + navigator.cookieEnabled + '<br>';
+            result.innerHTML = result.innerHTML + "Platform: " + navigator.platform + '<br>';
+            result.innerHTML = result.innerHTML + 'User agent: ' + navigator.userAgent + '<br>';
+            divResult('mouse', 'click', null, result);
+            divResult('mouse', 'dblclick', null, result);
+            divResult('mouse', 'mousedown', null, result);
+            divResult('mouse', 'mouseup', null, result);
+            divResult('mouse', 'mouseover', null, result);
+            divResult('mouse', 'mousemove', null, result);
+            divResult('mouse', 'mouseout', null, result);
+
+            divResult('key', 'keypress', null, result);
+            divResult('key', 'keydown', null, result);
+            divResult('key', 'keyup', null, result);
+
+            divResult('HTML', 'load', null, result);
+            divResult('HTML', 'unload', window, result);
+            divResult('HTML', 'abort', null, result);
+            divResult('HTML', 'error', null, result);
+
+            divResult('view', 'resize', window, result);
+            divResult('view', 'scroll', null, result);
+
+            divResult('form', 'submit', null, result);
+            divResult('form', 'reset', null, result);
+
+            divResult('form control', 'select', null, result);
+            divResult('form control', 'change', null, result);
+
+            divResult('activation', 'focus', null, result);
+            divResult('activation', 'blur', null, result);
+
+            divResult('touch', 'touchstart', null, result);
+            divResult('touch', 'touchend', null, result);
+            divResult('touch', 'touchmove', null, result);
+            divResult('touch', 'touchcancel', null, result);
+
+            divResult('gesture', 'gesturestart', null, result);
+            divResult('gesture', 'gesturechange', null, result);
+            divResult('gesture', 'gestureend', null, result);
+
+            divResult('HTML5', 'hashchange', document.body, result);
+            divResult('HTML5', 'online', document.body, result);
+            divResult('HTML5', 'offline', document.body, result);
+            divResult('HTML5', 'message', window, result);
+            divResult('HTML5', 'undo', document.body, result);
+            divResult('HTML5', 'redo', document.body, result);
+            divResult('HTML5', 'storage', window, result);
+            divResult('HTML5', 'popstate', window, result);
+            divResult('HTML5', 'canplay', document.createElement('video'), result);
+            divResult('HTML5', 'seeking', document.createElement('video'), result);
+            divResult('HTML5', 'seekend', document.createElement('video'), result);
+
+            divResult('orientation', 'deviceorientation', window, result);
+            divResult('orientation', 'mozorientation', window, result);
+            divResult('orientation', 'devicemotion', window, result);
+        }
+    </script>
+</head>
+<body onload="init()">
+<h1 id="title">Browser detection</h1>
+<div id="tags">
+  browser, vendor, mobile, events, HTML5, gesture, touch
+</div> 
+<p id="shortdesc">
+    The goal of this script is to inform about the capacity of the browser used by the user.
+</p>
+<div id="docs">
+    <p>
+        See the <a href="browser.js" target="_blank">
+        browser.js source</a> to see how this is done.
+    </p>
+</div>
+
+<h1>Your browser information</h1>
+
+<div id="result">
+
+</div>
+</body>
+</html>

Copied: sandbox/elemoine/draw-feature/examples/browser.js (from rev 11266, trunk/openlayers/examples/browser.js)
===================================================================
--- sandbox/elemoine/draw-feature/examples/browser.js	                        (rev 0)
+++ sandbox/elemoine/draw-feature/examples/browser.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,52 @@
+var isEventSupported = (function(undef) {
+
+    var TAGNAMES = {
+        'select':'input',
+        'change':'input',
+        'submit':'form',
+        'reset':'form',
+        'error':'img',
+        'load':'img',
+        'abort':'img'
+    };
+
+    function isEventSupported(eventName, element) {
+        element = element || document.createElement(TAGNAMES[eventName] || 'div');
+        eventName = 'on' + eventName;
+
+        var isSupported = (eventName in element);
+
+        if (!isSupported) {
+            // if it has no `setAttribute` (i.e. doesn't implement Node interface), try generic element
+            if (!element.setAttribute) {
+                element = document.createElement('div');
+            }
+            if (element.setAttribute && element.removeAttribute) {
+                element.setAttribute(eventName, '');
+                isSupported = typeof element[eventName] == 'function';
+
+                // if property was created, "remove it" (by setting value to `undefined`)
+                if (typeof element[eventName] != 'undefined') {
+                    element[eventName] = undef;
+                }
+                element.removeAttribute(eventName);
+            }
+        }
+
+        element = null;
+        return isSupported;
+    }
+
+    return isEventSupported;
+})();
+
+function divResult(category, name, element, div) {
+    div.innerHTML = div.innerHTML + category + " " + name + ": ";
+    div.innerHTML = div.innerHTML + (
+            isEventSupported(name, element)
+                    ? '<span style="background-color:green;color:white;">true</span></td>'
+                    : '<span style="background-color:red;color:white;">false</span></td>'
+            );
+    div.innerHTML = div.innerHTML + "<br>";
+}
+

Modified: sandbox/elemoine/draw-feature/examples/buffer.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/buffer.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/buffer.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/canvas.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/canvas.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/canvas.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/click-handler.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/click-handler.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/click-handler.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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>
         
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/click.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/click.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/click.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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>
         
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/controls.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/controls.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/controls.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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>
 
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
@@ -25,23 +27,29 @@
                 });
     
 
-                var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
+                var ol_wms = new OpenLayers.Layer.WMS(
+                    "OpenLayers WMS",
                     "http://vmap0.tiles.osgeo.org/wms/vmap0",
-                    {layers: 'basic'} );
-                var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
-                    "http://t1.hypercube.telascience.org/cgi-bin/landsat7", 
-                    {layers: "landsat7"});
-                var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo",
+                    {layers: 'basic'} 
+                );
+
+                var gwc = new OpenLayers.Layer.WMS(
+                    "Global Imagery",
+                    "http://maps.opengeo.org/geowebcache/service/wms",
+                    {layers: "bluemarble"},
+                    {tileOrigin: new OpenLayers.LonLat(-180, -90)}
+                );
+                var dm_wms = new OpenLayers.Layer.WMS(
+                    "DM Solutions Demo",
                     "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",
                     {layers: "bathymetry,land_fn,park,drain_fn,drainage," +
                              "prov_bound,fedlimit,rail,road,popplace",
-                     transparent: "true", format: "image/png" });
+                     transparent: "true", format: "image/png"},
+                    {visibility: false}
+                );
 
-                jpl_wms.setVisibility(false);
-                dm_wms.setVisibility(false);
-
-                map.addLayers([ol_wms, jpl_wms, dm_wms]);
-                if (!map.getCenter()) map.zoomToMaxExtent();
+                map.addLayers([ol_wms, gwc, dm_wms]);
+                map.zoomToMaxExtent();
             }
         </script>
     </head>

Modified: sandbox/elemoine/draw-feature/examples/cql-format.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/cql-format.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/cql-format.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
 <html>
     <head>
+    <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
         </title>

Modified: sandbox/elemoine/draw-feature/examples/custom-control-point.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/custom-control-point.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/custom-control-point.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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 Control Point Examle</title>
     <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/custom-control.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/custom-control.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/custom-control.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/custom-style.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/custom-style.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/custom-style.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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>
         
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/debug.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/debug.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/debug.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -2,6 +2,8 @@
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />        
         <script src="../lib/Firebug/firebug.js"></script>

Modified: sandbox/elemoine/draw-feature/examples/document-drag.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/document-drag.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/document-drag.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/donut.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/donut.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/donut.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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">
         <link rel="stylesheet" href="style.css" type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/doubleSetCenter.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/doubleSetCenter.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/doubleSetCenter.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html>
     <head>
+    <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>
        
         <script src="../lib/OpenLayers.js"></script>

Modified: sandbox/elemoine/draw-feature/examples/drag-feature.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/drag-feature.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/drag-feature.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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>
         
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/draw-feature.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/draw-feature.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/draw-feature.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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>
         
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/dynamic-text-layer.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/dynamic-text-layer.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/dynamic-text-layer.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/editingtoolbar-outside.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/editingtoolbar-outside.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/editingtoolbar-outside.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/editingtoolbar.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/editingtoolbar.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/editingtoolbar.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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>
         
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/events.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/events.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/events.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <style type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/example-list.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/example-list.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/example-list.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN">
 <html>
     <head>
+    <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
         the source of just one example, you can typically choose 
@@ -12,14 +14,24 @@
         <link rel="stylesheet" href="style.css" type="text/css" />
         <style type="text/css">
             html, body {
-                height: 100%;
-                overflow: hidden;
                 margin: 0;
                 padding: 0;
                 line-height: 1.25em;
             }
+            #logo {
+                text-shadow: 2px 2px 3px gray;
+                color: white;
+                vertical-align: middle;
+                position: absolute;
+                top: 5px;
+                left: 5px;
+                font-size: 34px;
+                font-family: "Trebuchet MS",Helvetica,Arial,sans-serif;
+            }
+            #logo img {
+                vertical-align: middle;
+            }
             .ex_container{
-                border-bottom: 1px solid #cccccc;
             }
             .ex_container a {
                 text-decoration: none;
@@ -55,20 +67,18 @@
                 display: none;
             }
             #toc {
-                width: 30%;
+                width: 100%;
                 height: 100%;
             }
             #filter {
+                position: fixed;
+                text-align: center;
                 top: 0px;
-                height: 50px;
-                padding: 10px 1em 10px 1em;
+                background: #9D9FA1;
+                width: 100%;
+                padding: 1.3em 0;
             }
             #examples {
-                border-top: 1px solid #cccccc;
-                position: absolute;
-                width: 30%;
-                top: 70px;
-                bottom: 0px;
                 overflow: auto;
                 list-style: none;
                 margin: 0;
@@ -78,12 +88,21 @@
                 list-style: none;
                 margin: 0;
                 padding: 0;
+                margin-top: 4em;
             }
             #examples ul li {
-                display: block;
-                margin: 0;
+                display: inline;
+                float: left;
+                width: 350px;
+                margin: 10px 0 0 10px;
                 padding: 0;
+                border: 1px solid #ddd;
+                border-radius: 3px;
             }
+            #examples .mainlink {
+                height: 8em;
+                overflow: hidden;
+            }
             #exwin {
                 position: absolute;
                 top: 0;
@@ -94,6 +113,26 @@
                 border-left: 1px solid #cccccc;
                 margin: 0;
             }
+            @media only screen and (max-width: 600px) {
+                #examples ul {
+                    margin-top: 100px;
+                }
+                #filter {
+                    padding-top: 50px;
+                }
+                #examples ul li {
+                    margin-left: 0;
+                    border-radius: 0;
+                    border-width: 1px 0;
+                    width: 100%;
+                }
+                #examples .mainlink {
+                    height: auto;
+                }
+                #examples .ex_tags, #examples .ex_filename {
+                    display: none;
+                }
+            }
         </style>
         <script type="text/javascript" src="Jugl.js"></script>
         <script type="text/javascript" src="example-list.js"></script>
@@ -131,7 +170,7 @@
                     for(var i=0; i<words.length; ++i) {
                         var word = words[i].toLowerCase()
                         var dict = info.index[word];
-                        if(dict) {
+                        var updateScores = function() {
                             for(exIndex in dict) {
                                 var count = dict[exIndex];
                                 if(scores[exIndex]) {
@@ -146,6 +185,18 @@
                                 }
                             }
                         }
+                        if(dict) {
+                            updateScores();
+                        } else {
+                            var r;
+                            for (idx in info.index) {
+                               r = new RegExp(word);
+                               if (r.test(idx)) {
+                                    dict = info.index[idx];
+                                    updateScores();
+                               }
+                            }
+                        }
                     }
                     examples = [];
                     for(var j in scores) {
@@ -199,10 +250,10 @@
                 }
             }
             window.onload = function() {
+                //document.getElementById('keywords').focus();
                 template = new jugl.Template("template");
                 target = document.getElementById("examples");
                 listExamples(info.examples);
-                document.getElementById("exwin").src = "../examples/example.html";
                 document.getElementById("keywords").onkeyup = inputChange
                 parseQuery();
             };
@@ -211,20 +262,24 @@
     <body>
         <div id="toc">
             <div id="filter">
+                <div id="logo">
+                <img src="http://www.openlayers.org/images/OpenLayers.trac.png"
+                 />
+                 OpenLayers
+             </div>
                 <p>
-                    <label for="keywords">Filter by keywords</label><br />
-                    <input type="text" id="keywords" />
-                    <span id="count"></span><br />
+                    <input autofocus placeholder="filter by keywords..." type="text" id="keywords" />
+                    <span id="count"></span>
                     <a href="javascript:void showAll();">show all</a>
                 </p>
             </div>
             <div id="examples"></div>
         </div>
-        <iframe id="exwin" name="exwin" frameborder="0"></iframe>        
         <div style="display: none;">
             <ul id="template">
                 <li class="ex_container" jugl:repeat="example examples">
-                    <a jugl:attributes="href example.link" target="exwin">
+                <a jugl:attributes="href example.link" class="mainlink"
+                    target="_blank">
                         <h5 class="ex_title">
                             <span jugl:replace="example.title">title</span><br />
                             <span class="ex_filename" jugl:content="'(' + example.example + ')'">filename</span>

Modified: sandbox/elemoine/draw-feature/examples/example.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/example.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/example.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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">
         <link rel="stylesheet" href="style.css" type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/filter-strategy.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/filter-strategy.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/filter-strategy.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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">
         <link rel="stylesheet" href="../theme/default/google.css" type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/filter.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/filter.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/filter.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <style>

Modified: sandbox/elemoine/draw-feature/examples/fractional-zoom.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/fractional-zoom.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/fractional-zoom.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <script src="../lib/OpenLayers.js"></script>

Modified: sandbox/elemoine/draw-feature/examples/fullScreen.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/fullScreen.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/fullScreen.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,13 +1,14 @@
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE html>
+<html>
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />
         <style type="text/css">
-            body {
+            html, body, #map {
                 margin: 0;
-            }
-            #map {
                 width: 100%;
                 height: 100%;
             }
@@ -23,30 +24,7 @@
             }
         </style>
         <script src="../lib/OpenLayers.js"></script>
-        <script type="text/javascript">
-            var map;
-            function init(){
-                map = new OpenLayers.Map('map');
-
-            var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
-                    "http://vmap0.tiles.osgeo.org/wms/vmap0",
-                    {layers: 'basic'} );
-            var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic",
-                "http://t1.hypercube.telascience.org/cgi-bin/landsat7", 
-                {layers: "landsat7"});
-
-                var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo",
-                    "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap",
-                    {layers: "bathymetry,land_fn,park,drain_fn,drainage," +
-                             "prov_bound,fedlimit,rail,road,popplace",
-                     transparent: "true", format: "image/png" });
-
-                map.addLayers([ol_wms, jpl_wms, dm_wms]);
-                map.addControl(new OpenLayers.Control.LayerSwitcher());
-                map.setCenter(new OpenLayers.LonLat(0, 0), 6);
-                //map.zoomToMaxExtent();
-            }
-        </script>
+        <script src="fullScreen.js"></script>
     </head>
     <body onload="init()">
         <div id="map"></div>
@@ -63,8 +41,11 @@
             </p>
 
             <div id="docs">
-                This example uses CSS to define the dimensions of the map element in order to fill the screen.
-                When the user resizes the window, the map size changes correspondingly. No scroll bars!
+                <p>This example uses CSS to define the dimensions of the map element in order to fill the screen.
+                When the user resizes the window, the map size changes correspondingly. No scroll bars!</p>
+                <p>See the 
+                <a href="fullScreen.js" target="_blank">fullScreen.js source</a> 
+                to see how this is done.</p>
             </div>
         </div>
     </body>

Copied: sandbox/elemoine/draw-feature/examples/fullScreen.js (from rev 11266, trunk/openlayers/examples/fullScreen.js)
===================================================================
--- sandbox/elemoine/draw-feature/examples/fullScreen.js	                        (rev 0)
+++ sandbox/elemoine/draw-feature/examples/fullScreen.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,30 @@
+var map;
+function init(){
+    map = new OpenLayers.Map('map');
+
+    var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
+        "http://vmap0.tiles.osgeo.org/wms/vmap0",
+        {layers: 'basic'} );
+        var ol_wms_nobuffer = new OpenLayers.Layer.WMS( "OpenLayers WMS (no tile buffer)",
+        "http://vmap0.tiles.osgeo.org/wms/vmap0",
+        {layers: 'basic'}, {buffer: 0});
+
+    map.addLayers([ol_wms, ol_wms_nobuffer]);
+    map.addControl(new OpenLayers.Control.LayerSwitcher());
+    map.setCenter(new OpenLayers.LonLat(0, 0), 6);
+}
+var map;
+function init(){
+    map = new OpenLayers.Map('map');
+
+    var ol_wms = new OpenLayers.Layer.WMS( "OpenLayers WMS",
+        "http://vmap0.tiles.osgeo.org/wms/vmap0",
+        {layers: 'basic'} );
+        var ol_wms_nobuffer = new OpenLayers.Layer.WMS( "OpenLayers WMS (no tile buffer)",
+        "http://vmap0.tiles.osgeo.org/wms/vmap0",
+        {layers: 'basic'}, {buffer: 0});
+
+    map.addLayers([ol_wms, ol_wms_nobuffer]);
+    map.addControl(new OpenLayers.Control.LayerSwitcher());
+    map.setCenter(new OpenLayers.LonLat(0, 0), 6);
+}

Modified: sandbox/elemoine/draw-feature/examples/geojson.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/geojson.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/geojson.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <script src="../lib/OpenLayers.js"></script>

Copied: sandbox/elemoine/draw-feature/examples/geolocation.html (from rev 11266, trunk/openlayers/examples/geolocation.html)
===================================================================
--- sandbox/elemoine/draw-feature/examples/geolocation.html	                        (rev 0)
+++ sandbox/elemoine/draw-feature/examples/geolocation.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,40 @@
+<!DOCTYPE html>
+<html>
+    <head>
+        <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>
+
+        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.css" type="text/css">
+        <style>
+            .olControlAttribution {
+                bottom: 3px;
+            }
+        </style>
+    </head>
+    <body onload="init()">
+        <h1 id="title">Geolocation Example</h1>
+
+        <div id="tags">
+            geolocation, geolocate, mobile
+        </div>
+
+        <p id="shortdesc">
+            Track  current position and display it with its accuracy.
+        </p>
+
+        <div id="map" class="smallmap"></div>
+        <button id="locate">Locate me!</button>
+        <input type="checkbox" name="track" id="track">
+        <label for="track">Track my position</label>
+        <div id="docs">
+            <p>
+                View the <a href="geolocation.js" target="_blank">geolocation.js source</a>
+                to see how this is done.
+            </p>
+        </div>
+        <script src="../lib/OpenLayers.js"></script>
+        <script src="geolocation.js"></script>
+    </body>
+</html>

Copied: sandbox/elemoine/draw-feature/examples/geolocation.js (from rev 11266, trunk/openlayers/examples/geolocation.js)
===================================================================
--- sandbox/elemoine/draw-feature/examples/geolocation.js	                        (rev 0)
+++ sandbox/elemoine/draw-feature/examples/geolocation.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,72 @@
+var style = {
+    fillOpacity: 0.1,
+    fillColor: '#000',
+    strokeColor: '#f00',
+    strokeOpacity: 0.6
+}
+
+var map = new OpenLayers.Map('map');
+var layer = new OpenLayers.Layer.OSM( "Simple OSM Map");
+var vector = new OpenLayers.Layer.Vector('vector');
+map.addLayers([layer, vector]);
+
+map.setCenter(
+    new OpenLayers.LonLat(-71.147, 42.472).transform(
+        new OpenLayers.Projection("EPSG:4326"),
+        map.getProjectionObject()
+    ), 12
+);
+
+var geolocate = new OpenLayers.Control.Geolocate({
+    geolocationOptions: {
+        enableHighAccuracy: false,
+        maximumAge: 0,
+        timeout: 7000
+    }
+});
+map.addControl(geolocate);
+geolocate.events.register("locationupdated",this,function(e) {
+    vector.removeAllFeatures();
+    vector.addFeatures([
+        new OpenLayers.Feature.Vector(
+            e.point,
+            {},
+            {
+                graphicName: 'cross',
+                strokeColor: '#f00',
+                strokeWidth: 2,
+                fillOpacity: 0,
+                pointRadius: 10
+            }
+        ),
+        new OpenLayers.Feature.Vector(
+            OpenLayers.Geometry.Polygon.createRegularPolygon(
+                new OpenLayers.Geometry.Point(e.point.x, e.point.y),
+                e.position.coords.accuracy/2,
+                50,
+                0
+            ),
+            {},
+            style
+        )
+    ]);
+    map.zoomToExtent(vector.getDataExtent());
+});
+geolocate.events.register("locationfailed",this,function() {
+    OpenLayers.Console.log('Location detection failed');
+});
+
+$('locate').onclick = function() {
+    geolocate.deactivate();
+    $('track').checked = false;
+    geolocate.watch = false;
+    geolocate.activate();
+};
+$('track').onclick = function() {
+    geolocate.deactivate();
+    if (this.checked) {
+        geolocate.watch = true;
+        geolocate.activate();
+    }
+};
+$('track').checked = false;
\ No newline at end of file

Modified: sandbox/elemoine/draw-feature/examples/georss-flickr.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/georss-flickr.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/georss-flickr.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <style type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/georss-markers.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/georss-markers.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/georss-markers.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/georss.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/georss.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/georss.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/getfeature-wfs.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/getfeature-wfs.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/getfeature-wfs.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <title>WFS: GetFeature Example (GeoServer)</title>

Modified: sandbox/elemoine/draw-feature/examples/getfeatureinfo-control.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/getfeatureinfo-control.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/getfeatureinfo-control.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html>
   <head>
+    <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>
     <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/getfeatureinfo-popup.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/getfeatureinfo-popup.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/getfeatureinfo-popup.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html>
   <head>
+    <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>
     <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/getfeatureinfo.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/getfeatureinfo.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/getfeatureinfo.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html>
   <head>
+    <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 Feature Info Example</title>
     <script src="../lib/OpenLayers.js"></script>
     <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/gml-layer.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/gml-layer.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/gml-layer.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/google-reproject.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/google-reproject.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/google-reproject.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/google-v3-alloverlays.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/google-v3-alloverlays.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/google-v3-alloverlays.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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">
         <link rel="stylesheet" href="../theme/default/google.css" type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/google-v3.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/google-v3.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/google-v3.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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">
         <link rel="stylesheet" href="../theme/default/google.css" type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/google.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/google.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/google.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="../theme/default/google.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/graphic-name.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/graphic-name.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/graphic-name.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/graticule.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/graticule.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/graticule.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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>
 
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/gutter.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/gutter.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/gutter.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html>
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/highlight-feature.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/highlight-feature.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/highlight-feature.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/hover-handler.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/hover-handler.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/hover-handler.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />        

Modified: sandbox/elemoine/draw-feature/examples/image-layer.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/image-layer.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/image-layer.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Deleted: sandbox/elemoine/draw-feature/examples/img/marker_shadow.png
===================================================================
(Binary files differ)

Copied: sandbox/elemoine/draw-feature/examples/img/marker_shadow.png (from rev 11266, trunk/openlayers/examples/img/marker_shadow.png)
===================================================================
(Binary files differ)

Deleted: sandbox/elemoine/draw-feature/examples/img/mobile-zoombar.png
===================================================================
--- trunk/openlayers/examples/img/mobile-zoombar.png	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/img/mobile-zoombar.png	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,27 +0,0 @@
-‰PNG
-
-   
-IHDR   $   l   ™   sBIT|dˆ   	pHYs  ¯  ¯^‘   tEXtSoftware www.inkscape.org›î<  -IDAThí›{T•e¾Ç?ï»/Ü6÷« fj„˜†Z)N*á’Ê0q¼•¶\ÙÊÕLuœ™3+s¦ƒ9x#M0
-5ó¬$DEA‡ƒH(rÚ(°A`ßÞóÇƍ»½1Mç,¿ÿíçúÙÏýù½ÏO$‰¾HVz‚b20¤@Ø]Tƒp	øôÙ’´üjŸÊ¿Y Aø(¤Å@4 ¿Éò
- at .k%éõ]·H>ŠÓ <v“ÝH:â›’ôzÎ-	Â\ú¤³Un£„µ0`©$Í0Þ4 |à²tàéÛcÑ0>'Io6õ
-Ô	“„ß!˜ë*côÏ¡Dk˜²Î–¹Ó0˜ë¥›ëìÈ<fîX7ÙÓӝuZdé2ól’ÿŠ07bŒ»>ûnh!ÓwƺnA’¤ë‹Þ—}-FÜÜ”VaÍÍ:L¦¾­þ(Ó%éõ]+nß×¹\$#c
-Ï>ûUøîÝ?2cÆWèõ¦>–(-v	ð7O×sóÛ ƒ¹SV6ßn\HÈΟïÓ` ƒŸØ¹Qö	æIŠÉ"0án“Ü 	bçâ‘4@Ä|ž¹W$§ëpeWÎÎ
-†÷±Í¤ê6ÏÈ‘¾x{;Ú„i¸vMßSu|Øí¢¡Pˆ:”Àã÷祖›VNNO=•ÁÐý’ v¸»;Ü6€˜˜þ¸»;ô˜¦G »¡û@½©G +WÚÙ²¥ä¶U¶iÓ®\ië1M³@°;tçÔ©—ìæQ«·PVÖhÞÔÔAo·®^÷0I‚ÆÆ›ðæfÛ°®8Ý<7£ÿ¬1t7t¨7Ý2Pe¥–¯¿.·	ß¿ÿÍ·Ôë´ïIr¹ˆ“U˜FÓÖãæÙk™·œ0L\¾ÜúKŠ°ÑÿŸ1t§t¨7õyP;;+HHeÖ¬0BC½psSâì,ÚÚô44´S^ÞÈŽçHM-¦½ÝЧòozÚGDøñùçO3r¤¢(ÐØØÁ¹sW	óæ‹/ÎÒÜÜAPŠ/tÃÛÛ	I’(,¬ç•WrâÄåÛìÊΝS5ªMM|öÙ¿IN. ¶Ö<ÝW­G` ŠÄįmò%!“	¸º*9r¤š„„=ÔÔ´ôÔãš1#”²²ù„‡û Ñ´—Åòå9€·ßÎ%2ҏ¸¸!Vy++µüö·;Ñju¼õÖ÷DFúSQ±€ÄÄ°[Z³æ	ÒÓ§`2Iüã§yãÃ¬]ûr¹u–Ž#³gïãÓO'àím½j?^KJJQQøù­ãèÑ6ožÌêÕ㺒Aìý<pÕª–.}”uëNŸE||‹G —‹øù9sð`…Uúšš¼¼™5+Œ;ÏYÅåæV±xq$žžhµz""üˆŽî‹‹Â¦»@óæ
-cåÊqlÛv–yóÐÚª'3ó<[·–àëëÄ’%‘L™2£QâÚ5W¯¶#I›[Í[o=†FÓFII¢(êÅĉ	
-õdþüáÖ¿•JÉk¯ERZÚÀ™3
-V at Vƒ:(HEEÅ4švRRþÍ;ï±ù«W'2ÒŸÚÚÔê Uœ=Û@K‹Æùrút=áá>ÔÔ´PXXÏ¡C(•2¦Oa„ŒÎî|‘ˆ‚ƒÿ›ººVû@yy/¢Vû1lØF¾ÿþÂÂRÑh¬o	*•‚ÒÒ¹Lžü%EE?áêª$<ÜGG92™@JJ,ï¿ŒôôÐju]]!¨ªz™Ñ£Ó¸t©ggõõ‹(.ÖðØci¶]6fL ï¾;†ººkøúºpòäeÆŽíÏ7ß\´ÒéLøú:âÉwßU¢Ó©ªÒrñbååM¸¹9п¿+{÷–Yå“$xðAw‚ƒÝ8r¤½ÞD}}¯¼2’¬¬
 -­d™2ÉÉO¢Ñ´²WW±±Y¸p..
-›nÛ³§Œiӆ؄ìØñ		¡‚mÜöí¥Ìœ9€èè ‡ÒÒ¢'%e¢%x½9#"üØ´é­­zž~/þóQ
-‘;§Ò¿¿«UÁÇŽÕ¨"8Ø: ´ô
-DEÙZyŽ©¦_?rržgóæÉlÜx†ääÔê d2¡())Qùë_Z2gdüÀGÀÇÇ™¢¢ÙlÛö£G÷Àd’ÈÎ.gêÔî[é¹ç¶
-1—;§áä$§¥EOhè6n,æƒòEÁÒr"@BB(õõ­6—»ìì˜Â±c5lÝú;ŠŠ’øôÓ§hlì !!Ô.СCÄÆ>À’%‘ddL¡¦æ²²âÈÍ­búô¯ðòr´˜µZ
-
-m 9ÀàÁ´´ØZ¶òók1—ÖV=ÉÉ…üýï…DFú3vl“&=Ș147/A§3b0H&ŒF	OOG”JaaÞìÞý#Ë–æÒ%óÁ?,ÌÛÆØ~îÜU†õîòósÆ`0±aÃÓ,\xÐrH×ëM´¶êquUÒØh¾—ÔQPPÇ—_ž#??‘°°Tär¹\@&‘É”J'N$òòËmþ¤V«ÃÕÕ¨²RKX˜wW—98ÈøüóÿÅßß…}û¦àbIÜܬÃÍÍÖØÐÜl.¸©©ƒ††6êê®QSÓBe¥y	puUڝiZ­•Ê¤R)X¹2†‰ÀÁAÖd2I("Ó¦e’“SÅéÓ³Y°`8‚`6*¨T¶S¿¥E‡³³Ân¥×·•Ÿ·„9Ÿ•JÁ¬Ya”–ÎÅÇlj´´á†YÖÞn$ À£Qâ/9ÊøñÛ™5ërsgàbצ#IÐÞnÀÙÙö:°= ßüÆ™LäÕW#ˆ‹ËbÞ¼xz:¡Ó»€´ZÕZSZz…˜˜m|öÙi<=ùöÛæÌ	G©ìúøçáá€Ñ(ÑÚj;åxx8XîlJ¥ŒñãƒÙ¸q{öÄS_ßJTT'OšO‘C†xðÓO×€ÎA]\¬aÔ¨ ›((¨£¬¬‘W_=IJejV¯O^^5¹¹Õ45é8{Öz§¾®¡C½¨¬Ôò‡?D;1c‚(.֐]N~~-ÑÑý­Wƒ¹sâD]Ð_”0iÒƒÄÇ?Ä®]ç-	Ǎ¦  ŽÃ‡+9|¸'¢£ƒxüñþ¼üòH‚‚T\¼¸ÀÈËËAxøaoÖ¯/â…öÒÜlÞh×­›À‰µVi}}Ùµë\Ðöí?°iÓd6ožŒ(î³²fÌaíÚS–ÌMYY?’•õ#J¥ŒÊJ-?Ø -[¦¦¦¦…÷ß?n§Vû³}{©å÷Šc1%6o>Ód0˜(,¬ã¡‡<IN~’G
- 9¹ˆöí»`·[&OijÏfqñ¢Í§wFŒðcÏž2›ðÜ<؃“'/ãêªdÅŠ±,Z4’S§ê,+·e·Ÿ;÷ îî|òÉIyć¼¼™äæVÛ½WEEríšž¢¢Ÿlâö`Ⱥd·hÑH¶l)aÊ”Á””Ì
 !**AX²ä,i, at EE?qòäeÞ}wññ»io7Äš5OÒ¯Ÿ‹UÁ3g%-í¬Ý–KJ
-'-í¬IÆÉI΂ÃQ«xç(fÏÞÇðá¾äåU“—Wc0ujrNŸžÝy&þŠŠ’X³æIxÀ
-WW%		¡lÛf$Š/½Fjj±UبQýÈÌŒC¥R²gO›yï½h
-‘¸¸,ë2nüQ[Û‹/~ÍС^œ?•Ë—[yóÍÂÂRÑëäç'ráÂ|Ú9ÒÏÆ~=}zµµ­47w0wî0ÒÓ§PW·ˆõëc;63¾bÕª|þùωŒÈ‚ßØ‘íÞ\?þx<K—ªIM-æ÷¿ßo	÷÷w¦´t.ë֝B­`ìØ DѼU®®JZZtèõ&¬`ÿþ8p?þñ1ä,\ø
-))±ÌŸ?œ÷Þ;ÆŸþ”kÓÊÝ^¥W¬ÃÛoáøñZžx"övS(/obùró ™LÀÁÁ|¸íµHbb‚ILü¦Íòí^­`ïÞxÔê-ìÞGD„?|’e˾³WmÏwû¤¤pÖ¯Å`0‘™yžðp_}tÖO
-rçøñDbb¶[­Þ~~Îäç'òí·Ìœ9¹\dÎœý¤¥uÿý¤Wcƒ¿¿3™™qDEÒØØΆ
-ŬYS at U•0ïSyy3Ùºµ„5k
-,ùöàðáçðövÂÑQNAAÏ<³«W›äM›cƍæÃÇéL& Ñ´Q^Þˆ££''9ÙÙåôëg>ø‡†záåeþæZPp™…RPPw3ÕôÝ,ìì¬`Îœp¦MÌ A¸àè(Çh4¡Ó™hnîàÌ™ÒÓKÉÌ<Ï•+í})þ—Ù©ï„î9ã} Þt¨7ÝêM÷zÓ} Þt¨7Ýs@½~ÀëîuÌ­è¿ŽHMÄìُÜ -[JHJÚ×ããÝhÞÞNh4¯Þ˜ëòõ]gs»Q÷Üí݆¸AZ³û̽¢¨î.¶©©ƒœœªÛVÛ÷ßWÑÔÔãS°j¹Ù±Èþ¸6LLšô¥Ý·°·¢¢"M//Ñ…K¬~¤­·¥Æ_,!Q}6f/§»-è³ÅNÿ/[»È¯¯\IZ~µsÖÞ]–.†<_><úË}ÈnUÒ1Iz#
-¬VjñÍ»c]·Èì›s7ºNX{£WÞÏö²K¿"́Î:-²2»éŸŠ¹ó*6{áY»Úìöf8c4w¶¥Øó¾ƒÿ§Ik°{Ä­Ôؽáxkvg]“ÿˆ¿=yíÑ    IEND®B`‚
\ No newline at end of file

Copied: sandbox/elemoine/draw-feature/examples/img/mobile-zoombar.png (from rev 11266, trunk/openlayers/examples/img/mobile-zoombar.png)
===================================================================
--- sandbox/elemoine/draw-feature/examples/img/mobile-zoombar.png	                        (rev 0)
+++ sandbox/elemoine/draw-feature/examples/img/mobile-zoombar.png	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,27 @@
+‰PNG
+
+   
+IHDR   $   l   ™   sBIT|dˆ   	pHYs  ¯  ¯^‘   tEXtSoftware www.inkscape.org›î<  -IDAThí›{T•e¾Ç?ï»/Ü6÷« fj„˜†Z)N*á’Ê0q¼•¶\ÙÊÕLuœ™3+s¦ƒ9x#M0
+5ó¬$DEA‡ƒH(rÚ(°A`ßÞóÇƍ»½1Mç,¿ÿíçúÙÏýù½ÏO$‰¾HVz‚b20¤@Ø]Tƒp	øôÙ’´üjŸÊ¿Y Aø(¤Å@4 ¿Éò
+ at .k%éõ]·H>ŠÓ <v“ÝH:â›’ôzÎ-	Â\ú¤³Un£„µ0`©$Í0Þ4 |à²tàéÛcÑ0>'Io6õ
+Ô	“„ß!˜ë*côÏ¡Dk˜²Î–¹Ó0˜ë¥›ëìÈ<fîX7ÙÓӝuZdé2ól’ÿŠ07bŒ»>ûnh!ÓwƺnA’¤ë‹Þ—}-FÜÜ”VaÍÍ:L¦¾­þ(Ó%éõ]+nß×¹\$#c
+Ï>ûUøîÝ?2cÆWèõ¦>–(-v	ð7O×sóÛ ƒ¹SV6ßn\HÈΟïÓ` ƒŸØ¹Qö	æIŠÉ"0án“Ü 	bçâ‘4@Ä|ž¹W$§ëpeWÎÎ
+†÷±Í¤ê6ÏÈ‘¾x{;Ú„i¸vMßSu|Øí¢¡Pˆ:”Àã÷祖›VNNO=•ÁÐý’ v¸»;Ü6€˜˜þ¸»;ô˜¦G »¡û@½©G +WÚÙ²¥ä¶U¶iÓ®\ië1M³@°;tçÔ©—ìæQ«·PVÖhÞÔÔAo·®^÷0I‚ÆÆ›ðæfÛ°®8Ý<7£ÿ¬1t7t¨7Ý2Pe¥–¯¿.·	ß¿ÿÍ·Ôë´ïIr¹ˆ“U˜FÓÖãæÙk™·œ0L\¾ÜúKŠ°ÑÿŸ1t§t¨7õyP;;+HHeÖ¬0BC½psSâì,ÚÚô44´S^ÞÈŽçHM-¦½ÝЧòozÚGDøñùçO3r¤¢(ÐØØÁ¹sW	óæ‹/ÎÒÜÜAPŠ/tÃÛÛ	I’(,¬ç•WrâÄåÛìÊΝS5ªMM|öÙ¿IN. ¶Ö<ÝW­G` ŠÄįmò%!“	¸º*9r¤š„„=ÔÔ´ôÔãš1#”²²ù„‡û Ñ´—Åòå9€·ßÎ%2ҏ¸¸!Vy++µüö·;Ñju¼õÖ÷DFúSQ±€ÄÄ°[Z³æ	ÒÓ§`2Iüã§yãÃ¬]ûr¹u–Ž#³gïãÓO'àím½j?^KJJQQøù­ãèÑ6ožÌêÕ㺒Aìý<pÕª–.}”uëNŸE||‹G —‹øù9sð`…Uúšš¼¼™5+Œ;ÏYÅåæV±xq$žžhµz""üˆŽî‹‹Â¦»@óæ
+cåÊqlÛv–yóÐÚª'3ó<[·–àëëÄ’%‘L™2£QâÚ5W¯¶#I›[Í[o=†FÓFII¢(êÅĉ	
+õdþüáÖ¿•JÉk¯ERZÚÀ™3
+V at Vƒ:(HEEÅ4švRRþÍ;ï±ù«W'2ÒŸÚÚÔê Uœ=Û@K‹Æùrút=áá>ÔÔ´PXXÏ¡C(•2¦Oa„ŒÎî|‘ˆ‚ƒÿ›ººVû@yy/¢Vû1lØF¾ÿþÂÂRÑh¬o	*•‚ÒÒ¹Lžü%EE?áêª$<ÜGG92™@JJ,ï¿ŒôôÐju]]!¨ªz™Ñ£Ó¸t©ggõõ‹(.ÖðØci¶]6fL ï¾;†ººkøúºpòäeÆŽíÏ7ß\´ÒéLøú:âÉwßU¢Ó©ªÒrñbååM¸¹9п¿+{÷–Yå“$xðAw‚ƒÝ8r¤½ÞD}}¯¼2’¬¬
 -­d™2ÉÉO¢Ñ´²WW±±Y¸p..
+›nÛ³§Œiӆ؄ìØñ		¡‚mÜöí¥Ìœ9€èè ‡ÒÒ¢'%e¢%x½9#"üØ´é­­zž~/þóQ
+‘;§Ò¿¿«UÁÇŽÕ¨"8Ø: ´ô
+DEÙZyŽ©¦_?rržgóæÉlÜx†ääÔê d2¡())Qùë_Z2gdüÀGÀÇÇ™¢¢ÙlÛö£G÷Àd’ÈÎ.gêÔî[é¹ç¶
+1—;§áä$§¥EOhè6n,æƒòEÁÒr"@BB(õõ­6—»ìì˜Â±c5lÝú;ŠŠ’øôÓ§hlì !!Ô.СCÄÆ>À’%‘ddL¡¦æ²²âÈÍ­búô¯ðòr´˜µZ
+
+m 9ÀàÁ´´ØZ¶òók1—ÖV=ÉÉ…üýï…DFú3vl“&=Ș147/A§3b0H&ŒF	OOG”JaaÞìÞý#Ë–æÒ%óÁ?,ÌÛÆØ~îÜU†õîòósÆ`0±aÃÓ,\xÐrH×ëM´¶êquUÒØh¾—ÔQPPÇ—_ž#??‘°°Tär¹\@&‘É”J'N$òòËmþ¤V«ÃÕÕ¨²RKX˜wW—98ÈøüóÿÅßß…}û¦àbIÜܬÃÍÍÖØÐÜl.¸©©ƒ††6êê®QSÓBe¥y	puUڝiZ­•Ê¤R)X¹2†‰ÀÁAÖd2I("Ó¦e’“SÅéÓ³Y°`8‚`6*¨T¶S¿¥E‡³³Ân¥×·•Ÿ·„9Ÿ•JÁ¬Ya”–ÎÅÇlj´´á†YÖÞn$ À£Qâ/9ÊøñÛ™5ërsgàbצ#IÐÞnÀÙÙö:°= ßüÆ™LäÕW#ˆ‹ËbÞ¼xz:¡Ó»€´ZÕZSZz…˜˜m|öÙi<=ùöÛæÌ	G©ìúøçáá€Ñ(ÑÚj;åxx8XîlJ¥ŒñãƒÙ¸q{öÄS_ßJTT'OšO‘C†xðÓO×€ÎA]\¬aÔ¨ ›((¨£¬¬‘W_=IJejV¯O^^5¹¹Õ45é8{Öz§¾®¡C½¨¬Ôò‡?D;1c‚(.֐]N~~-ÑÑý­Wƒ¹sâD]Ð_”0iÒƒÄÇ?Ä®]ç-	Ǎ¦  ŽÃ‡+9|¸'¢£ƒxüñþ¼üòH‚‚T\¼¸ÀÈËËAxøaoÖ¯/â…öÒÜlÞh×­›À‰µVi}}Ùµë\Ðöí?°iÓd6ožŒ(î³²fÌaíÚS–ÌMYY?’•õ#J¥ŒÊJ-?Ø -[¦¦¦¦…÷ß?n§Vû³}{©å÷Šc1%6o>Ód0˜(,¬ã¡‡<IN~’G
+ 9¹ˆöí»`·[&OijÏfqñ¢Í§wFŒðcÏž2›ðÜ<؃“'/ãêªdÅŠ±,Z4’S§ê,+·e·Ÿ;÷ îî|òÉIyć¼¼™äæVÛ½WEEríšž¢¢Ÿlâö`Ⱥd·hÑH¶l)aÊ”Á””Ì
 !**AX²ä,i, at EE?qòäeÞ}wññ»io7Äš5OÒ¯Ÿ‹UÁ3g%-í¬Ý–KJ
+'-í¬IÆÉI΂ÃQ«xç(fÏÞÇðá¾äåU“—Wc0ujrNŸžÝy&þŠŠ’X³æIxÀ
+WW%		¡lÛf$Š/½Fjj±UبQýÈÌŒC¥R²gO›yï½h
+‘¸¸,ë2nüQ[Û‹/~ÍС^œ?•Ë—[yóÍÂÂRÑëäç'ráÂ|Ú9ÒÏÆ~=}zµµ­47w0wî0ÒÓ§PW·ˆõëc;63¾bÕª|þùωŒÈ‚ßØ‘íÞ\?þx<K—ªIM-æ÷¿ßo	÷÷w¦´t.ë֝B­`ìØ DѼU®®JZZtèõ&¬`ÿþ8p?þñ1ä,\ø
+))±ÌŸ?œ÷Þ;ÆŸþ”kÓÊÝ^¥W¬ÃÛoáøñZžx"övS(/obùró ™LÀÁÁ|¸íµHbb‚ILü¦Íòí^­`ïÞxÔê-ìÞGD„?|’e˾³WmÏwû¤¤pÖ¯Å`0‘™yžðp_}tÖO
+rçøñDbb¶[­Þ~~Îäç'òí·Ìœ9¹\dÎœý¤¥uÿý¤Wcƒ¿¿3™™qDEÒØØΆ
+ŬYS at U•0ïSyy3Ùºµ„5k
+,ùöàðáçðövÂÑQNAAÏ<³«W›äM›cƍæÃÇéL& Ñ´Q^Þˆ££''9ÙÙåôëg>ø‡†záåeþæZPp™…RPPw3ÕôÝ,ìì¬`Îœp¦MÌ A¸àè(Çh4¡Ó™hnîàÌ™ÒÓKÉÌ<Ï•+í})þ—Ù©ï„î9ã} Þt¨7ÝêM÷zÓ} Þt¨7Ýs@½~ÀëîuÌ­è¿ŽHMÄìُÜ -[JHJÚ×ããÝhÞÞNh4¯Þ˜ëòõ]gs»Q÷Üí݆¸AZ³û̽¢¨î.¶©©ƒœœªÛVÛ÷ßWÑÔÔãS°j¹Ù±Èþ¸6LLšô¥Ý·°·¢¢"M//Ñ…K¬~¤­·¥Æ_,!Q}6f/§»-è³ÅNÿ/[»È¯¯\IZ~µsÖÞ]–.†<_><úË}ÈnUÒ1Iz#
+¬VjñÍ»c]·Èì›s7ºNX{£WÞÏö²K¿"́Î:-²2»éŸŠ¹ó*6{áY»Úìöf8c4w¶¥Øó¾ƒÿ§Ik°{Ä­Ôؽáxkvg]“ÿˆ¿=yíÑ    IEND®B`‚
\ No newline at end of file

Deleted: sandbox/elemoine/draw-feature/examples/img/popupMatrix.jpg
===================================================================
(Binary files differ)

Copied: sandbox/elemoine/draw-feature/examples/img/popupMatrix.jpg (from rev 11266, trunk/openlayers/examples/img/popupMatrix.jpg)
===================================================================
(Binary files differ)

Deleted: sandbox/elemoine/draw-feature/examples/img/small.jpg
===================================================================
(Binary files differ)

Copied: sandbox/elemoine/draw-feature/examples/img/small.jpg (from rev 11266, trunk/openlayers/examples/img/small.jpg)
===================================================================
(Binary files differ)

Deleted: sandbox/elemoine/draw-feature/examples/img/thinlong.jpg
===================================================================
(Binary files differ)

Copied: sandbox/elemoine/draw-feature/examples/img/thinlong.jpg (from rev 11266, trunk/openlayers/examples/img/thinlong.jpg)
===================================================================
(Binary files differ)

Deleted: sandbox/elemoine/draw-feature/examples/img/widelong.jpg
===================================================================
(Binary files differ)

Copied: sandbox/elemoine/draw-feature/examples/img/widelong.jpg (from rev 11266, trunk/openlayers/examples/img/widelong.jpg)
===================================================================
(Binary files differ)

Deleted: sandbox/elemoine/draw-feature/examples/img/wideshort.jpg
===================================================================
(Binary files differ)

Copied: sandbox/elemoine/draw-feature/examples/img/wideshort.jpg (from rev 11266, trunk/openlayers/examples/img/wideshort.jpg)
===================================================================
(Binary files differ)

Modified: sandbox/elemoine/draw-feature/examples/intersects.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/intersects.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/intersects.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/kamap.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/kamap.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/kamap.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Copied: sandbox/elemoine/draw-feature/examples/kinetic.html (from rev 11266, trunk/openlayers/examples/kinetic.html)
===================================================================
--- sandbox/elemoine/draw-feature/examples/kinetic.html	                        (rev 0)
+++ sandbox/elemoine/draw-feature/examples/kinetic.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,43 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <title>OpenLayers Kinetic Dragging Example</title>
+    <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">
+  </head>
+  <body>
+      <h1 id="title">Kinetic Dragging Example</h1>
+
+      <div id="tags">
+          kinetic, dragging
+      </div>
+
+      <p id="shortdesc">
+        Demonstrates Kinetic Dragging.
+      </p>
+
+    <div id="map" class="smallmap"></div>
+
+    <div id="docs">
+        <p>
+            OpenLayers Kinetic Dragging inspired from <a href="http://www.tile5.org">Tile5</a>, and
+            <a href="http://code.google.com/p/kineticscrolling/">kineticscrolling</a> for Google Maps API V3.
+        </p><p>
+            As shown in this example Kinetic Dragging is enabled by setting
+            <code>enableKinetic</code> to true in the config object provided to the
+            <code>Control.DragPan</code> constructor. When using
+            <code>Control.Navigation</code> or <code>Control.TouchNavigation</code>
+            providing options to the underlying <code>Control.DragPan</code>
+            instance is done through the <code>dragPanOptions</code> config
+            property.
+        </p><p>
+            View the <a href="kinetic.js" target="_blank">kinetic.js source</a>
+            to see how this is done.
+        </p>
+    </div>
+    <script src="../lib/OpenLayers.js"></script>
+    <script src="kinetic.js"></script>
+  </body>
+</html>

Copied: sandbox/elemoine/draw-feature/examples/kinetic.js (from rev 11266, trunk/openlayers/examples/kinetic.js)
===================================================================
--- sandbox/elemoine/draw-feature/examples/kinetic.js	                        (rev 0)
+++ sandbox/elemoine/draw-feature/examples/kinetic.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,28 @@
+var map = new OpenLayers.Map({
+    div: "map",
+    resolutions: [0.087890625, 0.0439453125, 0.02197265625, 0.010986328125],
+    panDuration: 100,
+    controls: [
+        new OpenLayers.Control.Navigation(
+            {dragPanOptions: {enableKinetic: true}}
+        )
+    ]
+});
+var layer = new OpenLayers.Layer.TileCache("TileCache Layer",
+    ["http://c0.tilecache.osgeo.org/wms-c/cache/",
+     "http://c1.tilecache.osgeo.org/wms-c/cache/",
+     "http://c2.tilecache.osgeo.org/wms-c/cache/",
+     "http://c3.tilecache.osgeo.org/wms-c/cache/",
+     "http://c4.tilecache.osgeo.org/wms-c/cache/"],
+    "basic",
+    {
+        serverResolutions: [0.703125, 0.3515625, 0.17578125, 0.087890625,
+                            0.0439453125, 0.02197265625, 0.010986328125,
+                            0.0054931640625, 0.00274658203125, 0.001373291015625,
+                            0.0006866455078125, 0.00034332275390625, 0.000171661376953125,
+                            0.0000858306884765625, 0.00004291534423828125, 0.000021457672119140625],
+        buffer: 4
+    }
+);
+map.addLayer(layer);
+map.setCenter(new OpenLayers.LonLat(0, 0), 0);
\ No newline at end of file

Modified: sandbox/elemoine/draw-feature/examples/kml-layer.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/kml-layer.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/kml-layer.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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">
     </head>

Modified: sandbox/elemoine/draw-feature/examples/kml-track.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/kml-track.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/kml-track.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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">
         <link rel="stylesheet" href="../theme/default/google.css" type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/late-render.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/late-render.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/late-render.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/layer-opacity.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/layer-opacity.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/layer-opacity.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/layerLoadMonitoring.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/layerLoadMonitoring.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/layerLoadMonitoring.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/layerswitcher.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/layerswitcher.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/layerswitcher.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/lite.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/lite.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/lite.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/mapguide.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/mapguide.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/mapguide.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/mapserver.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/mapserver.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/mapserver.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/mapserver_untiled.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/mapserver_untiled.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/mapserver_untiled.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/marker-shadow.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/marker-shadow.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/marker-shadow.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />
@@ -37,7 +39,7 @@
                     styleMap: new OpenLayers.StyleMap({
                         // Set the external graphic and background graphic images.
                         externalGraphic: "../img/marker-gold.png",
-                        backgroundGraphic: "./marker_shadow.png",
+                        backgroundGraphic: "./img/marker_shadow.png",
                         
                         // Makes sure the background graphic is placed correctly relative
                         // to the external graphic.

Modified: sandbox/elemoine/draw-feature/examples/markerResize.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/markerResize.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/markerResize.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Deleted: sandbox/elemoine/draw-feature/examples/marker_shadow.png
===================================================================
(Binary files differ)

Modified: sandbox/elemoine/draw-feature/examples/markers.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/markers.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/markers.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/markersTextLayer.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/markersTextLayer.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/markersTextLayer.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/measure.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/measure.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/measure.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <style type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/mm.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/mm.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/mm.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/mobile-jq.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/mobile-jq.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/mobile-jq.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,13 +1,15 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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 with jQuery Mobile</title>
         <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.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>
         <script src="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js"></script>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.mobile.css" type="text/css">
         <script src="../lib/OpenLayers.js"></script>
         <script src="mobile.js"></script>
         <style>
@@ -35,6 +37,9 @@
                 bottom: 5px;
                 right: 5px;
             }
+            #title, #tags, #shortdesc {
+                display: none;
+            }
         </style>
         <script>
             $(document).ready(function() {
@@ -99,6 +104,13 @@
         </script>
     </head>
     <body>
+        <h1 id="title">OpenLayers with jQuery Mobile</h1>
+        <div id="tags">
+            mobile, jquery
+        </div>
+        <p id="shortdesc">
+            Using jQuery Mobile to display an OpenLayers map.
+        </p>
         <div data-role="page">
             <div data-role="header">
                 <input id="west" type="button" data-icon="arrow-l" value="west">

Copied: sandbox/elemoine/draw-feature/examples/mobile-navigation.html (from rev 11266, trunk/openlayers/examples/mobile-navigation.html)
===================================================================
--- sandbox/elemoine/draw-feature/examples/mobile-navigation.html	                        (rev 0)
+++ sandbox/elemoine/draw-feature/examples/mobile-navigation.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,51 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <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 TouchNavigation Control</title>
+    <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
+    <link rel="stylesheet" href="style.mobile.css" type="text/css" />
+    <link rel="stylesheet" href="style.css" type="text/css" />
+    <script type="text/javascript" src="../lib/OpenLayers.js"></script>
+    <script type="text/javascript" src="mobile-navigation.js"></script>
+  </head>
+  <body onload="init()">
+    <h1 id="title">Mobile Navigation</h1>
+
+    <div id="tags">
+        mobile, touch, drag, move, zoom, navigate
+    </div>
+
+    <div id="shortdesc">Demonstrate map navigation on mobile</div>
+
+    <div id="map" class="smallmap"></div>
+    <div id="docs">
+
+        <p>
+            This example demonstates what OpenLayers provides for map
+            navigation on mobile.
+        </p>
+
+        <p>
+            The TouchNavigation control allows to pan the map with touch
+            gestures on the screen &ndash; "touchstart", "touchmove",
+            "touchend" sequences. It also allows to zoom in with double taps,
+            and to zoom out with two-finger single taps. The latter is only
+            available on devices supporting multi-touch. Note that in most
+            devices Android doesn't support multi-touch in the browser.
+        </p>
+
+        <p>
+            The ZoomPanel control provides + and - buttons for zooming in and
+            out. These buttons should work on any device, and the zoom out
+            button is especially needed for devices that don't support
+            multi-touch.
+        </p> 
+        <p>
+            See the <a href="mobile-navigation.js" target="_blank">mobile-navigation.js
+            source</a> to see how this is done.
+        </p> 
+    </div>
+  </body>
+</html>

Copied: sandbox/elemoine/draw-feature/examples/mobile-navigation.js (from rev 11266, trunk/openlayers/examples/mobile-navigation.js)
===================================================================
--- sandbox/elemoine/draw-feature/examples/mobile-navigation.js	                        (rev 0)
+++ sandbox/elemoine/draw-feature/examples/mobile-navigation.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,17 @@
+var map, layer;
+function init() {
+    map = new OpenLayers.Map('map', { controls: [
+        new OpenLayers.Control.TouchNavigation({
+            dragPanOptions: {
+                interval: 0, // non-zero kills performance on some mobile phones
+                enableKinetic: true
+            }
+        }),
+        new OpenLayers.Control.ZoomPanel()
+    ] });
+    layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
+            "http://vmap0.tiles.osgeo.org/wms/vmap0",
+            {layers: 'basic'} );
+    map.addLayer(layer);
+    map.setCenter(new OpenLayers.LonLat(5, 40), 2);
+}

Modified: sandbox/elemoine/draw-feature/examples/mobile-sencha.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/mobile-sencha.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/mobile-sencha.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,10 +1,12 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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>
         <script src="../lib/OpenLayers.js"></script>
-        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
+        <link rel="stylesheet" href="style.mobile.css" type="text/css">
         <link rel="stylesheet" href="http://dev.sencha.com/deploy/touch/resources/css/sencha-touch.css">
         <script src="http://dev.sencha.com/deploy/touch/sencha-touch.js"></script>
         <script src="mobile.js"></script>
@@ -18,6 +20,9 @@
                 bottom: 5px;
                 right: 5px;
             }
+            #title, #tags, #shortdesc {
+                display: none;
+            }
         </style>
         <script>
         
@@ -119,5 +124,13 @@
         });
         </script>
     </head>
-    <body></body>
+    <body>
+        <h1 id="title">OpenLayers with Sencha Touch</h1>
+        <div id="tags">
+            mobile, sencha touch
+        </div>
+        <p id="shortdesc">
+            Using Sencha Touch to display an OpenLayers map.
+        </p>
+    </body>
 </html>

Copied: sandbox/elemoine/draw-feature/examples/mobile.html (from rev 11266, trunk/openlayers/examples/mobile.html)
===================================================================
--- sandbox/elemoine/draw-feature/examples/mobile.html	                        (rev 0)
+++ sandbox/elemoine/draw-feature/examples/mobile.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html>
+    <head>
+        <title>OpenLayers Mobile</title>
+        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.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"></script>
+        <script src="mobile.js"></script>
+        <style>
+            html, body {
+                margin: 0;
+                padding: 0;
+                height: 100%;
+            }
+            #map {
+                position: relative;
+                width: 100%;
+                height: 100%;
+            }
+            .olControlAttribution {
+                font-size: 10px;
+                bottom: 5px;
+                right: 5px;
+            }
+            #title, #tags, #shortdesc {
+                display: none;
+            }
+        </style>
+    </head>
+    <body>
+        <h1 id="title">Basic Mobile Example</h1>
+        <div id="tags">
+            mobile
+        </div>
+        <p id="shortdesc">
+            A basic full-screen map for mobile devices.
+        </p>
+        <div id="map"></div>
+        <script>
+            init();
+        </script>
+    </body>
+</html>

Modified: sandbox/elemoine/draw-feature/examples/mobile.js
===================================================================
--- sandbox/elemoine/draw-feature/examples/mobile.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/mobile.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -19,7 +19,12 @@
             -20037508.34, -20037508.34, 20037508.34, 20037508.34
         ),
         controls: [
-            new OpenLayers.Control.Navigation(),
+            new OpenLayers.Control.TouchNavigation({
+                dragPanOptions: {
+                    interval: 0, // non-zero kills performance on some mobile phones
+                    enableKinetic: true
+                }
+            }),
             new OpenLayers.Control.Attribution(),
             new OpenLayers.Control.DrawFeature(
                 vector, OpenLayers.Handler.Point, {id: "point-control"}
@@ -31,6 +36,7 @@
                 vector, OpenLayers.Handler.Polygon, {id: "poly-control"}
             ),
             new OpenLayers.Control.ModifyFeature(vector, {id: "mod-control"}),
+            new OpenLayers.Control.ZoomPanel()
         ],
         layers: [new OpenLayers.Layer.OSM(), vector],
         center: new OpenLayers.LonLat(0, 0),

Modified: sandbox/elemoine/draw-feature/examples/modify-feature.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/modify-feature.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/modify-feature.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/mouse-position.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/mouse-position.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/mouse-position.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -2,6 +2,8 @@
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" debug="true">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/mousewheel-interval.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/mousewheel-interval.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/mousewheel-interval.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/multimap-mercator.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/multimap-mercator.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/multimap-mercator.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/multiserver.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/multiserver.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/multiserver.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/mvs.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/mvs.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/mvs.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -5,6 +5,8 @@
      directory it is in.
 -->
 <head>
+    <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/ -->
     <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAA9XNhd8q0UdwNC7YSO4YZghSPUCi5aRYVveCcVYxzezM4iaj_gxQ9t-UajFL70jfcpquH5l1IJ-Zyyw'></script>

Modified: sandbox/elemoine/draw-feature/examples/navigation-control.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/navigation-control.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/navigation-control.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/navigation-history.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/navigation-history.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/navigation-history.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <style>

Modified: sandbox/elemoine/draw-feature/examples/navtoolbar-alwaysZoom.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/navtoolbar-alwaysZoom.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/navtoolbar-alwaysZoom.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
 	<head>
+    <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" />
 	    <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/navtoolbar-outsidemap.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/navtoolbar-outsidemap.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/navtoolbar-outsidemap.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/navtoolbar.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/navtoolbar.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/navtoolbar.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <title>NavToolbar Demo</title>

Modified: sandbox/elemoine/draw-feature/examples/ordering.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/ordering.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/ordering.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/osm-google.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/osm-google.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/osm-google.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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">
         <link rel="stylesheet" href="../theme/default/google.css" type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/osm-layer.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/osm-layer.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/osm-layer.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/osm.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/osm.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/osm.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/outOfRangeMarkers.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/outOfRangeMarkers.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/outOfRangeMarkers.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/overviewmap.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/overviewmap.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/overviewmap.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html>
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/pan-zoom-panels.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/pan-zoom-panels.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/pan-zoom-panels.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html>
 <head>
+    <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/elemoine/draw-feature/examples/panel.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/panel.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/panel.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/point-track-markers.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/point-track-markers.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/point-track-markers.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/popupMatrix.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/popupMatrix.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/popupMatrix.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml" debug="true">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />
@@ -81,7 +83,7 @@
 
             layer = new OpenLayers.Layer.Image(
                 "popupMatrix", 
-                "popupMatrix.jpg", 
+                "img/popupMatrix.jpg", 
                 new OpenLayers.Bounds(-82.5,-71.5,97.5,67.5),
                 new OpenLayers.Size(1024,768)
             );
@@ -107,52 +109,52 @@
             //anchored popup small contents no autosize
             ll = new OpenLayers.LonLat(-55,20);
             popupClass = OpenLayers.Popup.Anchored;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML);
 
             //anchored popup small contents no autosize closebox
             var ll = new OpenLayers.LonLat(-50,20);
             popupClass = OpenLayers.Popup.Anchored;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
             //anchored popup small contents autosize
             ll = new OpenLayers.LonLat(-40,20);
             popupClass = AutoSizeAnchored;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML);
 
             //anchored popup small contents autosize closebox
             ll = new OpenLayers.LonLat(-35,20);
             popupClass = AutoSizeAnchored;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
             //anchored popup small contents autosize minsize
             ll = new OpenLayers.LonLat(-25,20);
             popupClass = AutoSizeAnchoredMinSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML);
 
             //anchored popup small contents autosize minsize closebox
             ll = new OpenLayers.LonLat(-20,20);
             popupClass = AutoSizeAnchoredMinSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
             //anchored popup small contents autosize maxsize
             ll = new OpenLayers.LonLat(-10,20);
             popupClass = AutoSizeAnchoredMaxSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML);
 
             //anchored popup small contents autosize maxsize closebox
             ll = new OpenLayers.LonLat(-5,20);
             popupClass = AutoSizeAnchoredMaxSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
@@ -184,39 +186,39 @@
             //anchored popup wide short fixed contents autosize
             ll = new OpenLayers.LonLat(35,20);
             popupClass = AutoSizeAnchored;
-            popupContentHTML = '<img src="wideshort.jpg"></img>';
+            popupContentHTML = '<img src="img/wideshort.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML);
 
             //anchored popup wide short fixed contents autosize closebox
             ll = new OpenLayers.LonLat(40,20);
             popupClass = AutoSizeAnchored;
-            popupContentHTML = '<img src="wideshort.jpg"></img>';
+            popupContentHTML = '<img src="img/wideshort.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
             //anchored popup thin long fixed contents autosize
             ll = new OpenLayers.LonLat(50,20);
             popupClass = AutoSizeAnchored;
-            popupContentHTML = '<img src="thinlong.jpg"></img>';
+            popupContentHTML = '<img src="img/thinlong.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML);
 
             //anchored popup thin long fixed contents autosize closebox
             ll = new OpenLayers.LonLat(55,20);
             popupClass = AutoSizeAnchored;
-            popupContentHTML = '<img src="thinlong.jpg"></img>';
+            popupContentHTML = '<img src="img/thinlong.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
             //anchored popup wide long fixed contents autosize
             ll = new OpenLayers.LonLat(65,20);
             popupClass = AutoSizeAnchored;
-            popupContentHTML = '<img  src="widelong.jpg"></img>' 
+            popupContentHTML = '<img  src="img/widelong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML);
 
             //anchored popup wide long fixed contents autosize closebox
             ll = new OpenLayers.LonLat(70,20);
             popupClass = AutoSizeAnchored;
-            popupContentHTML = '<img  src="widelong.jpg"></img>' 
+            popupContentHTML = '<img  src="img/widelong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, true);
 
         //
@@ -226,52 +228,52 @@
             //anchored popup small contents no autosize overflow
             var ll = new OpenLayers.LonLat(-55,15);
             popupClass = OpenLayers.Popup.Anchored;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored popup small contents no autosize closebox overflow
             var ll = new OpenLayers.LonLat(-50,15);
             popupClass = OpenLayers.Popup.Anchored;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
             //anchored popup small contents autosize overflow
             ll = new OpenLayers.LonLat(-40,15);
             popupClass = AutoSizeAnchored;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored popup small contents autosize closebox overflow
             ll = new OpenLayers.LonLat(-35,15);
             popupClass = AutoSizeAnchored;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
             //anchored popup small contents autosize minsize overflow
             ll = new OpenLayers.LonLat(-25,15);
             popupClass = AutoSizeAnchoredMinSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored popup small contents autosize minsize closebox overflow
             ll = new OpenLayers.LonLat(-20,15);
             popupClass = AutoSizeAnchoredMinSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
             //anchored popup small contents autosize maxsize overflow
             ll = new OpenLayers.LonLat(-10,15);
             popupClass = AutoSizeAnchoredMaxSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored popup small contents autosize maxsize closebox overflow
             ll = new OpenLayers.LonLat(-5,15);
             popupClass = AutoSizeAnchoredMaxSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
@@ -303,39 +305,39 @@
             //anchored popup wide short fixed contents autosize overflow
             ll = new OpenLayers.LonLat(35,15);
             popupClass = AutoSizeAnchored;
-            popupContentHTML = '<img src="wideshort.jpg"></img>' 
+            popupContentHTML = '<img src="img/wideshort.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored popup wide short fixed contents autosize closebox overflow
             ll = new OpenLayers.LonLat(40,15);
             popupClass = AutoSizeAnchored;
-            popupContentHTML = '<img src="wideshort.jpg"></img>' 
+            popupContentHTML = '<img src="img/wideshort.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
             //anchored popup thin long fixed contents autosize overflow
             ll = new OpenLayers.LonLat(50,15);
             popupClass = AutoSizeAnchored;
-            popupContentHTML = '<img src="thinlong.jpg"></img>' 
+            popupContentHTML = '<img src="img/thinlong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored popup thin long fixed contents autosize closebox overflow
             ll = new OpenLayers.LonLat(55,15);
             popupClass = AutoSizeAnchored;
-            popupContentHTML = '<img src="thinlong.jpg"></img>' 
+            popupContentHTML = '<img src="img/thinlong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
             //anchored popup wide long fixed contents autosize overflow
             ll = new OpenLayers.LonLat(65,15);
             popupClass = AutoSizeAnchored;
-            popupContentHTML = '<img src="widelong.jpg"></img>' 
+            popupContentHTML = '<img src="img/widelong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored popup wide long fixed contents autosize closebox overflow
             ll = new OpenLayers.LonLat(70,15);
             popupClass = AutoSizeAnchored;
-            popupContentHTML = '<img src="widelong.jpg"></img>' 
+            popupContentHTML = '<img src="img/widelong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
@@ -346,52 +348,52 @@
             //anchored bubble popup small contents no autosize
             var ll = new OpenLayers.LonLat(-55,5);
             popupClass = OpenLayers.Popup.AnchoredBubble;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false);
 
             //anchored bubble popup small contents no autosize closebox
             var ll = new OpenLayers.LonLat(-50,5);
             popupClass = OpenLayers.Popup.AnchoredBubble;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
             //anchored bubble popup small contents autosize
             ll = new OpenLayers.LonLat(-40,5);
             popupClass = AutoSizeAnchoredBubble;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false);
 
             //anchored bubble popup small contents autosize closebox
             ll = new OpenLayers.LonLat(-35,5);
             popupClass = AutoSizeAnchoredBubble;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
             //anchored bubble popup small contents autosize minsize
             ll = new OpenLayers.LonLat(-25,5);
             popupClass = AutoSizeAnchoredBubbleMinSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false);
 
             //anchored bubble popup small contents autosize minsize closebox
             ll = new OpenLayers.LonLat(-20,5);
             popupClass = AutoSizeAnchoredBubbleMinSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
             //anchored bubble popup small contents autosize maxsize
             ll = new OpenLayers.LonLat(-10,5);
             popupClass = AutoSizeAnchoredBubbleMaxSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false);
 
             //anchored bubble popup small contents autosize maxsize closebox
             ll = new OpenLayers.LonLat(-5,5);
             popupClass = AutoSizeAnchoredBubbleMaxSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
@@ -424,39 +426,39 @@
             //anchored bubble popup wide short fixed contents autosize
             ll = new OpenLayers.LonLat(35,5);
             popupClass = AutoSizeAnchoredBubble;
-            popupContentHTML = '<img src="wideshort.jpg"></img>' 
+            popupContentHTML = '<img src="img/wideshort.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML);
 
             //anchored bubble popup wide short fixed contents autosize closebox
             ll = new OpenLayers.LonLat(40,5);
             popupClass = AutoSizeAnchoredBubble;
-            popupContentHTML = '<img src="wideshort.jpg"></img>' 
+            popupContentHTML = '<img src="img/wideshort.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
             //anchored bubble popup thin long fixed contents autosize
             ll = new OpenLayers.LonLat(50,5);
             popupClass = AutoSizeAnchoredBubble;
-            popupContentHTML = '<img src="thinlong.jpg"></img>' 
+            popupContentHTML = '<img src="img/thinlong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML);
 
             //anchored bubble popup thin long fixed contents autosize closebox
             ll = new OpenLayers.LonLat(55,5);
             popupClass = AutoSizeAnchoredBubble;
-            popupContentHTML = '<img src="thinlong.jpg"></img>' 
+            popupContentHTML = '<img src="img/thinlong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
             //anchored bubble popup wide long fixed contents autosize
             ll = new OpenLayers.LonLat(65,5);
             popupClass = AutoSizeAnchoredBubble;
-            popupContentHTML = '<img src="widelong.jpg"></img>' 
+            popupContentHTML = '<img src="img/widelong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML);
 
             //anchored bubble popup wide long fixed contents autosize closebox
             ll = new OpenLayers.LonLat(70,5);
             popupClass = AutoSizeAnchoredBubble;
-            popupContentHTML = '<img src="widelong.jpg"></img>' 
+            popupContentHTML = '<img src="img/widelong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, true);
 
           //
@@ -466,52 +468,52 @@
               //anchored bubble popup small contents no autosize
             var ll = new OpenLayers.LonLat(-55,0);
             popupClass = OpenLayers.Popup.AnchoredBubble;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
               //anchored bubble popup small contents no autosize closebox
             var ll = new OpenLayers.LonLat(-50,0);
             popupClass = OpenLayers.Popup.AnchoredBubble;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
             //anchored bubble popup small contents autosize
             ll = new OpenLayers.LonLat(-40,0);
             popupClass = AutoSizeAnchoredBubble;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored bubble popup small contents autosize closebox
             ll = new OpenLayers.LonLat(-35,0);
             popupClass = AutoSizeAnchoredBubble;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
             //anchored bubble popup small contents autosize minsize
             ll = new OpenLayers.LonLat(-25,0);
             popupClass = AutoSizeAnchoredBubbleMinSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored bubble popup small contents autosize minsize closebox
             ll = new OpenLayers.LonLat(-20,0);
             popupClass = AutoSizeAnchoredBubbleMinSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
             //anchored bubble popup small contents autosize maxsize
             ll = new OpenLayers.LonLat(-10,0);
             popupClass = AutoSizeAnchoredBubbleMaxSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored bubble popup small contents autosize maxsize closebox
             ll = new OpenLayers.LonLat(-5,0);
             popupClass = AutoSizeAnchoredBubbleMaxSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
@@ -544,39 +546,39 @@
             //anchored bubble popup wide short fixed contents autosize overflow
             ll = new OpenLayers.LonLat(35,0);
             popupClass = AutoSizeAnchoredBubble;
-            popupContentHTML = '<img src="wideshort.jpg"></img>' 
+            popupContentHTML = '<img src="img/wideshort.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored bubble popup wide short fixed contents autosize closebox overflow
             ll = new OpenLayers.LonLat(40,0);
             popupClass = AutoSizeAnchoredBubble;
-            popupContentHTML = '<img src="wideshort.jpg"></img>' 
+            popupContentHTML = '<img src="img/wideshort.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
             //anchored bubble popup thin long fixed contents autosize overflow
             ll = new OpenLayers.LonLat(50,0);
             popupClass = AutoSizeAnchoredBubble;
-            popupContentHTML = '<img src="thinlong.jpg"></img>' 
+            popupContentHTML = '<img src="img/thinlong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored bubble popup thin long fixed contents autosize closebox overflow
             ll = new OpenLayers.LonLat(55,0);
             popupClass = AutoSizeAnchoredBubble;
-            popupContentHTML = '<img src="thinlong.jpg"></img>' 
+            popupContentHTML = '<img src="img/thinlong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
             //anchored bubble popup wide long fixed contents autosize overflow
             ll = new OpenLayers.LonLat(65,0);
             popupClass = AutoSizeAnchoredBubble;
-            popupContentHTML = '<img src="widelong.jpg"></img>' 
+            popupContentHTML = '<img src="img/widelong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored bubble popup wide long fixed contents autosize closebox overflow
             ll = new OpenLayers.LonLat(70,0);
             popupClass = AutoSizeAnchoredBubble;
-            popupContentHTML = '<img src="widelong.jpg"></img>' 
+            popupContentHTML = '<img src="img/widelong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
    //FRAMED
@@ -588,52 +590,52 @@
               //anchored bubble popup small contents no autosize
             var ll = new OpenLayers.LonLat(-55,-15);
             popupClass = OpenLayers.Popup.FramedCloud;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false);
 
               //anchored bubble popup small contents no autosize closebox
             var ll = new OpenLayers.LonLat(-50,-15);
             popupClass = OpenLayers.Popup.FramedCloud;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
             //anchored bubble popup small contents autosize
             ll = new OpenLayers.LonLat(-40,-15);
             popupClass = AutoSizeFramedCloud;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false);
 
             //anchored bubble popup small contents autosize closebox
             ll = new OpenLayers.LonLat(-35,-15);
             popupClass = AutoSizeFramedCloud;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
             //anchored bubble popup small contents autosize minsize
             ll = new OpenLayers.LonLat(-25,-15);
             popupClass = AutoSizeFramedCloudMinSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false);
 
             //anchored bubble popup small contents autosize minsize closebox
             ll = new OpenLayers.LonLat(-20,-15);
             popupClass = AutoSizeFramedCloudMinSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
             //anchored bubble popup small contents autosize maxsize
             ll = new OpenLayers.LonLat(-10,-15);
             popupClass = AutoSizeFramedCloudMaxSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false);
 
             //anchored bubble popup small contents autosize maxsize closebox
             ll = new OpenLayers.LonLat(-5,-15);
             popupClass = AutoSizeFramedCloudMaxSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
@@ -666,39 +668,39 @@
             //anchored bubble popup wide short fixed contents autosize
             ll = new OpenLayers.LonLat(35,-15);
             popupClass = AutoSizeFramedCloud;
-            popupContentHTML = '<img src="wideshort.jpg"></img>' 
+            popupContentHTML = '<img src="img/wideshort.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML);
 
             //anchored bubble popup wide short fixed contents autosize closebox
             ll = new OpenLayers.LonLat(40,-15);
             popupClass = AutoSizeFramedCloud;
-            popupContentHTML = '<img src="wideshort.jpg"></img>' 
+            popupContentHTML = '<img src="img/wideshort.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
             //anchored bubble popup thin long fixed contents autosize
             ll = new OpenLayers.LonLat(50,-15);
             popupClass = AutoSizeFramedCloud;
-            popupContentHTML = '<img src="thinlong.jpg"></img>' 
+            popupContentHTML = '<img src="img/thinlong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML);
 
             //anchored bubble popup thin long fixed contents autosize closebox
             ll = new OpenLayers.LonLat(55,-15);
             popupClass = AutoSizeFramedCloud;
-            popupContentHTML = '<img src="thinlong.jpg"></img>' 
+            popupContentHTML = '<img src="img/thinlong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, true);
 
 
             //anchored bubble popup wide long fixed contents autosize
             ll = new OpenLayers.LonLat(65,-15);
             popupClass = AutoSizeFramedCloud;
-            popupContentHTML = '<img src="widelong.jpg"></img>' 
+            popupContentHTML = '<img src="img/widelong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML);
 
             //anchored bubble popup wide long fixed contents autosize closebox
             ll = new OpenLayers.LonLat(70,-15);
             popupClass = AutoSizeFramedCloud;
-            popupContentHTML = '<img src="widelong.jpg"></img>' 
+            popupContentHTML = '<img src="img/widelong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, true);
 
           //
@@ -708,52 +710,52 @@
               //anchored bubble popup small contents no autosize
             var ll = new OpenLayers.LonLat(-55,-20);
             popupClass = OpenLayers.Popup.FramedCloud;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
               //anchored bubble popup small contents no autosize closebox
             var ll = new OpenLayers.LonLat(-50,-20);
             popupClass = OpenLayers.Popup.FramedCloud;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
             //anchored bubble popup small contents autosize
             ll = new OpenLayers.LonLat(-40,-20);
             popupClass = AutoSizeFramedCloud;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored bubble popup small contents autosize closebox
             ll = new OpenLayers.LonLat(-35,-20);
             popupClass = AutoSizeFramedCloud;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
             //anchored bubble popup small contents autosize minsize
             ll = new OpenLayers.LonLat(-25,-20);
             popupClass = AutoSizeFramedCloudMinSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored bubble popup small contents autosize minsize closebox
             ll = new OpenLayers.LonLat(-20,-20);
             popupClass = AutoSizeFramedCloudMinSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
             //anchored bubble popup small contents autosize maxsize
             ll = new OpenLayers.LonLat(-10,-20);
             popupClass = AutoSizeFramedCloudMaxSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored bubble popup small contents autosize maxsize closebox
             ll = new OpenLayers.LonLat(-5,-20);
             popupClass = AutoSizeFramedCloudMaxSize;
-            popupContentHTML = '<img src="small.jpg"></img>';
+            popupContentHTML = '<img src="img/small.jpg"></img>';
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
@@ -786,39 +788,39 @@
             //anchored bubble popup wide short fixed contents autosize overflow
             ll = new OpenLayers.LonLat(35,-20);
             popupClass = AutoSizeFramedCloud;
-            popupContentHTML = '<img src="wideshort.jpg"></img>' 
+            popupContentHTML = '<img src="img/wideshort.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored bubble popup wide short fixed contents autosize closebox overflow
             ll = new OpenLayers.LonLat(40,-20);
             popupClass = AutoSizeFramedCloud;
-            popupContentHTML = '<img src="wideshort.jpg"></img>' 
+            popupContentHTML = '<img src="img/wideshort.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
             //anchored bubble popup thin long fixed contents autosize overflow
             ll = new OpenLayers.LonLat(50,-20);
             popupClass = AutoSizeFramedCloud;
-            popupContentHTML = '<img src="thinlong.jpg"></img>' 
+            popupContentHTML = '<img src="img/thinlong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored bubble popup thin long fixed contents autosize closebox overflow
             ll = new OpenLayers.LonLat(55,-20);
             popupClass = AutoSizeFramedCloud;
-            popupContentHTML = '<img src="thinlong.jpg"></img>' 
+            popupContentHTML = '<img src="img/thinlong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, true, true);
 
 
             //anchored bubble popup wide long fixed contents autosize overflow
             ll = new OpenLayers.LonLat(65,-20);
             popupClass = AutoSizeFramedCloud;
-            popupContentHTML = '<img src="widelong.jpg"></img>' 
+            popupContentHTML = '<img src="img/widelong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, false, true);
 
             //anchored bubble popup wide long fixed contents autosize closebox overflow
             ll = new OpenLayers.LonLat(70,-20);
             popupClass = AutoSizeFramedCloud;
-            popupContentHTML = '<img src="widelong.jpg"></img>' 
+            popupContentHTML = '<img src="img/widelong.jpg"></img>' 
             addMarker(ll, popupClass, popupContentHTML, true, true);
  
 
@@ -879,16 +881,16 @@
       <div id="map" class="smallmap"></div>
 
         <!-- preloading these images so the autosize will work correctly -->
-        <img src="wideshort.jpg" style="position:absolute; top:-5000px; left: -5000px"></img>
-        <img src="widelong.jpg" style="position:absolute; top:-5000px; left: -5000px"></img>
-        <img src="thinlong.jpg" style="position:absolute; top:-5000px; left: -5000px"></img>
+        <img src="img/wideshort.jpg" style="position:absolute; top:-5000px; left: -5000px"></img>
+        <img src="img/widelong.jpg" style="position:absolute; top:-5000px; left: -5000px"></img>
+        <img src="img/thinlong.jpg" style="position:absolute; top:-5000px; left: -5000px"></img>
 
        <p> All of the images in this file a pre-cached, meaning they are 
            loaded immediately when you load the page (they are just placed 
            far offscreen, that's why you don't see them). 
        </p>
        <br>    
-       <p> The only image that is *not* preloaded is small.jpg, the brazilian
+       <p> The only image that is *not* preloaded is img/small.jpg, the brazilian
            flag. We do this in order to test out to make sure that our auto-sizing
              code does in fact activate itself as the images load. To verify 
              this, clear your cache and reload this example page. Click on 

Deleted: sandbox/elemoine/draw-feature/examples/popupMatrix.jpg
===================================================================
(Binary files differ)

Modified: sandbox/elemoine/draw-feature/examples/popups.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/popups.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/popups.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>

Modified: sandbox/elemoine/draw-feature/examples/projected-map.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/projected-map.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/projected-map.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/protocol-gears.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/protocol-gears.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/protocol-gears.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <style type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/regular-polygons.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/regular-polygons.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/regular-polygons.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/resize-features.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/resize-features.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/resize-features.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/restricted-extent.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/restricted-extent.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/restricted-extent.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/rotate-features.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/rotate-features.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/rotate-features.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/select-feature-multilayer.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/select-feature-multilayer.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/select-feature-multilayer.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/select-feature-openpopup.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/select-feature-openpopup.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/select-feature-openpopup.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/select-feature.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/select-feature.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/select-feature.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/setextent.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/setextent.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/setextent.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html>
 <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/simplify-linestring.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/simplify-linestring.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/simplify-linestring.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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>
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/single-tile.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/single-tile.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/single-tile.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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">
         <link rel="stylesheet" href="style.css" type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/sld-parser.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/sld-parser.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/sld-parser.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/sld.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/sld.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/sld.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <script src="../lib/Firebug/firebug.js"></script>

Deleted: sandbox/elemoine/draw-feature/examples/small.jpg
===================================================================
(Binary files differ)

Modified: sandbox/elemoine/draw-feature/examples/snap-split.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/snap-split.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/snap-split.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/snapping.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/snapping.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/snapping.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/sos.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/sos.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/sos.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
-  <head>
+  <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/spherical-mercator.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/spherical-mercator.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/spherical-mercator.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/split-feature.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/split-feature.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/split-feature.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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>
         
         <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/strategy-bbox.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/strategy-bbox.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/strategy-bbox.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/strategy-cluster-extended.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/strategy-cluster-extended.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/strategy-cluster-extended.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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">
         <link rel="stylesheet" href="style.css" type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/strategy-cluster-threshold.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/strategy-cluster-threshold.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/strategy-cluster-threshold.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/strategy-cluster.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/strategy-cluster.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/strategy-cluster.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/strategy-paging.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/strategy-paging.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/strategy-paging.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/style-rules.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/style-rules.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/style-rules.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/style.css
===================================================================
--- sandbox/elemoine/draw-feature/examples/style.css	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/style.css	2011-02-23 06:23:40 UTC (rev 11267)
@@ -84,3 +84,40 @@
 #docs p {
     margin-bottom: 0.5em;
 }
+/* mobile specific */
+ at media only screen and (max-width: 600px) {
+    body {
+        height           : 100%;
+        margin           : 0;
+        padding          : 0;
+        width            : 100%;
+    }
+    #map {
+        background : #7391ad;
+        width      : 100%;
+    }
+    #map {
+        border : 0;
+        height : 250px;
+    }
+    #title {
+        font-size   : 1.3em;
+        line-height : 2em;
+        text-indent : 1em;
+        margin      : 0;
+        padding     : 0;
+    }
+    #docs {
+        bottom     : 0;
+        padding    : 1em;
+    }
+    #shortdesc {
+        color      : #aaa;
+        font-size  : 0.8em;
+        padding    : 1em;
+        text-align : right;
+    }
+    #tags {
+        display : none;
+    }
+}

Copied: sandbox/elemoine/draw-feature/examples/style.mobile.css (from rev 11266, trunk/openlayers/examples/style.mobile.css)
===================================================================
--- sandbox/elemoine/draw-feature/examples/style.mobile.css	                        (rev 0)
+++ sandbox/elemoine/draw-feature/examples/style.mobile.css	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,25 @@
+div.olControlZoomPanel {
+    height: 108px
+    width: 36px;
+    position: absolute;
+    top: 20px;
+    left: 20px;
+}
+div.olControlZoomPanel div {
+    width: 36px;
+    height: 36px;
+    background-image: url(img/mobile-zoombar.png);
+    left: 0;
+}
+div.olControlZoomPanel .olControlZoomInItemInactive {
+    top: 0;
+    background-position: 0 0;
+}
+div.olControlZoomPanel .olControlZoomToMaxExtentItemInactive {
+    top: 36px;
+    background-position: 0 -36px;
+}
+div.olControlZoomPanel .olControlZoomOutItemInactive {
+    top: 72px;
+    background-position: 0 -72px;
+}

Modified: sandbox/elemoine/draw-feature/examples/stylemap.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/stylemap.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/stylemap.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/styles-context.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/styles-context.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/styles-context.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/styles-rotation.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/styles-rotation.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/styles-rotation.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/styles-unique.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/styles-unique.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/styles-unique.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/sundials-spherical-mercator.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/sundials-spherical-mercator.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/sundials-spherical-mercator.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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&amp;v=2&amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
     <link rel="stylesheet" href="../theme/default/style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/sundials.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/sundials.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/sundials.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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/elemoine/draw-feature/examples/symbolizers-fill-stroke-graphic.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/symbolizers-fill-stroke-graphic.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/symbolizers-fill-stroke-graphic.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/teleportation.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/teleportation.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/teleportation.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Deleted: sandbox/elemoine/draw-feature/examples/thinlong.jpg
===================================================================
(Binary files differ)

Modified: sandbox/elemoine/draw-feature/examples/tile-origin.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/tile-origin.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/tile-origin.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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">
         <link rel="stylesheet" href="../theme/default/google.css" type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/tilecache.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/tilecache.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/tilecache.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/tms.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/tms.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/tms.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/transform-feature.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/transform-feature.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/transform-feature.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/transition.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/transition.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/transition.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <script src="../lib/OpenLayers.js"></script>

Modified: sandbox/elemoine/draw-feature/examples/urban.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/urban.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/urban.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/ve-novibrate.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/ve-novibrate.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/ve-novibrate.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml"> 
-  <head> 
+  <head>
+    <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" /> 
     <link rel="stylesheet" href="style.css" type="text/css" /> 

Modified: sandbox/elemoine/draw-feature/examples/ve.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/ve.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/ve.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/vector-features-with-text.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/vector-features-with-text.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/vector-features-with-text.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/vector-features.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/vector-features.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/vector-features.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/vector-formats.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/vector-formats.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/vector-formats.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/web-mercator.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/web-mercator.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/web-mercator.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE HTML>
 <html>
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/wfs-filter.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/wfs-filter.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/wfs-filter.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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="../theme/default/google.css" type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/wfs-protocol-transactions.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/wfs-protocol-transactions.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/wfs-protocol-transactions.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html>
   <head>
+    <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" />
     <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>

Modified: sandbox/elemoine/draw-feature/examples/wfs-protocol.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/wfs-protocol.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/wfs-protocol.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/wfs-reprojection.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/wfs-reprojection.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/wfs-reprojection.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/wfs-snap-split.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/wfs-snap-split.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/wfs-snap-split.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html>
   <head>
+    <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" />
     <script src="../lib/OpenLayers.js"></script>

Modified: sandbox/elemoine/draw-feature/examples/wfs-states.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/wfs-states.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/wfs-states.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html>
     <head>
+    <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" />
         <title>WFS: United States (GeoServer)</title>

Deleted: sandbox/elemoine/draw-feature/examples/widelong.jpg
===================================================================
(Binary files differ)

Deleted: sandbox/elemoine/draw-feature/examples/wideshort.jpg
===================================================================
(Binary files differ)

Modified: sandbox/elemoine/draw-feature/examples/wmc.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/wmc.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/wmc.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <style type="text/css">

Modified: sandbox/elemoine/draw-feature/examples/wms-long-url.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/wms-long-url.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/wms-long-url.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/wms-untiled.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/wms-untiled.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/wms-untiled.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <script src="../lib/OpenLayers.js"></script>

Modified: sandbox/elemoine/draw-feature/examples/wms-v13.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/wms-v13.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/wms-v13.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <script src="../lib/OpenLayers.js"></script>

Modified: sandbox/elemoine/draw-feature/examples/wms.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/wms.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/wms.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <script src="../lib/OpenLayers.js"></script>

Modified: sandbox/elemoine/draw-feature/examples/wmst.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/wmst.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/wmst.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/wmts-capabilities.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/wmts-capabilities.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/wmts-capabilities.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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"/>
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/wmts-getfeatureinfo.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/wmts-getfeatureinfo.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/wmts-getfeatureinfo.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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"/>
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/wmts.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/wmts.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/wmts.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE html>
 <html>
     <head>
+    <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"/>
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/worldwind.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/worldwind.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/worldwind.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <script src="../lib/OpenLayers.js"></script>

Modified: sandbox/elemoine/draw-feature/examples/wrapDateLine.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/wrapDateLine.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/wrapDateLine.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/xhtml.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/xhtml.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/xhtml.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -2,6 +2,8 @@
         "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/xml.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/xml.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/xml.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -2,6 +2,8 @@
         "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/xyz-esri.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/xyz-esri.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/xyz-esri.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/xyz-offset.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/xyz-offset.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/xyz-offset.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,8 @@
 <!DOCTYPE HTML>
 <html>
     <head>
+    <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" />
         <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/yahoo.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/yahoo.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/yahoo.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/examples/zoomLevels.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/zoomLevels.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/zoomLevels.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <script src="../lib/OpenLayers.js"></script>

Modified: sandbox/elemoine/draw-feature/examples/zoomify.html
===================================================================
--- sandbox/elemoine/draw-feature/examples/zoomify.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/examples/zoomify.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,5 +1,7 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
+    <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" />
     <link rel="stylesheet" href="style.css" type="text/css" />

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/BaseTypes.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/BaseTypes.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/BaseTypes.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -458,7 +458,17 @@
      */
     True : function() {
         return true;
-    }
+    },
+    
+    /**
+     * APIFunction: Void
+     * A reusable function that returns ``undefined``.
+     *
+     * Returns:
+     * {undefined}
+     */
+    Void: function() {}
+
 };
 
 if (!Function.prototype.bind) {

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Control/ArgParser.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Control/ArgParser.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Control/ArgParser.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -64,6 +64,22 @@
         OpenLayers.Control.prototype.initialize.apply(this, arguments);
     },
 
+    getParameters: function(url) {
+        url = url || window.location.href;
+        var parameters = OpenLayers.Util.getParameters(url);
+
+        // If we have an chchor in the url use it to split the url
+        var index = url.indexOf('#');
+        if (index > 0) {
+            // create an url to parce on the getParameters
+            url = '?' + url.substring(index + 1, url.length);
+
+            OpenLayers.Util.extend(parameters,
+                    OpenLayers.Util.getParameters(url));
+        }
+        return parameters;
+    },
+    
     /**
      * Method: setMap
      * Set the map property for the control. 
@@ -92,7 +108,7 @@
         }
         if (i == this.map.controls.length) {
 
-            var args = OpenLayers.Util.getParameters();
+            var args = this.getParameters();
             // Be careful to set layer first, to not trigger unnecessary layer loads
             if (args.layers) {
                 this.layers = args.layers;

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Control/DragPan.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Control/DragPan.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Control/DragPan.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -43,16 +43,48 @@
      *     mouse cursor leaves the map viewport. Default is false.
      */
     documentDrag: false,
-    
+
     /**
+     * Property: kinetic
+     * {OpenLayers.Kinetic} The OpenLayers.Kinetic object.
+     */
+    kinetic: null,
+
+    /**
+     * APIProperty: enableKinetic
+     * {Boolean} Set this option to enable "kinetic dragging". Can be
+     *     set to true or to an object. If set to an object this
+     *     object will be passed to the {<OpenLayers.Kinetic>}
+     *     constructor. Defaults to false.
+     */
+    enableKinetic: false,
+
+    /**
+     * APIProperty: kineticInterval
+     * {Integer} Interval in milliseconds between 2 steps in the "kinetic
+     *     scrolling". Applies only if enableKinetic is set. Defaults
+     *     to 10 milliseconds.
+     */
+    kineticInterval: 10,
+
+
+    /**
      * Method: draw
      * Creates a Drag handler, using <panMap> and
      * <panMapDone> as callbacks.
      */    
     draw: function() {
+        if(this.enableKinetic) {
+            var config = {interval: this.kineticInterval};
+            if(typeof this.enableKinetic === "object") {
+                config = OpenLayers.Util.extend(config, this.enableKinetic);
+            }
+            this.kinetic = new OpenLayers.Kinetic(config);
+        }
         this.handler = new OpenLayers.Handler.Drag(this, {
                 "move": this.panMap,
-                "done": this.panMapDone
+                "done": this.panMapDone,
+                "down": this.panMapStart
             }, {
                 interval: this.interval,
                 documentDrag: this.documentDrag
@@ -61,17 +93,29 @@
     },
 
     /**
+     * Method: panMapStart
+     */
+    panMapStart: function() {
+        if(this.kinetic) {
+            this.kinetic.begin();
+        }
+    },
+
+    /**
     * Method: panMap
     *
     * Parameters:
     * xy - {<OpenLayers.Pixel>} Pixel of the mouse position
     */
     panMap: function(xy) {
+        if(this.kinetic) {
+            this.kinetic.update(xy);
+        }
         this.panned = true;
         this.map.pan(
             this.handler.last.x - xy.x,
             this.handler.last.y - xy.y,
-            {dragging: this.handler.dragging, animate: false}
+            {dragging: true, animate: false}
         );
     },
     
@@ -85,7 +129,21 @@
      */
     panMapDone: function(xy) {
         if(this.panned) {
-            this.panMap(xy);
+            var res = null;
+            if (this.kinetic) {
+                res = this.kinetic.end(xy);
+            }
+            this.map.pan(
+                this.handler.last.x - xy.x,
+                this.handler.last.y - xy.y,
+                {dragging: !!res, animate: false}
+            );
+            if (res) {
+                var self = this;
+                this.kinetic.move(res, function(x, y, end) {
+                    self.map.pan(x, y, {dragging: !end, animate: false});
+                });
+            }
             this.panned = false;
         }
     },

Added: sandbox/elemoine/draw-feature/lib/OpenLayers/Control/Geolocate.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Control/Geolocate.js	                        (rev 0)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Control/Geolocate.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,158 @@
+/* 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/Control.js
+ * @requires OpenLayers/Geometry/Point.js
+ * @requires OpenLayers/Projection.js
+ */
+
+/**
+ * Class: OpenLayers.Control.Geolocate
+ * The Geolocate control wraps w3c geolocation API into control that can be
+ * bound to a map, and generate events on location update
+ *
+ * To use this control requires to load the proj4js library if the projection
+ * of the map is not EPSG:4326 or EPSG:900913.
+ *
+ * Inherits from:
+ *  - <OpenLayers.Control>
+ */
+OpenLayers.Control.Geolocate = OpenLayers.Class(OpenLayers.Control, {
+
+    /**
+     * Constant: EVENT_TYPES
+     * Supported event types:
+     *  - *locationupdated* Triggered when browser return a new position
+     *  - *locationfailed* Triggered when geolocation has failed
+     *  - *locationuncapable* Triggered when control is activated on a browser
+     *  which doesn't support geolocation
+     */
+    EVENT_TYPES: ["locationupdated", "locationfailed", "locationuncapable"],
+
+    /**
+     * Property: geolocation
+     * {Object} The geolocation engine, as a property to be possibly mocked.
+     */
+    geolocation: navigator.geolocation,
+
+    /**
+     * APIProperty: bind
+     * {Boolean} If true, map center will be set on location update.
+     */
+    bind: true,
+
+    /**
+     * APIProperty: watch
+     * {Boolean} If true, position will be update regularly.
+     */
+    watch: false,
+
+    /**
+     * APIProperty: geolocationOptions
+     * {Object} Options to pass to the navigator's geolocation API. See
+     *     <http://dev.w3.org/geo/api/spec-source.html>. No specific
+     *     option is passed to the geolocation API by default.
+     */
+    geolocationOptions: null,
+
+    /**
+     * Constructor: OpenLayers.Control.Geolocate
+     * Create a new control to deal with browser geolocation API
+     *
+     */
+    initialize: function(options) {
+        // concatenate events specific to this control with those from the base
+        this.EVENT_TYPES =
+            OpenLayers.Control.Geolocate.prototype.EVENT_TYPES.concat(
+            OpenLayers.Control.prototype.EVENT_TYPES
+        );
+        this.geolocationOptions = {};
+        OpenLayers.Control.prototype.initialize.apply(this, [options]);
+    },
+
+    /**
+     * Method: activate
+     * Activates the control.
+     *
+     * Returns:
+     * {Boolean} The control was effectively activated.
+     */
+    activate: function () {
+        if (!this.geolocation) {
+            this.events.triggerEvent("locationuncapable");
+            return false;
+        }
+        if (!this.active) {
+            if (this.watch) {
+                this.watchId = this.geolocation.watchPosition(
+                    OpenLayers.Function.bind(this.geolocate, this),
+                    OpenLayers.Function.bind(this.failure, this),
+                    this.geolocationOptions
+                );
+            } else {
+                this.geolocation.getCurrentPosition(
+                    OpenLayers.Function.bind(this.geolocate, this),
+                    OpenLayers.Function.bind(this.failure, this),
+                    this.geolocationOptions
+                );
+            }
+        }
+        return OpenLayers.Control.prototype.activate.apply(
+            this, arguments
+        );
+    },
+
+    /**
+     * Method: deactivate
+     * Deactivates the control.
+     *
+     * Returns:
+     * {Boolean} The control was effectively deactivated.
+     */
+    deactivate: function () {
+        if (this.active && this.watchId !== null) {
+            this.geolocation.clearWatch(this.watchId);
+        }
+        return OpenLayers.Control.prototype.deactivate.apply(
+            this, arguments
+        );
+    },
+
+    /**
+     * Method: geolocate
+     * Activates the control.
+     *
+     */
+    geolocate: function (position) {
+        var center = new OpenLayers.LonLat(
+            position.coords.longitude,
+            position.coords.latitude
+        ).transform(
+            new OpenLayers.Projection("EPSG:4326"),
+            this.map.getProjectionObject()
+        );
+        if (this.bind) {
+            this.map.setCenter(center);
+        }
+        this.events.triggerEvent("locationupdated", {
+            position: position,
+            point: new OpenLayers.Geometry.Point(
+                center.lon, center.lat
+            )
+        });
+    },
+
+    /**
+     * Method: failure
+     * method called on browser's geolocation failure
+     *
+     */
+    failure: function (error) {
+        this.events.triggerEvent("locationfailed", {error: error});
+    },
+
+    CLASS_NAME: "OpenLayers.Control.Geolocate"
+});

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Control/LayerSwitcher.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Control/LayerSwitcher.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Control/LayerSwitcher.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -316,7 +316,7 @@
                 
                 // create span
                 var labelSpan = document.createElement("span");
-                OpenLayers.Element.addClass(labelSpan, "labelSpan")
+                OpenLayers.Element.addClass(labelSpan, "labelSpan");
                 if (!baseLayer && !layer.inRange) {
                     labelSpan.style.color = "gray";
                 }

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Control/PanZoomBar.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Control/PanZoomBar.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Control/PanZoomBar.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -73,6 +73,12 @@
     mouseDragStart: null,
 
     /**
+     * Property: deltaY
+     * {Number} The cumulative vertical pixel offset during a zoom bar drag.
+     */
+    deltaY: null,
+
+    /**
      * Property: zoomStart
      * {<OpenLayers.Pixel>}
      */
@@ -186,6 +192,9 @@
         this.sliderEvents = new OpenLayers.Events(this, slider, null, true,
                                             {includeXY: true});
         this.sliderEvents.on({
+            "touchstart": this.zoomBarDown,
+            "touchmove": this.zoomBarDrag,
+            "touchend": this.zoomBarUp,
             "mousedown": this.zoomBarDown,
             "mousemove": this.zoomBarDrag,
             "mouseup": this.zoomBarUp,
@@ -219,6 +228,7 @@
         this.divEvents = new OpenLayers.Events(this, div, null, true, 
                                                 {includeXY: true});
         this.divEvents.on({
+            "touchmove": this.passEventToSlider,
             "mousedown": this.divClick,
             "mousemove": this.passEventToSlider,
             "dblclick": this.doubleClick,
@@ -242,6 +252,7 @@
      */
     _removeZoomBar: function() {
         this.sliderEvents.un({
+            "touchmove": this.zoomBarDrag,
             "mousedown": this.zoomBarDown,
             "mousemove": this.zoomBarDrag,
             "mouseup": this.zoomBarUp,
@@ -251,6 +262,7 @@
         this.sliderEvents.destroy();
 
         this.divEvents.un({
+            "touchmove": this.passEventToSlider,
             "mousedown": this.divClick,
             "mousemove": this.passEventToSlider,
             "dblclick": this.doubleClick,
@@ -305,10 +317,11 @@
      * evt - {<OpenLayers.Event>} 
      */
     zoomBarDown:function(evt) {
-        if (!OpenLayers.Event.isLeftClick(evt)) {
+        if (!OpenLayers.Event.isLeftClick(evt) && !OpenLayers.Event.isSingleTouch(evt)) {
             return;
         }
         this.map.events.on({
+            "touchmove": this.passEventToSlider,
             "mousemove": this.passEventToSlider,
             "mouseup": this.passEventToSlider,
             scope: this
@@ -341,6 +354,8 @@
                 this.slider.style.top = newTop+"px";
                 this.mouseDragStart = evt.xy.clone();
             }
+            // set cumulative displacement
+            this.deltaY = this.zoomStart.y - evt.xy.y;
             OpenLayers.Event.stop(evt);
         }
     },
@@ -354,28 +369,30 @@
      * evt - {<OpenLayers.Event>} 
      */
     zoomBarUp:function(evt) {
-        if (!OpenLayers.Event.isLeftClick(evt)) {
+        if (!OpenLayers.Event.isLeftClick(evt) && evt.type !== "touchend") {
             return;
         }
         if (this.mouseDragStart) {
             this.div.style.cursor="";
             this.map.events.un({
+                "touchmove": this.passEventToSlider,
                 "mouseup": this.passEventToSlider,
                 "mousemove": this.passEventToSlider,
                 scope: this
             });
-            var deltaY = this.zoomStart.y - evt.xy.y;
             var zoomLevel = this.map.zoom;
             if (!this.forceFixedZoomLevel && this.map.fractionalZoom) {
-                zoomLevel += deltaY/this.zoomStopHeight;
+                zoomLevel += this.deltaY/this.zoomStopHeight;
                 zoomLevel = Math.min(Math.max(zoomLevel, 0), 
                                      this.map.getNumZoomLevels() - 1);
             } else {
-                zoomLevel += Math.round(deltaY/this.zoomStopHeight);
+                zoomLevel += this.deltaY/this.zoomStopHeight;
+                zoomLevel = Math.max(Math.round(zoomLevel), 0);      
             }
             this.map.zoomTo(zoomLevel);
             this.mouseDragStart = null;
             this.zoomStart = null;
+            this.deltaY = 0;
             OpenLayers.Event.stop(evt);
         }
     },

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Control/Permalink.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Control/Permalink.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Control/Permalink.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -36,6 +36,16 @@
     element: null,
     
     /** 
+     * APIProperty: anchor
+     * {Boolean} This option changes 3 things:
+     *     the character '#' is used in place of the character '?',
+     *     the window.href is updated if no element is provided.
+     *     When this option is set to true it's not recommend to provide
+     *     a base without provide an element.
+     */
+    anchor: false,
+
+    /** 
      * APIProperty: base
      * {String}
      */
@@ -59,14 +69,27 @@
      * Parameters: 
      * element - {DOMElement} 
      * base - {String} 
-     * options - {Object} options to the control. 
+     * options - {Object} options to the control.
+     *
+     * Or for anchor:
+     * options - {Object} options to the control.
      */
     initialize: function(element, base, options) {
-        OpenLayers.Control.prototype.initialize.apply(this, [options]);
-        this.element = OpenLayers.Util.getElement(element);        
-        this.base = base || document.location.href;
+        if (element !== null && typeof element == 'object' && !OpenLayers.Util.isElement(element)) {
+            options = element;
+            this.base = document.location.href;
+            OpenLayers.Control.prototype.initialize.apply(this, [options]);
+            if (this.element != null) {
+                this.element = OpenLayers.Util.getElement(this.element);
+            }
+        }
+        else {
+            OpenLayers.Control.prototype.initialize.apply(this, [options]);
+            this.element = OpenLayers.Util.getElement(element);
+            this.base = base || document.location.href;
+        }
     },
-
+    
     /**
      * APIMethod: destroy
      */
@@ -122,7 +145,7 @@
     draw: function() {
         OpenLayers.Control.prototype.draw.apply(this, arguments);
           
-        if (!this.element) {
+        if (!this.element && !this.anchor) {
             this.element = document.createElement("a");
             this.element.innerHTML = OpenLayers.i18n("permalink");
             this.element.href="";
@@ -146,13 +169,19 @@
      * Method: updateLink 
      */
     updateLink: function() {
+        var separator = this.anchor ? '#' : '?';
         var href = this.base;
-        if (href.indexOf('?') != -1) {
-            href = href.substring( 0, href.indexOf('?') );
+        if (href.indexOf(separator) != -1) {
+            href = href.substring( 0, href.indexOf(separator) );
         }
 
-        href += '?' + OpenLayers.Util.getParameterString(this.createParams());
-        this.element.href = href;
+        href += separator + OpenLayers.Util.getParameterString(this.createParams());
+        if (this.anchor && !this.element) {
+            window.location.href = href;
+        }
+        else {
+            this.element.href = href;
+        }
     }, 
     
     /**

Added: sandbox/elemoine/draw-feature/lib/OpenLayers/Control/TouchNavigation.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Control/TouchNavigation.js	                        (rev 0)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Control/TouchNavigation.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,148 @@
+/* Copyright (c) 2006-2010 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/Control/DragPan.js
+ * @requires OpenLayers/Handler/Click.js
+ */
+
+/**
+ * Class: OpenLayers.Control.TouchNavigation
+ * The navigation control handles map browsing with touch events (dragging,
+ *     double-tapping, and tap with two fingers).  Create a new navigation
+ *     control with the <OpenLayers.Control.TouchNavigation> control.
+ *
+ * Inherits:
+ *  - <OpenLayers.Control>
+ */
+OpenLayers.Control.TouchNavigation = OpenLayers.Class(OpenLayers.Control, {
+
+    /**
+     * Property: dragPan
+     * {<OpenLayers.Control.DragPan>}
+     */
+    dragPan: null,
+
+    /**
+     * APIProprety: dragPanOptions
+     * {Object} Options passed to the DragPan control.
+     */
+    dragPanOptions: null,
+
+    /**
+     * APIProperty: documentDrag
+     * {Boolean} Allow panning of the map by dragging outside map viewport.
+     *     Default is false.
+     */
+    documentDrag: false,
+
+    /**
+     * APIProperty: autoActivate
+     * {Boolean} Activate the control when it is added to a map.  Default is
+     *     true.
+     */
+    autoActivate: true,
+
+    /**
+     * Constructor: OpenLayers.Control.TouchNavigation
+     * Create a new navigation control
+     *
+     * Parameters:
+     * options - {Object} An optional object whose properties will be set on
+     *                    the control
+     */
+    initialize: function(options) {
+        this.handlers = {};
+        OpenLayers.Control.prototype.initialize.apply(this, arguments);
+    },
+
+    /**
+     * Method: destroy
+     * The destroy method is used to perform any clean up before the control
+     * is dereferenced.  Typically this is where event listeners are removed
+     * to prevent memory leaks.
+     */
+    destroy: function() {
+        this.deactivate();
+        if(this.dragPan) {
+            this.dragPan.destroy();
+        }
+        this.dragPan = null;
+        OpenLayers.Control.prototype.destroy.apply(this,arguments);
+    },
+
+    /**
+     * Method: activate
+     */
+    activate: function() {
+        if(OpenLayers.Control.prototype.activate.apply(this,arguments)) {
+            this.dragPan.activate();
+            this.handlers.click.activate();
+            return true;
+        }
+        return false;
+    },
+
+    /**
+     * Method: deactivate
+     */
+    deactivate: function() {
+        if(OpenLayers.Control.prototype.deactivate.apply(this,arguments)) {
+            this.dragPan.deactivate();
+            this.handlers.click.deactivate();
+            return true;
+        }
+        return false;
+    },
+
+    /**
+     * Method: draw
+     */
+    draw: function() {
+        var clickCallbacks = {
+            'click': this.defaultClick,
+            'dblclick': this.defaultDblClick
+        };
+        var clickOptions = {
+            'double': true,
+            'stopDouble': true
+        };
+        this.handlers.click = new OpenLayers.Handler.Click(
+            this, clickCallbacks, clickOptions
+        );
+        this.dragPan = new OpenLayers.Control.DragPan(
+            OpenLayers.Util.extend({
+                map: this.map,
+                documentDrag: this.documentDrag
+            }, this.dragPanOptions)
+        );
+        this.dragPan.draw();
+    },
+
+    /**
+     * Method: defaultClick
+     *
+     * Parameters:
+     * evt - {Event}
+     */
+    defaultClick: function (evt) {
+        if(evt.lastTouches && evt.lastTouches.length == 2) {
+            this.map.zoomOut();
+        }
+    },
+
+    /**
+     * Method: defaultDblClick
+     *
+     * Parameters:
+     * evt - {Event}
+     */
+    defaultDblClick: function (evt) {
+        var newCenter = this.map.getLonLatFromViewPortPx(evt.xy);
+        this.map.setCenter(newCenter, this.map.zoom + 1);
+    },
+
+    CLASS_NAME: "OpenLayers.Control.TouchNavigation"
+});

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Events.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Events.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Events.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -91,6 +91,20 @@
     },
 
     /**
+     * Method: isSingleTouch
+     * Determine whether event was caused by a single touch
+     *
+     * Parameters:
+     * event - {Event}
+     *
+     * Returns:
+     * {Boolean}
+     */
+    isSingleTouch: function(event) {
+        return event.touches && event.touches.length == 1;
+    },
+
+    /**
      * Method: isLeftClick
      * Determine whether event was caused by a left click. 
      *
@@ -369,7 +383,8 @@
         "mouseover", "mouseout",
         "mousedown", "mouseup", "mousemove", 
         "click", "dblclick", "rightclick", "dblrightclick",
-        "resize", "focus", "blur"
+        "resize", "focus", "blur",
+        "touchstart", "touchmove", "touchend"
     ],
 
     /** 
@@ -792,6 +807,11 @@
             // noone's listening, bail out
             return;
         }
+        // add clientX & clientY to all events - only corresponds to the first touch
+        if (evt.touches && evt.touches[0]) {
+            evt.clientX = evt.touches[0].clientX;
+            evt.clientY = evt.touches[0].clientY;
+        }
         if (this.includeXY) {
             evt.xy = this.getMousePosition(evt);
         } 
@@ -846,6 +866,7 @@
         if (!this.element.offsets) {
             this.element.offsets = OpenLayers.Util.pagePosition(this.element);
         }
+
         return new OpenLayers.Pixel(
             (evt.clientX + this.element.scrolls[0]) - this.element.offsets[0]
                          - this.element.lefttop[0], 

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Format/CSWGetDomain/v2_0_2.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Format/CSWGetDomain/v2_0_2.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Format/CSWGetDomain/v2_0_2.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -133,7 +133,7 @@
             },
             "Value": function(node, obj) {
                 var attrs = node.attributes;
-                var value = {}
+                var value = {};
                 for(var i=0, len=attrs.length; i<len; ++i) {
                     value[attrs[i].name] = attrs[i].nodeValue;
                 }
@@ -159,7 +159,7 @@
             },
             "MinValue": function(node, obj) {
                 var attrs = node.attributes;
-                var value = {}
+                var value = {};
                 for(var i=0, len=attrs.length; i<len; ++i) {
                     value[attrs[i].name] = attrs[i].nodeValue;
                 }
@@ -168,7 +168,7 @@
             },
             "MaxValue": function(node, obj) {
                 var attrs = node.attributes;
-                var value = {}
+                var value = {};
                 for(var i=0, len=attrs.length; i<len; ++i) {
                     value[attrs[i].name] = attrs[i].nodeValue;
                 }

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Format/WFST/v1.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Format/WFST/v1.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Format/WFST/v1.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -182,7 +182,7 @@
         if(value) {
             this.setAttributeNS(
                 node, this.namespaces["xsi"], "xsi:schemaLocation",  value
-            )
+            );
         }
         return OpenLayers.Format.XML.prototype.write.apply(this, [node]);
     },

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Handler/Click.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Handler/Click.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Handler/Click.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -22,7 +22,6 @@
  *  - <OpenLayers.Handler> 
  */
 OpenLayers.Handler.Click = OpenLayers.Class(OpenLayers.Handler, {
-
     /**
      * APIProperty: delay
      * {Number} Number of milliseconds between clicks before the event is
@@ -89,8 +88,21 @@
      * {<OpenLayers.Pixel>} The pixel location of the last mousedown.
      */
     down: null,
-    
+
+    /** 
+     * Property: last
+     * {<OpenLayers.Pixel>} The pixel for the last touchmove. This is
+     * used to 
+     */
+    last: null,
+
     /**
+     * Property: touch
+     * {Boolean} Are we on a touch enabled device? Default is false.
+     */
+    touch: false,
+
+    /**
      * Property: rightclickTimerId
      * {Number} The id of the right mouse timeout waiting to clear the 
      *     <delayedEvent>.
@@ -118,7 +130,7 @@
         // optionally register for mouseup and mousedown
         if(this.pixelTolerance != null) {
             this.mousedown = function(evt) {
-                this.down = evt.xy;
+                this.down = evt;
                 return true;
             };
         }
@@ -135,22 +147,36 @@
     mousedown: null,
 
     /**
+     * Method: touchstart
+     * Handle touchstart.
+     *
+     * Returns:
+     * {Boolean} Continue propagating this event.
+     */
+    touchstart: function(evt) {
+        this.touch = true;
+        this.down = evt;
+        this.last = null;
+        return true;
+    },
+
+    /**
      * Method: mouseup
      * Handle mouseup.  Installed to support collection of right mouse events.
      * 
      * Returns:
      * {Boolean} Continue propagating this event.
      */
-    mouseup:  function (evt) {
+    mouseup: function (evt) {
         var propagate = true;
 
         // Collect right mouse clicks from the mouseup
         //  IE - ignores the second right click in mousedown so using
         //  mouseup instead
-        if (this.checkModifiers(evt) && 
-            this.control.handleRightClicks && 
-            OpenLayers.Event.isRightClick(evt)) {
-          propagate = this.rightclick(evt);
+        if(this.checkModifiers(evt) &&
+           this.control.handleRightClicks &&
+           OpenLayers.Event.isRightClick(evt)) {
+            propagate = this.rightclick(evt);
         }
 
         return propagate;
@@ -216,7 +242,10 @@
      * {Boolean} Continue propagating this event.
      */
     dblclick: function(evt) {
-        if(this.passesTolerance(evt)) {
+        // for touch devices trigger dblclick only for
+        // "one finger" touch
+        if(this.passesTolerance(evt) &&
+           (!evt.lastTouches || evt.lastTouches.length == 1)) {
             if(this["double"]) {
                 this.callback('dblclick', [evt]);
             }
@@ -226,6 +255,30 @@
     },
     
     /**
+     * Method: touchmove
+     *    Store position of last move, because touchend event can have
+     *    an empty "touches" property.
+     */
+    touchmove: function(evt) {
+        this.last = evt;
+    },
+
+    /**
+     * Method: touchend
+     *   Correctly set event xy property, and add lastTouches to have
+     *   touches property from last touchstart or touchmove
+     */
+    touchend: function(evt) {
+        var last = this.last || this.down;
+        if (!evt || !last) {
+            return false;
+        }
+        evt.xy = last.xy;
+        evt.lastTouches = last.touches;
+        return evt.xy ? this.click(evt) : false;
+    },
+
+    /**
      * Method: click
      * Handle click.
      *
@@ -233,10 +286,19 @@
      * {Boolean} Continue propagating this event.
      */
     click: function(evt) {
+        // Sencha Touch emulates click events, see ticket 3079 for more info
+        if (this.touch === true && evt.type === "click") {
+            return !this.stopSingle;
+        }
         if(this.passesTolerance(evt)) {
             if(this.timerId != null) {
                 // already received a click
-                this.clearTimer();
+                if(evt.lastTouches) {
+                    // touch device - we may trigger dblclick
+                    this.dblclick(evt);
+                } else {
+                    this.clearTimer();
+                }
             } else {
                 // set the timer, send evt only if single is true
                 //use a clone of the event object because it will no longer 
@@ -246,7 +308,7 @@
                 this.timerId = window.setTimeout(
                     OpenLayers.Function.bind(this.delayedCall, this, clickEvent),
                     this.delay
-                );
+               );
             }
         }
         return !this.stopSingle;
@@ -265,10 +327,10 @@
      */
     passesTolerance: function(evt) {
         var passes = true;
-        if(this.pixelTolerance != null && this.down) {
+        if(this.pixelTolerance != null && this.down && this.down.xy) {
             var dpx = Math.sqrt(
-                Math.pow(this.down.x - evt.xy.x, 2) +
-                Math.pow(this.down.y - evt.xy.y, 2)
+                Math.pow(this.down.xy.x - evt.xy.x, 2) +
+                Math.pow(this.down.xy.y - evt.xy.y, 2)
             );
             if(dpx > this.pixelTolerance) {
                 passes = false;
@@ -316,6 +378,7 @@
         if(OpenLayers.Handler.prototype.deactivate.apply(this, arguments)) {
             this.clearTimer();
             this.down = null;
+            this.last = null;
             deactivated = true;
         }
         return deactivated;

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Handler/Drag.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Handler/Drag.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Handler/Drag.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -32,11 +32,11 @@
   
     /** 
      * Property: started
-     * {Boolean} When a mousedown event is received, we want to record it, but
-     *     not set 'dragging' until the mouse moves after starting. 
+     * {Boolean} When a mousedown or touchstart event is received, we want to
+     * record it, but not set 'dragging' until the mouse moves after starting.
      */
     started: false,
-    
+
     /**
      * Property: stopDown
      * {Boolean} Stop propagation of mousedown events from getting to listeners
@@ -132,10 +132,129 @@
     },
     
     /**
+     * Method: dragstart
+     * This private method is factorized from mousedown and touchstart methods
+     *
+     * Parameters:
+     * evt - {Event} The event
+     *
+     * Returns:
+     * {Boolean} Let the event propagate.
+     */
+    dragstart: function (evt) {
+        var propagate = true;
+        this.dragging = false;
+        if (this.checkModifiers(evt) &&
+               (OpenLayers.Event.isLeftClick(evt) ||
+                OpenLayers.Event.isSingleTouch(evt))) {
+            this.started = true;
+            this.start = evt.xy;
+            this.last = evt.xy;
+            OpenLayers.Element.addClass(
+                this.map.viewPortDiv, "olDragDown"
+            );
+            this.down(evt);
+            this.callback("down", [evt.xy]);
+
+            if (evt.type === "mousedown") {
+                OpenLayers.Event.stop(evt);
+            }
+
+            if(!this.oldOnselectstart) {
+                this.oldOnselectstart = document.onselectstart ?
+                    document.onselectstart : OpenLayers.Function.True;
+            }
+            document.onselectstart = OpenLayers.Function.False;
+
+            propagate = !this.stopDown;
+        } else {
+            this.started = false;
+            this.start = null;
+            this.last = null;
+        }
+        return propagate;
+    },
+
+    /**
+     * Method: dragmove
+     * This private method is factorized from mousemove and touchmove methods
+     *
+     * Parameters:
+     * evt - {Event} The event
+     *
+     * Returns:
+     * {Boolean} Let the event propagate.
+     */
+    dragmove: function (evt) {
+        if (this.started && !this.timeoutId && (evt.xy.x != this.last.x ||
+                                                evt.xy.y != this.last.y)) {
+            if(this.documentDrag === true && this.documentEvents) {
+                if(evt.element === document) {
+                    this.adjustXY(evt);
+                    // do setEvent manually because the documentEvents are not
+                    // registered with the map
+                    this.setEvent(evt);
+                } else {
+                    this.removeDocumentEvents();
+                }
+            }
+            if (this.interval > 0) {
+                this.timeoutId = setTimeout(
+                    OpenLayers.Function.bind(this.removeTimeout, this),
+                    this.interval);
+            }
+            this.dragging = true;
+            if (evt.type === "touchmove") {
+                OpenLayers.Event.stop(evt);
+            }
+            this.move(evt);
+            this.callback("move", [evt.xy]);
+            if(!this.oldOnselectstart) {
+                this.oldOnselectstart = document.onselectstart;
+                document.onselectstart = OpenLayers.Function.False;
+            }
+            this.last = this.evt.xy;
+        }
+        return true;
+    },
+
+    /**
+     * Method: dragend
+     * This private method is factorized from mouseup and touchend methods
+     *
+     * Parameters:
+     * evt - {Event} The event
+     *
+     * Returns:
+     * {Boolean} Let the event propagate.
+     */
+    dragend: function (evt) {
+        if (this.started) {
+            if(this.documentDrag === true && this.documentEvents) {
+                this.adjustXY(evt);
+                this.removeDocumentEvents();
+            }
+            var dragged = (this.start != this.last);
+            this.started = false;
+            this.dragging = false;
+            OpenLayers.Element.removeClass(
+                this.map.viewPortDiv, "olDragDown"
+            );
+            this.up(evt);
+            this.callback("up", [evt.xy]);
+            if(dragged) {
+                this.callback("done", [evt.xy]);
+            }
+            document.onselectstart = this.oldOnselectstart;
+        }
+        return true;
+    },
+
+    /**
      * The four methods below (down, move, up, and out) are used by subclasses
      *     to do their own processing related to these mouse events.
      */
-    
+
     /**
      * Method: down
      * This method is called during the handling of the mouse down event.
@@ -146,7 +265,7 @@
      */
     down: function(evt) {
     },
-    
+
     /**
      * Method: move
      * This method is called during the handling of the mouse move event.
@@ -192,77 +311,58 @@
      * Handle mousedown events
      *
      * Parameters:
-     * evt - {Event} 
+     * evt - {Event}
      *
      * Returns:
      * {Boolean} Let the event propagate.
      */
-    mousedown: function (evt) {
-        var propagate = true;
-        this.dragging = false;
-        if (this.checkModifiers(evt) && OpenLayers.Event.isLeftClick(evt)) {
-            this.started = true;
-            this.start = evt.xy;
-            this.last = evt.xy;
-            OpenLayers.Element.addClass(
-                this.map.viewPortDiv, "olDragDown"
-            );
-            this.down(evt);
-            this.callback("down", [evt.xy]);
-            OpenLayers.Event.stop(evt);
-            
-            if(!this.oldOnselectstart) {
-                this.oldOnselectstart = (document.onselectstart) ? document.onselectstart : OpenLayers.Function.True;
-            }
-            document.onselectstart = OpenLayers.Function.False;
-            
-            propagate = !this.stopDown;
-        } else {
-            this.started = false;
-            this.start = null;
-            this.last = null;
-        }
-        return propagate;
+    mousedown: function(evt) {
+        return this.dragstart(evt);
     },
 
     /**
+     * Method: touchstart
+     * Handle touchstart events
+     *
+     * Parameters:
+     * evt - {Event}
+     *
+     * Returns:
+     * {Boolean} Let the event propagate.
+     */
+    touchstart: function(evt) {
+        return this.dragstart(evt);
+    },
+
+    /**
      * Method: mousemove
      * Handle mousemove events
      *
      * Parameters:
-     * evt - {Event} 
+     * evt - {Event}
      *
      * Returns:
      * {Boolean} Let the event propagate.
      */
-    mousemove: function (evt) {
-        if (this.started && !this.timeoutId && (evt.xy.x != this.last.x || evt.xy.y != this.last.y)) {
-            if(this.documentDrag === true && this.documentEvents) {
-                if(evt.element === document) {
-                    this.adjustXY(evt);
-                    // do setEvent manually because the documentEvents are not
-                    // registered with the map
-                    this.setEvent(evt);
-                } else {
-                    this.removeDocumentEvents();
-                }
-            }
-            if (this.interval > 0) {
-                this.timeoutId = setTimeout(OpenLayers.Function.bind(this.removeTimeout, this), this.interval);
-            }
-            this.dragging = true;
-            this.move(evt);
-            this.callback("move", [evt.xy]);
-            if(!this.oldOnselectstart) {
-                this.oldOnselectstart = document.onselectstart;
-                document.onselectstart = OpenLayers.Function.False;
-            }
-            this.last = this.evt.xy;
-        }
-        return true;
+    mousemove: function(evt) {
+        return this.dragmove(evt);
     },
-    
+
     /**
+     * Method: touchmove
+     * Handle touchmove events
+     *
+     * Parameters:
+     * evt - {Event}
+     *
+     * Returns:
+     * {Boolean} Let the event propagate.
+     */
+    touchmove: function(evt) {
+        return this.dragmove(evt);
+    },
+
+    /**
      * Method: removeTimeout
      * Private. Called by mousemove() to remove the drag timeout.
      */
@@ -275,39 +375,38 @@
      * Handle mouseup events
      *
      * Parameters:
-     * evt - {Event} 
+     * evt - {Event}
      *
      * Returns:
      * {Boolean} Let the event propagate.
      */
-    mouseup: function (evt) {
-        if (this.started) {
-            if(this.documentDrag === true && this.documentEvents) {
-                this.adjustXY(evt);
-                this.removeDocumentEvents();
-            }
-            var dragged = (this.start != this.last);
-            this.started = false;
-            this.dragging = false;
-            OpenLayers.Element.removeClass(
-                this.map.viewPortDiv, "olDragDown"
-            );
-            this.up(evt);
-            this.callback("up", [evt.xy]);
-            if(dragged) {
-                this.callback("done", [evt.xy]);
-            }
-            document.onselectstart = this.oldOnselectstart;
-        }
-        return true;
+    mouseup: function(evt) {
+        return this.dragend(evt);
     },
 
     /**
+     * Method: touchend
+     * Handle touchend events
+     *
+     * Parameters:
+     * evt - {Event}
+     *
+     * Returns:
+     * {Boolean} Let the event propagate.
+     */
+    touchend: function(evt) {
+        // override evt.xy with last position since touchend does not have
+        // any touch position
+        evt.xy = this.last;
+        return this.dragend(evt);
+    },
+
+    /**
      * Method: mouseout
      * Handle mouseout events
      *
      * Parameters:
-     * evt - {Event} 
+     * evt - {Event}
      *
      * Returns:
      * {Boolean} Let the event propagate.

Added: sandbox/elemoine/draw-feature/lib/OpenLayers/Kinetic.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Kinetic.js	                        (rev 0)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Kinetic.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,174 @@
+/* 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. */
+
+OpenLayers.Kinetic = OpenLayers.Class({
+
+    /**
+     * Property: threshold
+     * In most cases changing the threshold isn't needed.
+     * In px/ms, default to 0.
+     */
+    threshold: 0,
+
+    /**
+     * Property: interval
+     * {Integer} Interval in milliseconds between 2 steps in the "kinetic
+     *     dragging". Defaults to 10 milliseconds.
+     */
+    interval: 10,
+
+    /**
+     * Property: deceleration
+     * {Float} the deseleration in px/ms², default to 0.0035.
+     */
+    deceleration: 0.0035,
+
+    /**
+     * Property: nbPoints
+     * {Integer} the number of points we use to calculate the kinetic
+     * initial values.
+     */
+    nbPoints: 100,
+
+    /**
+     * Property: delay
+     * {Float} time to consider to calculate the kinetic initial values.
+     * In ms, default to 200.
+     */
+    delay: 200,
+
+    /**
+     * Property: points
+     * List of points use to calculate the kinetic initial values.
+     */
+    points: undefined,
+
+    /**
+     * Property: timerId
+     * ID of the timer.
+     */
+    timerId: undefined,
+
+    /**
+     * Constructor: OpenLayers.Kinetic
+     *
+     * Parameters:
+     * options - {Object}
+     */
+    initialize: function(options) {
+        OpenLayers.Util.extend(this, options);
+    },
+
+    /**
+     * Method: begin
+     *
+     * Begins the dragging.
+     */
+    begin: function() {
+        clearInterval(this.timerId);
+        this.timerId = undefined;
+        this.points = [];
+    },
+
+    /**
+     * Method: update
+     *
+     * Updates during the dragging.
+     */
+    update: function(xy) {
+        this.points.unshift({xy: xy, tick: new Date().getTime()});
+        if (this.points.length > this.nbPoints) {
+            this.points.pop();
+        }
+    },
+
+    /**
+     * Method: end
+     *
+     * Ends the dragging, start the kinetic.
+     */
+    end: function(xy) {
+        var last, now = new Date().getTime();
+        for (var i = 0, l = this.points.length, point; i < l; i++) {
+            point = this.points[i];
+            if (now - point.tick > this.delay) {
+                break;
+            }
+            last = point;
+        }
+        if (!last) {
+            return;
+        }
+        var time = new Date().getTime() - last.tick;
+        var dist = Math.sqrt(Math.pow(xy.x - last.xy.x, 2) +
+                             Math.pow(xy.y - last.xy.y, 2));
+        var speed = dist / time;
+        if (speed == 0 || speed < this.threshold) {
+            return;
+        }
+        var theta = Math.asin((xy.y - last.xy.y) / dist);
+        if (last.xy.x <= xy.x) {
+            theta = Math.PI - theta;
+        }
+        return {speed: speed, theta: theta};
+    },
+
+    /**
+     * Method: move
+     *
+     * Launch the kinetic move pan.
+     *
+     * Parameters:
+     * info - {Object}
+     * callback - arguments x, y (values to pan), end (is the last point)
+     */
+    move: function(info, callback) {
+        var v0 = info.speed;
+        var fx = Math.cos(info.theta);
+        var fy = -Math.sin(info.theta);
+
+        var time = 0;
+        var initialTime = new Date().getTime();
+
+        var lastX = 0;
+        var lastY = 0;
+
+        var timerCallback = function() {
+            if (this.timerId == null) {
+                return;
+            }
+
+            time += this.interval;
+            var realTime = new Date().getTime() - initialTime;
+            var t = (time + realTime) / 2.0;
+
+            var p = (-this.deceleration * Math.pow(t, 2)) / 2.0 + v0 * t;
+            var x = p * fx;
+            var y = p * fy;
+
+            var args = {};
+            args.end = false;
+            var v = -this.deceleration * t + v0;
+
+            if (v <= 0) {
+                clearInterval(this.timerId);
+                this.timerId = null;
+                args.end = true;
+            }
+
+            args.x = x - lastX;
+            args.y = y - lastY;
+            lastX = x;
+            lastY = y;
+            callback(args.x, args.y, args.end);
+        };
+
+        this.timerId = window.setInterval(
+            OpenLayers.Function.bind(timerCallback, this),
+            this.interval);
+    },
+
+    CLASS_NAME: "OpenLayers.Kinetic"
+});

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/Bing.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/Bing.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/Bing.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -79,7 +79,7 @@
         options = OpenLayers.Util.applyDefaults({
             restrictedMinZoom: 1,
             sphericalMercator: true
-        }, options)
+        }, options);
         var name = options.name || "Bing " + (options.type || this.type);
         
         var newArgs = [name, null, options];

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/Grid.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/Grid.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/Grid.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -88,6 +88,19 @@
     numLoadingTiles: 0,
 
     /**
+     * APIProperty: tileLoadingDelay
+     * {Integer} - Number of milliseconds before we shift and load
+     *     tiles. Default is 100.
+     */
+    tileLoadingDelay: 100,
+
+    /**
+     * Property: timerId
+     * {Number} - The id of the tileLoadingDelay timer.
+     */
+    timerId: null,
+
+    /**
      * Constructor: OpenLayers.Layer.Grid
      * Create a new grid layer
      *
@@ -109,6 +122,10 @@
         this.events.addEventType("tileloaded");
 
         this.grid = [];
+        
+        this._moveGriddedTiles = OpenLayers.Function.bind(
+            this.moveGriddedTiles, this
+        );
     },
 
     /**
@@ -217,8 +234,15 @@
                 if (forceReTile || !tilesBounds.containsBounds(bounds, true)) {
                     this.initGriddedTiles(bounds);
                 } else {
-                    //we might have to shift our buffer tiles
-                    this.moveGriddedTiles(bounds);
+                    // we might have to shift our buffer tiles, schedule
+                    // that
+                    if (this.timerId != null) {
+                        window.clearTimeout(this.timerId);
+                    }
+                    this.timerId = window.setTimeout(
+                        this._moveGriddedTiles,
+                        this.tileLoadingDelay
+                    );
                 }
             }
         }
@@ -636,28 +660,29 @@
     
     /**
      * Method: moveGriddedTiles
-     * 
-     * Parameters:
-     * bounds - {<OpenLayers.Bounds>}
      */
-    moveGriddedTiles: function(bounds) {
+    moveGriddedTiles: function() {
+        var shifted = true;
         var buffer = this.buffer || 1;
-        while (true) {
-            var tlLayer = this.grid[0][0].position;
-            var tlViewPort = 
-                this.map.getViewPortPxFromLayerPx(tlLayer);
-            if (tlViewPort.x > -this.tileSize.w * (buffer - 1)) {
-                this.shiftColumn(true);
-            } else if (tlViewPort.x < -this.tileSize.w * buffer) {
-                this.shiftColumn(false);
-            } else if (tlViewPort.y > -this.tileSize.h * (buffer - 1)) {
-                this.shiftRow(true);
-            } else if (tlViewPort.y < -this.tileSize.h * buffer) {
-                this.shiftRow(false);
-            } else {
-                break;
-            }
-        };
+        var tlLayer = this.grid[0][0].position;
+        var tlViewPort = this.map.getViewPortPxFromLayerPx(tlLayer);
+        if (tlViewPort.x > -this.tileSize.w * (buffer - 1)) {
+            this.shiftColumn(true);
+        } else if (tlViewPort.x < -this.tileSize.w * buffer) {
+            this.shiftColumn(false);
+        } else if (tlViewPort.y > -this.tileSize.h * (buffer - 1)) {
+            this.shiftRow(true);
+        } else if (tlViewPort.y < -this.tileSize.h * buffer) {
+            this.shiftRow(false);
+        } else {
+            shifted = false;
+        }
+        if (shifted) {
+            // we may have other row or columns to shift, schedule it
+            // with a setTimeout, to give the user a chance to sneak
+            // in moveTo's
+            this.timerId = window.setTimeout(this._moveGriddedTiles, 0);
+        }
     },
 
     /**

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/Vector.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/Vector.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/Vector.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -779,7 +779,7 @@
         // don't try to draw the feature with the renderer if the layer is not 
         // drawn itself
         if (!this.drawn) {
-            return
+            return;
         }
         if (typeof style != "object") {
             if(!style && feature.state === OpenLayers.State.DELETE) {

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/WMS.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/WMS.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/WMS.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -256,7 +256,7 @@
         var projectionCode = this.projection.equals(mapProjection) ?
             this.projection.getCode() :
             mapProjection.getCode();
-        var value = (projectionCode == "none") ? null : projectionCode
+        var value = (projectionCode == "none") ? null : projectionCode;
         if (parseFloat(this.params.VERSION) >= 1.3) {
             this.params.CRS = value;
         } else {

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/Zoomify.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/Zoomify.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Layer/Zoomify.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -105,7 +105,7 @@
      */
     initializeZoomify: function( size ) {
 
-        var imageSize = size.clone()
+        var imageSize = size.clone();
         var tiles = new OpenLayers.Size(
             Math.ceil( imageSize.w / this.standardTileSize ),
             Math.ceil( imageSize.h / this.standardTileSize )
@@ -151,9 +151,9 @@
         OpenLayers.Layer.Grid.prototype.destroy.apply(this, arguments);
 
         // Remove from memory the Zoomify pyramid - is that enough?
-        this.tileCountUpToTier.length = 0
-        this.tierSizeInTiles.length = 0
-        this.tierImageSize.length = 0
+        this.tileCountUpToTier.length = 0;
+        this.tierSizeInTiles.length = 0;
+        this.tierImageSize.length = 0;
 
     },
 

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Map.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Map.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Map.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1018,7 +1018,7 @@
         this.resetLayersZIndex();
 
         this.events.triggerEvent("removelayer", {layer: layer});
-        layer.events.triggerEvent("removed", {map: this, layer: layer})
+        layer.events.triggerEvent("removed", {map: this, layer: layer});
     },
 
     /**

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Renderer/VML.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Renderer/VML.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Renderer/VML.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -765,7 +765,7 @@
                 x = (comp.x / resolution - this.offset.x) | 0;
                 y = (comp.y / resolution - this.offset.y) | 0;
                 pathComp = " " + x + "," + y;
-                path.push(pathComp)
+                path.push(pathComp);
                 if (i==0) {
                     path.push(" l");
                 }

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Tile/Image/IFrame.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Tile/Image/IFrame.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Tile/Image/IFrame.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -42,7 +42,7 @@
                 delete iFrame;
             }
         } else {
-            OpenLayers.Tile.Image.prototype.clear.apply(this, arguments)
+            OpenLayers.Tile.Image.prototype.clear.apply(this, arguments);
         }
     },
 
@@ -221,4 +221,5 @@
 
         return form;
     }
-}
+};
+

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers/Util.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers/Util.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers/Util.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1038,7 +1038,7 @@
             }
             
             // follow OGC convention of comma delimited values
-            value = value.split(",")
+            value = value.split(",");
 
             //if there's only one value, do not return as array                    
             if (value.length == 1) {
@@ -1839,7 +1839,7 @@
     if (!dmsOption) {
         dmsOption = 'dms';    //default to show degree, minutes, seconds
     }
-    var abscoordinate = Math.abs(coordinate)
+    var abscoordinate = Math.abs(coordinate);
     var coordinatedegrees = Math.floor(abscoordinate);
 
     var coordinateminutes = (abscoordinate - coordinatedegrees)/(1/60);

Modified: sandbox/elemoine/draw-feature/lib/OpenLayers.js
===================================================================
--- sandbox/elemoine/draw-feature/lib/OpenLayers.js	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/lib/OpenLayers.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -105,6 +105,7 @@
                 "OpenLayers/BaseTypes/Size.js",
                 "OpenLayers/Console.js",
                 "OpenLayers/Tween.js",
+                "OpenLayers/Kinetic.js",
                 "Rico/Corner.js",
                 "Rico/Color.js",
                 "OpenLayers/Ajax.js",
@@ -180,6 +181,7 @@
                 "OpenLayers/Control/ZoomToMaxExtent.js",
                 "OpenLayers/Control/DragPan.js",
                 "OpenLayers/Control/Navigation.js",
+                "OpenLayers/Control/TouchNavigation.js",
                 "OpenLayers/Control/MouseDefaults.js",
                 "OpenLayers/Control/MousePosition.js",
                 "OpenLayers/Control/OverviewMap.js",
@@ -329,6 +331,7 @@
                 "OpenLayers/Control/ZoomOut.js",
                 "OpenLayers/Control/ZoomPanel.js",
                 "OpenLayers/Control/EditingToolbar.js",
+                "OpenLayers/Control/Geolocate.js",
                 "OpenLayers/Symbolizer.js",
                 "OpenLayers/Symbolizer/Point.js",
                 "OpenLayers/Symbolizer/Line.js",

Modified: sandbox/elemoine/draw-feature/tests/Ajax.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Ajax.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Ajax.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_Ajax_loadUrl(t) {

Modified: sandbox/elemoine/draw-feature/tests/BaseTypes/Bounds.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/BaseTypes/Bounds.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/BaseTypes/Bounds.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var bounds; 
     function test_Bounds_constructor (t) {

Modified: sandbox/elemoine/draw-feature/tests/BaseTypes/Class.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/BaseTypes/Class.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/BaseTypes/Class.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     // remove this next line at 3.0
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);

Modified: sandbox/elemoine/draw-feature/tests/BaseTypes/Element.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/BaseTypes/Element.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/BaseTypes/Element.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,7 +1,7 @@
 <html>
   <head>
   
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
 
     <script type="text/javascript">
 

Modified: sandbox/elemoine/draw-feature/tests/BaseTypes/LonLat.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/BaseTypes/LonLat.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/BaseTypes/LonLat.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     var lonlat; 

Modified: sandbox/elemoine/draw-feature/tests/BaseTypes/Pixel.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/BaseTypes/Pixel.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/BaseTypes/Pixel.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var pixel; 
     

Modified: sandbox/elemoine/draw-feature/tests/BaseTypes/Size.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/BaseTypes/Size.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/BaseTypes/Size.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var Size; 
     

Modified: sandbox/elemoine/draw-feature/tests/BaseTypes.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/BaseTypes.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/BaseTypes.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_String_startsWith(t) {
@@ -298,6 +298,13 @@
         //run again to make sure the arguments are handled correctly
         newFoo(g_Arg3, g_Arg4);
     }
+    
+    function test_Function_Void(t) {
+        
+        t.plan(1);
+        t.eq(OpenLayers.Function.Void(), undefined, "returns undefined");
+        
+    }
 
     function test_Function_bindAsEventListener(t) {
         t.plan(4);

Modified: sandbox/elemoine/draw-feature/tests/Console.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Console.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Console.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
     function test_Console(t) {
         

Added: sandbox/elemoine/draw-feature/tests/Control/ArgParser.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/ArgParser.html	                        (rev 0)
+++ sandbox/elemoine/draw-feature/tests/Control/ArgParser.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,26 @@
+<html>
+<head>
+  <script src="../OLLoader.js"></script>
+  <script type="text/javascript">
+      function test_getParameters(t) {
+          t.plan(4);
+
+          var c = new OpenLayers.Control.ArgParser(), p;
+
+          p = c.getParameters('http://example.com?fook=foov&bark=barv');
+          t.eq(p, {fook: 'foov', bark: 'barv'}, 'a) params are correct');
+
+          p = c.getParameters('http://example.com#fook=foov&bark=barv');
+          t.eq(p, {fook: 'foov', bark: 'barv'}, 'b) params are correct');
+
+          p = c.getParameters('http://example.com?a=b&b=c#fook=foov&bark=barv');
+          t.eq(p, {a: 'b', b: 'c', fook: 'foov', bark: 'barv'},
+               'c) params are correct');
+
+          p = c.getParameters('http://example.com?a=b&b=c&fook=a&bark=b#fook=foov&bark=barv');
+          t.eq(p, {a: 'b', b: 'c', fook: 'foov', bark: 'barv'},
+               'd) params are correct');
+        }
+    </script>
+</head>
+</html>

Modified: sandbox/elemoine/draw-feature/tests/Control/Attribution.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/Attribution.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/Attribution.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var map; 
     function test_Control_Attribution_constructor (t) {

Modified: sandbox/elemoine/draw-feature/tests/Control/Button.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/Button.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/Button.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
       function test_Control_Button_constructor (t) {
           t.plan( 2 );

Modified: sandbox/elemoine/draw-feature/tests/Control/DragFeature.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/DragFeature.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/DragFeature.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
     function test_Control_DragFeature_constructor(t) {
         t.plan(3);

Modified: sandbox/elemoine/draw-feature/tests/Control/DragPan.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/DragPan.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/DragPan.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var map, control, layer; 
 

Modified: sandbox/elemoine/draw-feature/tests/Control/DrawFeature.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/DrawFeature.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/DrawFeature.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
 
     function test_initialize(t) {

Added: sandbox/elemoine/draw-feature/tests/Control/Geolocate.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/Geolocate.html	                        (rev 0)
+++ sandbox/elemoine/draw-feature/tests/Control/Geolocate.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,105 @@
+<html>
+<head>
+  <script src="../../lib/OpenLayers.js"></script>
+  <script type="text/javascript">
+    var map, control, centerLL
+        watch = null,
+        geolocation= {
+            getCurrentPosition: function(f) {
+                f({
+                    coords: { latitude: 10, longitude: 10 }
+                });
+            },
+            watchPosition: function(f) {
+                watch = true;
+            },
+            clearWatch: function() {
+                watch = null;
+            }
+        };
+
+    function test_initialize(t) {
+        t.plan(3);
+        control = new OpenLayers.Control.Geolocate({geolocationOptions: {foo: 'bar'}});
+        t.ok(control instanceof OpenLayers.Control.Geolocate,
+             "new OpenLayers.Control returns object" );
+        t.eq(control.displayClass, "olControlGeolocate", "displayClass is correct" );
+        t.eq(control.geolocationOptions.foo, 'bar',
+             'provided geolocation options are set in the geolocationOptions prop');
+    }
+    function test_bind(t) {
+        t.plan(3);
+        var control = new OpenLayers.Control.Geolocate({
+            geolocation: geolocation
+        });
+        control.events.register('locationupdated', null, function() {
+            t.ok(true, 'locationupdated event is fired when bound');
+        });
+        map.addControl(control);
+        control.activate();
+        var center = map.getCenter();
+        t.eq(center.lon, 10, 'bound control sets the map lon');
+        t.eq(center.lat, 10, 'bound control sets the map lat');
+        control.deactivate();
+        map.removeControl(control);
+        map.setCenter(centerLL);
+    }
+    function test_unbind(t) {
+        t.plan(3);
+        var control = new OpenLayers.Control.Geolocate({
+            geolocation: geolocation,
+            bind: false
+        });
+        control.events.register('locationupdated', null, function() {
+            t.ok(true, 'locationupdated event is fired when unbound');
+        });
+        map.addControl(control);
+        control.activate();
+        var center = map.getCenter();
+        t.eq(center.lon, 0, 'unbound control doesnt sets the map lon');
+        t.eq(center.lat, 0, 'unbound control doesnt sets the map lat');
+        control.deactivate();
+        map.removeControl(control);
+        map.setCenter(centerLL);
+    }
+    function test_watch(t) {
+        t.plan(2);
+        var control = new OpenLayers.Control.Geolocate({
+            geolocation: geolocation,
+            watch: true
+        });
+        map.addControl(control);
+        control.activate();
+        t.eq(watch, true, 'watch option makes calls to watchPosition');
+        control.deactivate();
+        t.eq(watch, null, 'deactivate control calls the clearwatch');
+        map.removeControl(control);
+        map.setCenter(centerLL);
+    }
+    function test_uncapable(t) {
+        t.plan(1);
+        var control = new OpenLayers.Control.Geolocate({
+            geolocation: null,
+            bind: false
+        });
+        control.events.register('locationuncapable', null, function() {
+            t.ok(true,'uncapable browser fired locationuncapable event');
+        });
+        map.addControl(control);
+        control.activate();
+    }
+    function loader() {
+        map = new OpenLayers.Map('map');
+        var layer = new OpenLayers.Layer.WMS("Test Layer",
+            "http://labs.metacarta.com/wms-c/Basic.py?",
+            {layers: "basic"});
+        map.addLayer(layer);
+        centerLL = new OpenLayers.LonLat(0,0);
+        map.setCenter(centerLL, 5);
+    }
+  </script>
+</head>
+<body onload="loader()">
+    <div id="map" style="width: 256px; height: 256px;"/>
+</body>
+</html>

Modified: sandbox/elemoine/draw-feature/tests/Control/GetFeature.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/GetFeature.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/GetFeature.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
     function test_Control_GetFeature_constructor(t) {
         t.plan(3);

Modified: sandbox/elemoine/draw-feature/tests/Control/Graticule.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/Graticule.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/Graticule.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script src="http://proj4js.org/lib/proj4js-compressed.js"></script>
     <script type="text/javascript">
 

Modified: sandbox/elemoine/draw-feature/tests/Control/KeyboardDefaults.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/KeyboardDefaults.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/KeyboardDefaults.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var map; 
     function test_Control_KeyboardDefaults_constructor (t) {

Modified: sandbox/elemoine/draw-feature/tests/Control/LayerSwitcher.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/LayerSwitcher.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/LayerSwitcher.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var map; 
 

Modified: sandbox/elemoine/draw-feature/tests/Control/Measure.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/Measure.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/Measure.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_initialze(t) {

Modified: sandbox/elemoine/draw-feature/tests/Control/ModifyFeature.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/ModifyFeature.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/ModifyFeature.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
     
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Control/MousePosition.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/MousePosition.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/MousePosition.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var map, control; 
     function test_initialize (t) {

Modified: sandbox/elemoine/draw-feature/tests/Control/MouseToolbar.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/MouseToolbar.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/MouseToolbar.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var map; 
     function test_Control_MouseToolbar_constructor (t) {

Modified: sandbox/elemoine/draw-feature/tests/Control/NavToolbar.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/NavToolbar.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/NavToolbar.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var map; 
     function test_Control_NavToolbar_constructor (t) {

Modified: sandbox/elemoine/draw-feature/tests/Control/Navigation.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/Navigation.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/Navigation.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_Control_Navigation_constructor (t) {

Modified: sandbox/elemoine/draw-feature/tests/Control/NavigationHistory.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/NavigationHistory.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/NavigationHistory.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Control/OverviewMap.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/OverviewMap.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/OverviewMap.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var map, control;
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Control/PanPanel.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/PanPanel.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/PanPanel.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     function test_constructor (t) {
         t.plan(2);

Modified: sandbox/elemoine/draw-feature/tests/Control/PanZoom.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/PanZoom.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/PanZoom.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var map; 
     function test_Control_PanZoom_constructor (t) {

Modified: sandbox/elemoine/draw-feature/tests/Control/PanZoomBar.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/PanZoomBar.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/PanZoomBar.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var map;
     function test_Control_PanZoomBar_constructor (t) {
@@ -44,7 +44,7 @@
         control = new OpenLayers.Control.PanZoomBar();
         map.addControl(control);
         control.removeButtons();
-        control._removeZoomBar();
+        map.destroy();
         t.eq(control.div.childNodes.length, 0, "control's div cleared.");
         t.eq(control.zoombarDiv, null, "zoombar div nullified.")
     }
@@ -67,20 +67,104 @@
 
     }
 
-    function test_Control_PanZoomBar_forceFixedZoomLevel_divClick (t) {
+    function test_Control_PanZoomBar_forceFixedZoomLevel_divClick(t){
         t.plan(1);
-        map = new OpenLayers.Map('map', {controls:[], fractionalZoom: true});
-        var layer = new OpenLayers.Layer.WMS("Test Layer",
-            "http://octo.metacarta.com/cgi-bin/mapserv?",
-            {map: "/mapdata/vmap_wms.map", layers: "basic"});
+        map = new OpenLayers.Map('map', {
+            controls: [],
+            fractionalZoom: true
+        });
+        var layer = new OpenLayers.Layer.WMS("Test Layer", "http://octo.metacarta.com/cgi-bin/mapserv?", {
+            map: "/mapdata/vmap_wms.map",
+            layers: "basic"
+        });
         map.addLayer(layer);
-        control = new OpenLayers.Control.PanZoomBar({forceFixedZoomLevel: true});
+        control = new OpenLayers.Control.PanZoomBar({
+            forceFixedZoomLevel: true
+        });
         map.addControl(control);
-
-        control.divClick({'xy': {'x': 0, 'y': 49}, which: 1});
-        t.eq(map.zoom, 11, "forceFixedZoomLevel makes sure only fixed zoom levels are used even if the map has fractionalZoom");
+        
+        control.divClick({
+            'xy': {
+                'x': 0,
+                'y': 49
+            },
+            which: 1
+        });
+        t.eq(map.zoom, 11, "forceFixedZoomLevel makes sure that after a div click only fixed zoom levels are used even if the map has fractionalZoom");
+    }     
+         
+    function test_Control_PanZoomBar_forceFixedZoomLevel_zoomBarUp (t) {     
+        var numRandomDrags = 25;
+        // plan one static recorded test and two for every random drag
+        t.plan(1 + (numRandomDrags * 2));
+        
+        
+        var map = new OpenLayers.Map('map', {
+            controls: [],
+            fractionalZoom: true
+        });
+        var layer = new OpenLayers.Layer.WMS("Test Layer", "http://octo.metacarta.com/cgi-bin/mapserv?", {
+            map: "/mapdata/vmap_wms.map",
+            layers: "basic"
+        });
+        map.addLayer(layer);
+        
+        // zoom to a fractional ZoomLevel initially:
+        map.setCenter(new OpenLayers.LonLat(0, 0), 9.545);
+        
+        control = new OpenLayers.Control.PanZoomBar({
+            forceFixedZoomLevel: true
+        });
+        map.addControl(control);
+        
+        // The y values come from manually recording real values in an example
+        var evt = {
+            'xy': {
+                'x': 0,
+                'y': -10.633
+            },
+            which: 1
+        };
+        control.zoomStart = {
+            'x': 0,
+            'y': 5.366
+        };
+        control.mouseDragStart = {
+            'x': 0,
+            'y': -10.633
+        };
+        control.deltaY = control.zoomStart.y - evt.xy.y
+        control.zoomBarUp(evt);
+        t.eq(map.zoom, 11, "forceFixedZoomLevel makes sure that after dragging of the handle only fixed zoom levels are used even if the map has fractionalZoom");
+        
+        // randomly drag the handle around
+        // we should never get a zoom < 0 or a non-integer zoom, regardless of
+        // captured random values for start and end of the drag.
+        for (var i = 0; i < numRandomDrags; i++) {
+            var randStartY = Math.random() * 10 * ((i % 2 === 0) ? -1 : 1);
+            var randStopY = Math.random() * 160 * ((i % 2 === 1) ? -1 : 1);
+            var evt = {
+                'xy': {
+                    'x': 0,
+                    'y': randStopY
+                },
+                which: 1
+            };
+            control.zoomStart = {
+                'x': 0,
+                'y': randStartY
+            };
+            control.mouseDragStart = {
+                'x': 0,
+                'y': randStopY
+            };
+            control.deltaY = control.zoomStart.y - evt.xy.y
+            control.zoomBarUp(evt);
+            
+            t.eq(Math.floor(map.zoom), Math.ceil(map.zoom), 'Only integer zooms after random handle drag with forceFixedZoomLevel=true and fractionalZoom=true (current zoom was ' + map.zoom + ')');
+            t.ok(map.zoom >= 0, 'map.zoom is never < 0 after random handle drag with forceFixedZoomLevel=true and fractionalZoom=true');
+        }
     }
-
   </script>
 </head>
 <body>

Modified: sandbox/elemoine/draw-feature/tests/Control/Panel.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/Panel.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/Panel.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     function test_Control_Panel_constructor (t) {
         t.plan( 2 );

Modified: sandbox/elemoine/draw-feature/tests/Control/Permalink.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/Permalink.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/Permalink.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,14 +1,70 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var map; 
     function test_Control_Permalink_constructor (t) {
-        t.plan( 2 );
+        t.plan(42);
     
         control = new OpenLayers.Control.Permalink();
-        t.ok( control instanceof OpenLayers.Control.Permalink, "new OpenLayers.Control returns object" );
-        t.eq( control.displayClass,  "olControlPermalink", "displayClass is correct" );
+        t.ok(control instanceof OpenLayers.Control.Permalink, "new OpenLayers.Control returns object");
+        t.eq(control.displayClass, "olControlPermalink", "displayClass is correct");
+        t.eq(control.base, document.location.href, "base is correct");
+        t.ok(!control.anchor, "anchor is correct");
+
+        control = new OpenLayers.Control.Permalink('permalink', 'test.html');
+        t.ok(control instanceof OpenLayers.Control.Permalink, "new OpenLayers.Control returns object");
+        t.eq(control.displayClass, "olControlPermalink", "displayClass is correct");
+        t.eq(control.base, 'test.html', "base is correct");
+        t.ok(OpenLayers.Util.isElement(control.element), "element is a dom object");
+        t.ok(!control.anchor, "anchor is correct");
+
+        control = new OpenLayers.Control.Permalink('permalink');
+        t.ok(control instanceof OpenLayers.Control.Permalink, "new OpenLayers.Control returns object");
+        t.eq(control.displayClass, "olControlPermalink", "displayClass is correct");
+        t.eq(control.base, document.location.href, "base is correct");
+        t.ok(OpenLayers.Util.isElement(control.element), "element is a dom object");
+        t.ok(!control.anchor, "anchor is correct");
+
+        control = new OpenLayers.Control.Permalink(OpenLayers.Util.getElement('permalink'));
+        t.ok(control instanceof OpenLayers.Control.Permalink, "new OpenLayers.Control returns object");
+        t.eq(control.displayClass, "olControlPermalink", "displayClass is correct");
+        t.eq(control.base, document.location.href, "base is correct");
+        t.ok(OpenLayers.Util.isElement(control.element), "element is a dom object");
+        t.ok(!control.anchor, "anchor is correct");
+
+        control = new OpenLayers.Control.Permalink({anchor: true});
+        t.ok(control instanceof OpenLayers.Control.Permalink, "new OpenLayers.Control returns object");
+        t.eq(control.displayClass, "olControlPermalink", "displayClass is correct");
+        t.eq(control.base, document.location.href, "base is correct");
+        t.ok(control.element == null, "element is null");
+        t.ok(control.anchor, "anchor is correct");
+
+        control = new OpenLayers.Control.Permalink({anchor: false});
+        t.ok(control instanceof OpenLayers.Control.Permalink, "new OpenLayers.Control returns object");
+        t.eq(control.displayClass, "olControlPermalink", "displayClass is correct");
+        t.eq(control.base, document.location.href, "base is correct");
+        t.ok(!control.anchor, "anchor is correct");
+
+        control = new OpenLayers.Control.Permalink({});
+        t.ok(control instanceof OpenLayers.Control.Permalink, "new OpenLayers.Control returns object");
+        t.eq(control.displayClass, "olControlPermalink", "displayClass is correct");
+        t.eq(control.base, document.location.href, "base is correct");
+        t.ok(!control.anchor, "anchor is correct");
+
+        control = new OpenLayers.Control.Permalink({element: 'permalink', base: 'test.html'});
+        t.ok(control instanceof OpenLayers.Control.Permalink, "new OpenLayers.Control returns object");
+        t.eq(control.displayClass, "olControlPermalink", "displayClass is correct");
+        t.eq(control.base, 'test.html', "base is correct");
+        t.ok(OpenLayers.Util.isElement(control.element), "element is a dom object");
+        t.ok(!control.anchor, "anchor is correct");
+
+        control = new OpenLayers.Control.Permalink({element: 'permalink', base: 'test.html', anchor: true});
+        t.ok(control instanceof OpenLayers.Control.Permalink, "new OpenLayers.Control returns object");
+        t.eq(control.displayClass, "olControlPermalink", "displayClass is correct");
+        t.eq(control.base, 'test.html', "base is correct");
+        t.ok(OpenLayers.Util.isElement(control.element), "element is a dom object");
+        t.ok(control.anchor, "anchor is correct");
     }
     function test_Control_Permalink_uncentered (t) {
         t.plan( 1 );
@@ -226,7 +282,45 @@
         OpenLayers.Util.getParameters = old_getParameters;
         OpenLayers.Projection.transform = old_transform;
     }
+    function test_Control_Permalink_Anchor (t) {
+        t.plan(3);
     
+        control = new OpenLayers.Control.Permalink({anchor: true});
+        t.ok( control instanceof OpenLayers.Control.Permalink, "new OpenLayers.Control returns object" );
+        map = new OpenLayers.Map('map');
+        layer = new OpenLayers.Layer.WMS('Test Layer', "http://octo.metacarta.com/cgi-bin/mapserv", {map: '/mapdata/vmap_wms.map', layers: 'basic', format: 'image/jpeg'});
+        map.addLayer(layer);
+        layer = new OpenLayers.Layer.WMS('Test Layer', "http://octo.metacarta.com/cgi-bin/mapserv", {map: '/mapdata/vmap_wms.map', layers: 'basic', format: 'image/jpeg'}, {'isBaseLayer': false});
+        map.addLayer(layer);
+        layer.setVisibility(true);
+        if (!map.getCenter())  map.zoomToMaxExtent();
+        map.addControl(control);
+        map.pan(5, 0, {animate:false});
+        t.ok(OpenLayers.Util.isEquivalentUrl(OpenLayers.Util.getParameterString(control.createParams()), "zoom=2&lat=0&lon=1.75781&layers=BT"), 'pan sets permalink');
+        
+        map.layers[1].setVisibility(false);
+        t.ok(OpenLayers.Util.isEquivalentUrl(OpenLayers.Util.getParameterString(control.createParams()), "zoom=2&lat=0&lon=1.75781&layers=BF"), 'setVisibility sets permalink');
+    }
+    
+    function test_Control_Permalink_AnchorBaseElement (t) {
+        t.plan(3);
+    
+        control = new OpenLayers.Control.Permalink('permalink', document.location.href, {anchor: true});
+        t.ok( control instanceof OpenLayers.Control.Permalink, "new OpenLayers.Control returns object" );
+        map = new OpenLayers.Map('map');
+        layer = new OpenLayers.Layer.WMS('Test Layer', "http://octo.metacarta.com/cgi-bin/mapserv", {map: '/mapdata/vmap_wms.map', layers: 'basic', format: 'image/jpeg'});
+        map.addLayer(layer);
+        layer = new OpenLayers.Layer.WMS('Test Layer', "http://octo.metacarta.com/cgi-bin/mapserv", {map: '/mapdata/vmap_wms.map', layers: 'basic', format: 'image/jpeg'}, {'isBaseLayer': false});
+        map.addLayer(layer);
+        layer.setVisibility(true);
+        if (!map.getCenter())  map.zoomToMaxExtent();
+        map.addControl(control);
+        map.pan(5, 0, {animate:false});
+        t.ok(OpenLayers.Util.isEquivalentUrl(OpenLayers.Util.getElement('permalink').href, location+"#zoom=2&lat=0&lon=1.75781&layers=BT"), 'pan sets permalink');
+        
+        map.layers[1].setVisibility(false);
+        t.ok(OpenLayers.Util.isEquivalentUrl(OpenLayers.Util.getElement('permalink').href, location+"#zoom=2&lat=0&lon=1.75781&layers=BF"), 'setVisibility sets permalink');
+    }
   </script>
 </head>
 <body>

Modified: sandbox/elemoine/draw-feature/tests/Control/SLDSelect.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/SLDSelect.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/SLDSelect.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Control/Scale.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/Scale.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/Scale.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var map; 
     function test_Control_Scale_constructor (t) {

Modified: sandbox/elemoine/draw-feature/tests/Control/ScaleLine.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/ScaleLine.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/ScaleLine.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -3,7 +3,7 @@
     <script type="text/javascript">var oldAlert = window.alert, gMess; window.alert = function(message) {gMess = message; return true;};</script>
     <!-- this gmaps key generated for http://openlayers.org/dev/ -->
     <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAA9XNhd8q0UdwNC7YSO4YZghSPUCi5aRYVveCcVYxzezM4iaj_gxQ9t-UajFL70jfcpquH5l1IJ-Zyyw'></script>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
   var validkey = (window.location.protocol == "file:") ||
                  (window.location.host == "localhost") ||

Modified: sandbox/elemoine/draw-feature/tests/Control/SelectFeature.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/SelectFeature.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/SelectFeature.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
     function test_Control_SelectFeature_constructor(t) {
         t.plan(5);

Modified: sandbox/elemoine/draw-feature/tests/Control/Snapping.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/Snapping.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/Snapping.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Control/Split.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/Split.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/Split.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_initialize(t) {

Added: sandbox/elemoine/draw-feature/tests/Control/TouchNavigation.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/TouchNavigation.html	                        (rev 0)
+++ sandbox/elemoine/draw-feature/tests/Control/TouchNavigation.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,131 @@
+<html>
+<head>
+  <script src="../OLLoader.js"></script>
+  <script type="text/javascript">
+
+    function test_Control_TouchNavigation_constructor (t) {
+        t.plan( 2 );
+        var options = {bar: "foo"};
+        var temp = OpenLayers.Control.prototype.initialize;
+        OpenLayers.Control.prototype.initialize = function(opt) {
+            t.eq(opt, options,
+                 "constructor calls parent with the correct options");
+        };
+
+        var control = new OpenLayers.Control.TouchNavigation(options);
+        t.ok(control instanceof OpenLayers.Control.TouchNavigation,
+            "new OpenLayers.Control returns object");
+
+        OpenLayers.Control.prototype.initialize = temp;
+    }
+
+    function test_Control_TouchNavigation_destroy(t) {
+        t.plan(6);
+
+        var control = {
+            events: {
+                destroy: function() {
+                    t.ok(true, "events destroyed");
+                }
+            },
+            deactivate: function() {
+                t.ok(true, "navigation control deactivated before being destroyed");
+            },
+            dragPan: {
+                destroy: function() {
+                    t.ok(true, "dragPan destroyed");
+                }
+            },
+            handlers: {
+                click: {
+                    destroy: function() {
+                        t.ok(true, "clickHandler destroyed");
+                    }
+                }
+            }
+        };
+
+        //this will also trigger one test by calling OpenLayers.Control's destroy
+        // and three more for the destruction of dragPan, zoomBox, and wheelHandler
+        OpenLayers.Control.TouchNavigation.prototype.destroy.apply(control, []);
+
+        t.eq(control.dragPan, null, "'dragPan' set to null");
+        t.eq(control.handlers, null, "handlers set to null");
+    }
+
+    function test_documentDrag(t) {
+
+        t.plan(2);
+
+        /**
+         * These tests confirm that the documentDrag property is false by
+         * default and is passed on to the DragPan control.  Tests of panning
+         * while dragging outside the viewport should go in the DragPan tests.
+         * Tests of the document events and appropriate callbacks from the
+         * handler should go in the Drag handler tests.
+         */
+
+         var nav = new OpenLayers.Control.TouchNavigation();
+         t.eq(nav.documentDrag, false, "documentDrag false by default");
+
+         var map = new OpenLayers.Map({
+             div: document.body,
+             controls: [new OpenLayers.Control.TouchNavigation({documentDrag: true})]
+         });
+         nav = map.controls[0];
+
+         t.eq(nav.dragPan.documentDrag, true, "documentDrag set on the DragPan control");
+         map.destroy();
+
+    }
+
+    function test_dragPanOptions(t) {
+
+        t.plan(2);
+
+         var nav = new OpenLayers.Control.TouchNavigation();
+         t.eq(nav.dragPanOptions, null, "dragPanOptions null by default");
+
+         var map = new OpenLayers.Map({
+             div: document.body,
+             controls: [
+                 new OpenLayers.Control.TouchNavigation({
+                     dragPanOptions: {foo: 'bar'}
+                 })
+             ]
+         });
+         nav = map.controls[0];
+
+         t.eq(nav.dragPan.foo, 'bar',
+            "foo property is set on the DragPan control");
+         map.destroy();
+
+    }
+
+    function test_zoomOut(t) {
+        t.plan(1);
+
+        var map = new OpenLayers.Map(document.body);
+        var layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
+                    "http://labs.metacarta.com/wms/vmap0",
+                    {layers: 'basic'} );
+        map.addLayer(layer);
+        map.setCenter(new OpenLayers.LonLat(0, 0), 5);
+        var control = new OpenLayers.Control.TouchNavigation();
+        map.addControl(control);
+        var handler = control.handlers.click;
+        handler.touchstart({xy: {x: 1, y: 1}, touches: ["foo", "bar"]});
+        handler.touchend({});
+        t.delay_call(1, function() {
+            t.eq(map.getZoom(), 4, "Did we zoom out?");
+            // tear down
+            map.destroy();
+        });
+
+    }
+
+  </script>
+</head>
+<body>
+</body>
+</html>

Modified: sandbox/elemoine/draw-feature/tests/Control/TransformFeature.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/TransformFeature.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/TransformFeature.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Control/WMSGetFeatureInfo.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/WMSGetFeatureInfo.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/WMSGetFeatureInfo.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Control/WMTSGetFeatureInfo.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control/WMTSGetFeatureInfo.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control/WMTSGetFeatureInfo.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Control.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Control.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Control.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
     function test_Control_constructor(t) {
         t.plan(4);

Modified: sandbox/elemoine/draw-feature/tests/Events.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Events.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Events.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var map; 
@@ -305,9 +305,23 @@
         events.unregister("something", instance, listener1);
         events.unregister("something", instance, listener2);
         events.unregister("something", instance, listener3);
-        
     }
 
+    function test_Events_handleBrowserEvent(t) {
+        t.plan(2);
+        var events = new OpenLayers.Events({}, null, ['sometouchevent']);
+        events.on({'sometouchevent': function() {}});
+
+        // this test verifies that when handling a touch event we correctly
+        // set clientX and clientY in the event object 
+        var evt = {type: 'sometouchevent',
+                   touches: [{clientX: 1, clientY: 1}, {clientX: 2, clientY: 2}]
+                  };
+        events.handleBrowserEvent(evt);
+        t.eq(evt.clientX, 1, "evt.clientX value is correct");
+        t.eq(evt.clientY, 1, "evt.clientY value is correct");
+    }
+
     function test_Events_destroy (t) {
         t.plan(2);
 

Modified: sandbox/elemoine/draw-feature/tests/Extras.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Extras.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Extras.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
 
     var map;

Modified: sandbox/elemoine/draw-feature/tests/Feature/Vector.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Feature/Vector.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Feature/Vector.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var map; 
     var feature; 

Modified: sandbox/elemoine/draw-feature/tests/Feature.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Feature.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Feature.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var map; 

Modified: sandbox/elemoine/draw-feature/tests/Filter/Comparison.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Filter/Comparison.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Filter/Comparison.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_initialize(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Filter/FeatureId.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Filter/FeatureId.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Filter/FeatureId.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_initialize(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Filter/Logical.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Filter/Logical.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Filter/Logical.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_initialize(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Filter/Spatial.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Filter/Spatial.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Filter/Spatial.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_constructor(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Filter.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Filter.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Filter.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../lib/OpenLayers.js"></script> 
+    <script src="OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_initialize(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Format/ArcXML/Features.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/ArcXML/Features.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/ArcXML/Features.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script type="text/javascript">
     
     var axl_feature_response = '<?xml version="1.0" encoding="Cp1252"?><ARCXML version="1.1"><RESPONSE><FEATURES><FEATURE><FIELDS><FIELD name="UNIQUE_ID" value="514504b5-0458-461d-b540-8e18a454f619" /><FIELD name="LABEL" value="LIBRARY" /><FIELD name="Y_COORD" value="39.57" /><FIELD name="X_COORD" value="-104.24" /><FIELD name="#SHAPE#" value="[Geometry]" /><FIELD name="OBJECTID" value="1" /><FIELD name="shape.area" value="0" /><FIELD name="shape.len" value="0" /></FIELDS></FEATURE><FEATURE><FIELDS><FIELD name="UNIQUE_ID" value="514504b5-0458-461d-b540-8e81a454f619" /><FIELD name="LABEL" value="LIBRARY2" /><FIELD name="Y_COORD" value="39.75" /><FIELD name="X_COORD" value="-104.42" /><FIELD name="#SHAPE#" value="[Geometry]" /><FIELD name="OBJECTID" value="2" /><FIELD name="shape.area" value="0" /><FIELD name="shape.len" value="0" /></FIELDS></FEATURE><FEATURECOUNT count="2" hasmore="false" /><ENVELOPE minx="-678853.220047791" miny="1810.22081371862" maxx="-678853.220047791" m
 axy="1810.22081371862"/></FEATURES></RESPONSE></ARCXML>';

Modified: sandbox/elemoine/draw-feature/tests/Format/ArcXML.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/ArcXML.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/ArcXML.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
 
     var axl_image_response = '<?xml version="1.0" encoding="UTF-8"?><ARCXML version="1.1"><RESPONSE><IMAGE><ENVELOPE minx="-2471.42857142857" miny="0" maxx="105671.428571429" maxy="75700" /><OUTPUT url="http://localhost/output/364826560.png" /></IMAGE></RESPONSE></ARCXML>';

Modified: sandbox/elemoine/draw-feature/tests/Format/Atom.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/Atom.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/Atom.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_constructor(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Format/CQL.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/CQL.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/CQL.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
     <head>
-        <script src="../../lib/OpenLayers.js"></script>
+        <script src="../OLLoader.js"></script>
 
         <script type="text/javascript">
 

Modified: sandbox/elemoine/draw-feature/tests/Format/CSWGetDomain/v2_0_2.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/CSWGetDomain/v2_0_2.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/CSWGetDomain/v2_0_2.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script src="v2_0_2.js"></script>
     <script type="text/javascript">
 

Modified: sandbox/elemoine/draw-feature/tests/Format/CSWGetDomain.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/CSWGetDomain.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/CSWGetDomain.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/CSWGetRecords/v2_0_2.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/CSWGetRecords/v2_0_2.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/CSWGetRecords/v2_0_2.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script src="v2_0_2.js"></script>
     <script type="text/javascript">
 

Modified: sandbox/elemoine/draw-feature/tests/Format/CSWGetRecords.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/CSWGetRecords.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/CSWGetRecords.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/Filter/v1.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/Filter/v1.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/Filter/v1.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script type="text/javascript">
     
     function test_PropertyIsBetween(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/Filter/v1_0_0.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/Filter/v1_0_0.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/Filter/v1_0_0.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script type="text/javascript">
     
     var test_xml =

Modified: sandbox/elemoine/draw-feature/tests/Format/Filter/v1_1_0.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/Filter/v1_1_0.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/Filter/v1_1_0.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script type="text/javascript">
     
     var test_xml =

Modified: sandbox/elemoine/draw-feature/tests/Format/Filter.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/Filter.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/Filter.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_initialize(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Format/GML/v2.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/GML/v2.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/GML/v2.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <html xmlns="http://www.w3.org/1999/xhtml"> 
 <head> 
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script src="cases.js"></script>
     <script type="text/javascript">
 

Modified: sandbox/elemoine/draw-feature/tests/Format/GML/v3.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/GML/v3.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/GML/v3.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script src="cases.js"></script>
     <script type="text/javascript">
 

Modified: sandbox/elemoine/draw-feature/tests/Format/GML.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/GML.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/GML.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_Format_GML_constructor(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Format/GPX.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/GPX.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/GPX.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
     
     var gpx_data = '<?xml version="1.0" encoding="ISO-8859-1"?><gpx version="1.1" creator="Memory-Map 5.1.3.715 http://www.memory-map.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.topografix.com/GPX/1/1" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"><wpt lat="51.3697845627" lon="-0.1853562259"><name>Mark</name><sym><![CDATA[Flag]]></sym><type><![CDATA[Marks]]></type></wpt><rte><name><![CDATA[Route8]]></name><type><![CDATA[Route]]></type><rtept lat="51.3761803674" lon="-0.1829991904"><name><![CDATA[WP0801]]></name><sym><![CDATA[Dot]]></sym><type><![CDATA[Waypoints]]></type></rtept><rtept lat="51.3697894659" lon="-0.1758887005"><name><![CDATA[WP0802]]></name><sym><![CDATA[Dot]]></sym><type><![CDATA[Waypoints]]></type></rtept><rtept lat="51.3639790884" lon="-0.1833202965"><name><![CDATA[WP0803]]></name><sym><![CDATA[Dot]]></sym><type><![CDATA[Waypoints]]></type></rtept><rtept lat="51.3567607069" l
 on="-0.1751119509"><name><![CDATA[WP0804]]></name><sym><![CDATA[Dot]]></sym><type><![CDATA[Waypoints]]></type></rtept></rte><trk><name><![CDATA[Track]]></name><type><![CDATA[Track]]></type><trkseg><trkpt lat="51.3768216433" lon="-0.1721292044"></trkpt><trkpt lat="51.3708337670" lon="-0.1649230916"></trkpt><trkpt lat="51.3644368725" lon="-0.1736741378"></trkpt><trkpt lat="51.3576354272" lon="-0.1662595250"></trkpt></trkseg></trk></gpx>';

Modified: sandbox/elemoine/draw-feature/tests/Format/GeoJSON.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/GeoJSON.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/GeoJSON.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     var poly_content = '{"type": "FeatureCollection", "features": [{"geometry": {"type": "Polygon", "coordinates": [[[-131.484375, -5.9765625], [-112.5, -58.0078125], [-32.34375, -50.2734375], [-114.609375, 52.3828125], [-167.34375, -35.5078125], [-146.953125, -57.3046875], [-139.921875, -34.1015625], [-131.484375, -5.9765625]]]}, "type": "Feature", "id": 562, "properties": {"strokeColor": "red", "title": "Feature 2", "author": "Your Name Here"}}]}'; 

Modified: sandbox/elemoine/draw-feature/tests/Format/GeoRSS.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/GeoRSS.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/GeoRSS.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_Format_GeoRSS_constructor(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Format/JSON.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/JSON.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/JSON.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_Format_JSON_constructor(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Format/KML.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/KML.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/KML.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     var test_content = '<kml xmlns="http://earth.google.com/kml/2.0"><Folder><name>OpenLayers export</name><description>Vector geometries from OpenLayers</description><Placemark id="KML.Polygon"><name>OpenLayers.Feature.Vector_344</name><description>A KLM Polygon</description><Polygon><outerBoundaryIs><LinearRing><coordinates>5.001370157823406,49.26855713824488 8.214706453896161,49.630662409673505 8.397385910100951,48.45172350357396 5.001370157823406,49.26855713824488</coordinates></LinearRing></outerBoundaryIs></Polygon></Placemark><Placemark id="KML.LineString"><name>OpenLayers.Feature.Vector_402</name><description>A KML LineString</description><LineString><coordinates>5.838523393080493,49.74814616928052 5.787079558782349,48.410795432216574 8.91427702008381,49.28932499608202</coordinates></LineString></Placemark><Placemark id="KML.Point"><name>OpenLayers.Feature.Vector_451</name><description>A KML Point</description><Point><coordinates>6.985073041685488,49.8682250149058</c
 oordinates></Point></Placemark><Placemark id="KML.MultiGeometry"><name>SF Marina Harbor Master</name><description>KML MultiGeometry</description><MultiGeometry><LineString><coordinates>-122.4425587930444,37.80666418607323 -122.4428379594768,37.80663578323093</coordinates></LineString><LineString><coordinates>-122.4425509770566,37.80662588061205 -122.4428340530617,37.8065999493009</coordinates></LineString></MultiGeometry></Placemark></Folder></kml>';

Modified: sandbox/elemoine/draw-feature/tests/Format/OSM.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/OSM.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/OSM.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script src="../data/osm.js"></script> 
     <script type="text/javascript">
     

Modified: sandbox/elemoine/draw-feature/tests/Format/OWSContext/v0_3_1.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/OWSContext/v0_3_1.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/OWSContext/v0_3_1.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script type="text/javascript">
 
     function test_read_wmswfs(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/SLD/v1_0_0.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/SLD/v1_0_0.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/SLD/v1_0_0.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script type="text/javascript">
 
     var xml = new OpenLayers.Format.XML(); 

Modified: sandbox/elemoine/draw-feature/tests/Format/SLD.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/SLD.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/SLD.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     var test_content = '<sld:StyledLayerDescriptor xmlns:sld="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml"><sld:NamedLayer><sld:Name>TestLayer</sld:Name><sld:UserStyle><sld:Name>foo</sld:Name><sld:FeatureTypeStyle><sld:Rule><sld:Name>bar</sld:Name><ogc:Filter></ogc:Filter><sld:PolygonSymbolizer><sld:Fill><sld:CssParameter name="fill"><ogc:Literal>blue</ogc:Literal></sld:CssParameter></sld:Fill></sld:PolygonSymbolizer></sld:Rule></sld:FeatureTypeStyle></sld:UserStyle></sld:NamedLayer></sld:StyledLayerDescriptor>';

Modified: sandbox/elemoine/draw-feature/tests/Format/SOSCapabilities/v1_0_0.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/SOSCapabilities/v1_0_0.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/SOSCapabilities/v1_0_0.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script src="v1_0_0.js"></script>
     <script type="text/javascript">
 

Modified: sandbox/elemoine/draw-feature/tests/Format/SOSGetFeatureOfInterest.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/SOSGetFeatureOfInterest.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/SOSGetFeatureOfInterest.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
 
     function test_read_SOSGetFeatureOfInterest_single(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/SOSGetObservation.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/SOSGetObservation.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/SOSGetObservation.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
 
     function test_read_SOSGetObservation(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/Text.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/Text.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/Text.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
     function test_basic(t) {
         t.plan(5);
@@ -8,7 +8,7 @@
         var features = format.read(OpenLayers.Util.getElement("content").value);
         t.eq(features[0].style.externalGraphic, format.defaultStyle.externalGraphic, "style is set to defaults if no style props set in text file");
         var features = format.read(OpenLayers.Util.getElement("contentMarker").value);
-        t.eq(features[0].style.externalGraphic, "../../img/marker.png", "marker set correctly by default.");
+        t.eq(features[0].style.externalGraphic, OpenLayers.Util.getImagesLocation() + "marker.png", "marker set correctly by default.");
         
         var features = format.read(OpenLayers.Util.getElement("content2").value);
         t.eq(features.length, 2, "two features read");

Modified: sandbox/elemoine/draw-feature/tests/Format/WFS.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WFS.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WFS.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script>  
     function test_wfs_update_node(t) {
         t.plan(2);

Modified: sandbox/elemoine/draw-feature/tests/Format/WFSCapabilities/v1.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WFSCapabilities/v1.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WFSCapabilities/v1.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script type="text/javascript">
     
     function test_read(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/WFSCapabilities.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WFSCapabilities.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WFSCapabilities.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
     
     function test_read(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/WFSDescribeFeatureType.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WFSDescribeFeatureType.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WFSDescribeFeatureType.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
     
     function test_read_WFSDescribeFeatureType(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/WFST/v1.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WFST/v1.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WFST/v1.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../../lib/OpenLayers.js"></script>
+  <script src="../../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_read(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/WFST/v1_0_0.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WFST/v1_0_0.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WFST/v1_0_0.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../../lib/OpenLayers.js"></script>
+  <script src="../../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/WFST/v1_1_0.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WFST/v1_1_0.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WFST/v1_1_0.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../../lib/OpenLayers.js"></script>
+  <script src="../../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/WFST.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WFST.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WFST.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/WKT.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WKT.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WKT.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
      
     var points = []; 

Modified: sandbox/elemoine/draw-feature/tests/Format/WMC/v1.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WMC/v1.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WMC/v1.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script type="text/javascript">
     
     function test_write_wmc_StyleList(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/WMC/v1_1_0.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WMC/v1_1_0.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WMC/v1_1_0.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script type="text/javascript">
 
     function test_write_wmc_Layer(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/WMC.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WMC.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WMC.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     var v1_0_0 = '<ViewContext xmlns="http://www.opengis.net/context" version="1.0.0" id="OpenLayers_Context_233" xsi:schemaLocation="http://www.opengis.net/context http://schemas.opengis.net/context/1.0.0/context.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><General><Window width="512" height="256"/><BoundingBox minx="-109.9709708" miny="27.01451459" maxx="-80.02902918" maxy="41.98548541" SRS="EPSG:4326"/><Title/><Extension><ol:maxExtent xmlns:ol="http://openlayers.org/context" minx="-130.0000000" miny="14.00000000" maxx="-60.00000000" maxy="55.00000000"/></Extension></General><LayerList><Layer queryable="1" hidden="0"><Server service="OGC:WMS" version="1.1.1"><OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://t1.hypercube.telascience.org/cgi-bin/landsat7"/></Server><Name>landsat7</Name><Title>NASA Global Mosaic</Title><FormatList><Format current="1">image/jpeg</Format></FormatList><StyleList><Style current="1"><N
 ame/><Title>Default</Title></Style></StyleList><Extension><ol:maxExtent xmlns:ol="http://openlayers.org/context" minx="-130.0000000" miny="14.00000000" maxx="-60.00000000" maxy="55.00000000"/><ol:numZoomLevels xmlns:ol="http://openlayers.org/context">4</ol:numZoomLevels><ol:units xmlns:ol="http://openlayers.org/context">degrees</ol:units><ol:isBaseLayer xmlns:ol="http://openlayers.org/context">true</ol:isBaseLayer><ol:displayInLayerSwitcher xmlns:ol="http://openlayers.org/context">true</ol:displayInLayerSwitcher><ol:singleTile xmlns:ol="http://openlayers.org/context">false</ol:singleTile><ol:tileSize xmlns:ol="http://openlayers.org/context" width="512" height="1024"/></Extension></Layer><Layer queryable="1" hidden="1"><Server service="OGC:WMS" version="1.1.1"><OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://labs.metacarta.com/wms/vmap0"/></Server><Name>basic</Name><Title>OpenLayers WMS</Title><FormatList><Format current="1">im
 age/jpeg</Format></FormatList><StyleList><Style current="1"><Name/><Title>Default</Title></Style></StyleList><Extension><ol:maxExtent xmlns:ol="http://openlayers.org/context" minx="-130.0000000" miny="14.00000000" maxx="-60.00000000" maxy="55.00000000"/><ol:numZoomLevels xmlns:ol="http://openlayers.org/context">4</ol:numZoomLevels><ol:units xmlns:ol="http://openlayers.org/context">degrees</ol:units><ol:isBaseLayer xmlns:ol="http://openlayers.org/context">true</ol:isBaseLayer><ol:displayInLayerSwitcher xmlns:ol="http://openlayers.org/context">true</ol:displayInLayerSwitcher><ol:singleTile xmlns:ol="http://openlayers.org/context">false</ol:singleTile></Extension></Layer><Layer queryable="1" hidden="0"><Server service="OGC:WMS" version="1.1.1"><OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://lioapp.lrc.gov.on.ca/cubeserv/cubeserv.pl"/></Server><Name>na_road:CCRS</Name><Title>Transportation Network</Title><FormatList><Format curre
 nt="1">image/png</Format></FormatList><StyleList><Style current="1"><Name/><Title>Default</Title></Style></StyleList><Extension><ol:maxExtent xmlns:ol="http://openlayers.org/context" minx="-166.5320000" miny="4.050460000" maxx="-0.2068180000" maxy="70.28700000"/><ol:transparent xmlns:ol="http://openlayers.org/context">TRUE</ol:transparent><ol:numZoomLevels xmlns:ol="http://openlayers.org/context">4</ol:numZoomLevels><ol:units xmlns:ol="http://openlayers.org/context">degrees</ol:units><ol:isBaseLayer xmlns:ol="http://openlayers.org/context">false</ol:isBaseLayer><ol:opacity xmlns:ol="http://openlayers.org/context">0.6</ol:opacity><ol:displayInLayerSwitcher xmlns:ol="http://openlayers.org/context">false</ol:displayInLayerSwitcher><ol:singleTile xmlns:ol="http://openlayers.org/context">false</ol:singleTile></Extension></Layer><Layer queryable="1" hidden="0"><Server service="OGC:WMS" version="1.1.1"><OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" x
 link:href="http://columbo.nrlssc.navy.mil/ogcwms/servlet/WMSServlet/AccuWeather_Maps.wms"/></Server><Name>3:1</Name><Title>Radar 3:1</Title><FormatList><Format current="1">image/png</Format></FormatList><StyleList><Style current="1"><Name/><Title>Default</Title></Style></StyleList><Extension><ol:maxExtent xmlns:ol="http://openlayers.org/context" minx="-131.0294952" miny="14.56289673" maxx="-61.02950287" maxy="54.56289673"/><ol:transparent xmlns:ol="http://openlayers.org/context">TRUE</ol:transparent><ol:numZoomLevels xmlns:ol="http://openlayers.org/context">4</ol:numZoomLevels><ol:units xmlns:ol="http://openlayers.org/context">degrees</ol:units><ol:isBaseLayer xmlns:ol="http://openlayers.org/context">false</ol:isBaseLayer><ol:opacity xmlns:ol="http://openlayers.org/context">0.8</ol:opacity><ol:displayInLayerSwitcher xmlns:ol="http://openlayers.org/context">false</ol:displayInLayerSwitcher><ol:singleTile xmlns:ol="http://openlayers.org/context">true</ol:singleTile></Extension
 ></Layer></LayerList></ViewContext>';

Modified: sandbox/elemoine/draw-feature/tests/Format/WMSCapabilities/v1_1_1.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WMSCapabilities/v1_1_1.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WMSCapabilities/v1_1_1.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script type="text/javascript">
     
     function test_read(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/WMSCapabilities/v1_1_1_WMSC.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WMSCapabilities/v1_1_1_WMSC.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WMSCapabilities/v1_1_1_WMSC.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script type="text/javascript">
     
     function test_read(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/WMSCapabilities/v1_3_0.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WMSCapabilities/v1_3_0.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WMSCapabilities/v1_3_0.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script type="text/javascript">
 
     function test_layers(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/WMSCapabilities.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WMSCapabilities.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WMSCapabilities.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
     
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/WMSDescribeLayer.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WMSDescribeLayer.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WMSDescribeLayer.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
     
     function test_read_WMSDescribeLayer(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/WMSGetFeatureInfo.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WMSGetFeatureInfo.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WMSGetFeatureInfo.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
     
     function test_read_FeatureInfoResponse(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/WMTSCapabilities/v1_0_0.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WMTSCapabilities/v1_0_0.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WMTSCapabilities/v1_0_0.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script type="text/javascript">
 
         function test_ows(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/WMTSCapabilities.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/WMTSCapabilities.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/WMTSCapabilities.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
     
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Format/XML.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format/XML.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format/XML.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     var text =

Modified: sandbox/elemoine/draw-feature/tests/Format.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Format.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Format.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_Format_constructor(t) {

Modified: sandbox/elemoine/draw-feature/tests/Geometry/Collection.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Geometry/Collection.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Geometry/Collection.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var coll;
         

Modified: sandbox/elemoine/draw-feature/tests/Geometry/Curve.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Geometry/Curve.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Geometry/Curve.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var curve;
     var components = [new OpenLayers.Geometry.Point(10,10), 

Modified: sandbox/elemoine/draw-feature/tests/Geometry/LineString.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Geometry/LineString.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Geometry/LineString.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var line;
     var components = [new OpenLayers.Geometry.Point(10,15), 

Modified: sandbox/elemoine/draw-feature/tests/Geometry/LinearRing.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Geometry/LinearRing.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Geometry/LinearRing.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var line;
     var components = [new OpenLayers.Geometry.Point(10,10), 

Modified: sandbox/elemoine/draw-feature/tests/Geometry/MultiLineString.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Geometry/MultiLineString.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Geometry/MultiLineString.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var line;
         

Modified: sandbox/elemoine/draw-feature/tests/Geometry/MultiPoint.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Geometry/MultiPoint.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Geometry/MultiPoint.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var point = new OpenLayers.Geometry.Point(10, 15);
      

Modified: sandbox/elemoine/draw-feature/tests/Geometry/MultiPolygon.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Geometry/MultiPolygon.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Geometry/MultiPolygon.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var polygon;
     var components = [new OpenLayers.Geometry.Point(10,10), new OpenLayers.Geometry.Point(0,0)];

Modified: sandbox/elemoine/draw-feature/tests/Geometry/Point.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Geometry/Point.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Geometry/Point.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var point; 
         

Modified: sandbox/elemoine/draw-feature/tests/Geometry/Polygon.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Geometry/Polygon.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Geometry/Polygon.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var polygon;
     var components = [new OpenLayers.Geometry.Point(10,14), new OpenLayers.Geometry.Point(5,3)];

Modified: sandbox/elemoine/draw-feature/tests/Geometry/Rectangle.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Geometry/Rectangle.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Geometry/Rectangle.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_Rectangle_constructor (t) {

Modified: sandbox/elemoine/draw-feature/tests/Geometry/Surface.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Geometry/Surface.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Geometry/Surface.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_Surface_constructor (t) {

Modified: sandbox/elemoine/draw-feature/tests/Geometry.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Geometry.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Geometry.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script src="data/geos_wkt_intersects.js"></script>
   <script type="text/javascript">
     var map; 

Modified: sandbox/elemoine/draw-feature/tests/Handler/Box.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Handler/Box.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Handler/Box.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     function test_Handler_Box_destroy(t) {
         t.plan(1);

Modified: sandbox/elemoine/draw-feature/tests/Handler/Click.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Handler/Click.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Handler/Click.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     function test_Handler_Click_constructor(t) {
         t.plan(3);
@@ -43,7 +43,7 @@
     }
     
     function test_Handler_Click_events(t) {
-        t.plan(50);
+        t.plan(80);
         
         var map = new OpenLayers.Map('map');
         var control = {
@@ -72,7 +72,7 @@
 
         // list below events that should be handled (events) and those
         // that should not be handled (nonevents) by the handler
-        var events = ["click", "dblclick", "mousedown", "mouseup", "rightclick"];
+        var events = ["click", "dblclick", "mousedown", "mouseup", "rightclick", "touchstart", "touchmove", "touchend"];
         var nonevents = ["mousemove", "resize", "focus", "blur"];
         var handler = new OpenLayers.Handler.Click(control);
         // set browser event like properties on the handler
@@ -82,7 +82,7 @@
         handler.activate();
 
         // different listeners registered for pixelTolerance option
-        var events = ["click", "dblclick", "mousedown", "mouseup", "rightclick"];
+        var events = ["click", "dblclick", "mousedown", "mouseup", "rightclick", "touchstart", "touchmove", "touchend"];
         var nonevents = ["mousemove", "resize", "focus", "blur"];
         var handler = new OpenLayers.Handler.Click(control, {}, {
             pixelTolerance: 2
@@ -290,7 +290,127 @@
         OpenLayers.Event.isRightClick = temp;
     }
 
+    function test_touch_click(t) {
+        t.plan(4);
 
+        // set up
+
+        var log;
+
+        var map = new OpenLayers.Map('map');
+        var control = {map: map};
+
+        var callbacks = {
+            'click': function(e) {
+                log = {x: e.xy.x, y: e.xy.y,
+                       lastTouches: e.lastTouches};
+            }
+        };
+
+        var handler = new OpenLayers.Handler.Click(
+                control, callbacks,
+                {'single': true, pixelTolerance: null});
+
+        // test
+
+        log = null;
+        handler.touchstart({xy: {x: 1, y: 1}, touches: ["foo"]});
+        handler.touchend({});
+
+        t.delay_call(1, function() {
+            t.ok(log != null, "click callback called");
+            if(log != null) {
+                t.eq(log.x, 1, "evt.xy.x as expected");
+                t.eq(log.y, 1, "evt.xy.y as expected");
+                t.eq(log.lastTouches, ["foo"], "evt.lastTouches as expected");
+            }
+            // tear down
+            map.destroy();
+        });
+    }
+
+    function test_touch_ignoresimulatedclick(t) {
+        t.plan(2);
+
+        // set up
+
+        var log;
+
+        var map = new OpenLayers.Map('map');
+        var control = {map: map};
+
+        var callbacks = {
+            'dblclick': function(e) {
+                log.dblclick = {x: e.xy.x, y: e.xy.y,
+                   lastTouches: e.lastTouches};
+            }
+        };
+
+        var handler = new OpenLayers.Handler.Click(
+                control, callbacks,
+                {'double': true, pixelTolerance: null});
+
+        // test
+
+        log = {};
+        handler.touchstart({xy: {x: 1, y: 1}, touches: ["foo"]});
+        handler.touchend({});
+        handler.touchstart({xy: {x: 1, y: 1}, touches: ["foo"]});
+        handler.touchend({type: "click"});
+
+        t.eq(handler.touch, true, "Touch property should be true");
+        
+        t.ok(log.dblclick == undefined, "dblclick callback not called with simulated click");
+
+        // tear down
+        map.destroy();
+    }
+
+    function test_touch_dblclick(t) {
+        t.plan(5);
+
+        // set up
+
+        var log;
+
+        var map = new OpenLayers.Map('map');
+        var control = {map: map};
+
+        var callbacks = {
+            'click': function(e) {
+                log.click = {x: e.xy.x, y: e.xy.y,
+                   lastTouches: e.lastTouches};
+            },
+            'dblclick': function(e) {
+                log.dblclick = {x: e.xy.x, y: e.xy.y,
+                   lastTouches: e.lastTouches};
+            }
+        };
+
+        var handler = new OpenLayers.Handler.Click(
+                control, callbacks,
+                {'double': true, pixelTolerance: null});
+
+        // test
+
+        log = {};
+        handler.touchstart({xy: {x: 1, y: 1}, touches: ["foo"]});
+        handler.touchend({});
+        handler.touchstart({xy: {x: 1, y: 1}, touches: ["foo"]});
+        handler.touchend({});
+
+        t.eq(log.click, undefined, "click callback not called");
+        t.ok(log.dblclick != undefined, "dblclick callback called");
+        if(log.dblclick != undefined) {
+            t.eq(log.dblclick.x, 1, "evt.xy.x as expected");
+            t.eq(log.dblclick.y, 1, "evt.xy.y as expected");
+            t.eq(log.dblclick.lastTouches, ["foo"], "evt.lastTouches as expected");
+        }
+
+        // tear down
+        map.destroy();
+    }
+
   </script>
 </head>
 <body>

Modified: sandbox/elemoine/draw-feature/tests/Handler/Drag.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Handler/Drag.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Handler/Drag.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     function test_Handler_Drag_constructor(t) {
         t.plan(3);
@@ -45,7 +45,7 @@
     }
     
     function test_Handler_Drag_events(t) {
-        t.plan(25);
+        t.plan(40);
         
         var map = new OpenLayers.Map('map');
         var control = new OpenLayers.Control();
@@ -54,7 +54,8 @@
 
         // list below events that should be handled (events) and those
         // that should not be handled (nonevents) by the handler
-        var events = ["mousedown", "mouseup", "mousemove", "mouseout", "click"];
+        var events = ["mousedown", "mouseup", "mousemove", "mouseout", "click",
+                      "touchstart", "touchmove", "touchend"];
         var nonevents = ["dblclick", "resize", "focus", "blur"];
         map.events.registerPriority = function(type, obj, func) {
             var r = func();
@@ -288,6 +289,57 @@
         
     }
 
+    function test_Handler_Drag_touch(t) {
+        // In this test we verify that "touchstart", "touchmove", and
+        // "touchend" events set expected states in the drag handler.
+        // We also verify that we stop event bubbling as appropriate.
+
+        t.plan(12);
+
+        // set up
+
+        var m = new OpenLayers.Map('map', {controls: []});
+        var c = new OpenLayers.Control();
+        m.addControl(c);
+        var h = new OpenLayers.Handler.Drag(c, {
+            done: function(px) { log = px; }});
+        h.activate();
+
+        var _stop = OpenLayers.Event.stop;
+        OpenLayers.Event.stop = function(e) { log = e; };
+
+        var Px = OpenLayers.Pixel, e, log;
+
+        // test
+
+        e = {touches: [{}], xy: new Px(0, 0)};
+        m.events.triggerEvent('touchstart', e);
+        t.eq(h.started, true, '[touchstart] started is set');
+        t.eq(h.start.x, 0, '[touchstart] start.x is correct');
+        t.eq(h.start.y, 0, '[touchstart] start.y is correct');
+        t.eq(log, undefined, '[touchstart] event is not stopped');
+
+        e = {xy: new Px(1, 1)};
+        m.events.triggerEvent('touchmove', e);
+        t.eq(h.dragging, true, '[touchmove] dragging is set');
+        t.eq(h.last.x, 1, '[touchstart] last.x is correct');
+        t.eq(h.last.y, 1, '[touchstart] last.y is correct');
+        t.ok(log == e, '[touchmove] event is stopped');
+
+        e = {xy: new Px(2, 2)};
+        m.events.triggerEvent('touchend', e);
+        t.eq(h.started, false, '[touchend] started is reset');
+        t.eq(h.started, false, '[touchend] started is reset');
+        // the "done" callback gets the position of the last touchmove
+        t.eq(log.x, 1, '[touchend] done callback got correct x position');
+        t.eq(log.y, 1, '[touchend] done callback got correct y position');
+
+        // tear down
+
+        OpenLayers.Event.stop = _stop;
+        m.destroy();
+    }
+
     function test_Handler_Drag_submethods(t) {
         t.plan(8);
         

Modified: sandbox/elemoine/draw-feature/tests/Handler/Feature.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Handler/Feature.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Handler/Feature.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     function test_initialize(t) {
         t.plan(4);

Modified: sandbox/elemoine/draw-feature/tests/Handler/Hover.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Handler/Hover.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Handler/Hover.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     function test_Handler_Hover_events(t) {
         t.plan(10);

Modified: sandbox/elemoine/draw-feature/tests/Handler/Keyboard.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Handler/Keyboard.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Handler/Keyboard.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     function test_Handler_Keyboard_initialize(t) {
         t.plan(3);

Modified: sandbox/elemoine/draw-feature/tests/Handler/MouseWheel.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Handler/MouseWheel.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Handler/MouseWheel.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     function test_Handler_MouseWheel_constructor(t) {
         t.plan(3);

Modified: sandbox/elemoine/draw-feature/tests/Handler/Path.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Handler/Path.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Handler/Path.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     function test_Handler_Path_constructor(t) {
         t.plan(3);

Modified: sandbox/elemoine/draw-feature/tests/Handler/Point.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Handler/Point.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Handler/Point.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     function test_Handler_Point_constructor(t) {
         t.plan(3);

Modified: sandbox/elemoine/draw-feature/tests/Handler/Polygon.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Handler/Polygon.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Handler/Polygon.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     function test_Handler_Polygon_constructor(t) {
         t.plan(3);

Modified: sandbox/elemoine/draw-feature/tests/Handler/RegularPolygon.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Handler/RegularPolygon.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Handler/RegularPolygon.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     function test_Handler_RegularPolygon_constructor(t) {
         t.plan(3);

Modified: sandbox/elemoine/draw-feature/tests/Handler.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Handler.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Handler.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
     function test_Handler_constructor(t) {
         t.plan(4);

Modified: sandbox/elemoine/draw-feature/tests/Icon.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Icon.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Icon.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
     var icon; 
     

Added: sandbox/elemoine/draw-feature/tests/Kinetic.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Kinetic.html	                        (rev 0)
+++ sandbox/elemoine/draw-feature/tests/Kinetic.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,130 @@
+<html>
+<head>
+  <script src="OLLoader.js"></script>
+  <script type="text/javascript">
+
+    function test_Kinetic (t) {
+        t.plan(17);
+        var finish = false;
+        var results = {
+            110: {x: -2.7, y: -3.6, end: false},
+            120: {x: -2.1, y: -2.8, end: false},
+            130: {x: -1.5, y: -2.0, end: false},
+            140: {x: -0.9, y: -1.2, end: false},
+            150: {x: -0.3, y: -0.4, end: true}
+        };
+
+        var originalGetTime = Date.prototype.getTime;
+        Date.prototype.getTime = function() { return 0 };
+
+        var originalSetInterval = window.setInterval;
+        window.setInterval = function(callback, interval) {
+            while (!finish) {
+                var time = new Date().getTime();
+                Date.prototype.getTime = function() { return time+interval };
+                callback();
+            }
+        };
+
+        var kinetic = new OpenLayers.Kinetic({
+            deceleration: 0.01
+        });
+        kinetic.begin();
+        kinetic.update({x:0, y:0});
+        
+        Date.prototype.getTime = function() { return 100 };
+        var measure = kinetic.end({x:30, y:40});
+
+        t.eq(measure.speed, 0.5, "correct speed");
+        t.eq(measure.theta, Math.PI - Math.atan(40/30), "correct angle");
+
+        // fake timer id    
+        kinetic.timerId = 0;
+        kinetic.move(measure, function(x, y, end) {
+            var result = results[new Date().getTime()];
+            t.eq(Math.round(x * 1000) / 1000, result.x, "correct x");
+            t.eq(Math.round(y * 1000) / 1000, result.y, "correct y");
+            t.eq(end, result.end, "correct end");
+            finish = end;
+        });
+        
+        Date.prototype.getTime = originalGetTime;
+        window.setInterval = originalSetInterval;
+    }
+
+    function test_Angle (t) {
+        t.plan(8);
+        var results = [
+            {speed: 0.5, theta: Math.round((Math.PI - Math.atan(40/30)) * 1000000) / 1000000},
+            {speed: 0.5, theta: Math.round((Math.PI + Math.atan(40/30)) * 1000000) / 1000000},
+            {speed: 0.5, theta: Math.round((- Math.atan(40/30)) * 1000000) / 1000000},
+            {speed: 0.5, theta: Math.round((Math.atan(40/30)) * 1000000) / 1000000}
+        ];
+
+        var originalGetTime = Date.prototype.getTime;
+        Date.prototype.getTime = function() { return 0 };
+
+        var kinetic = new OpenLayers.Kinetic();
+        kinetic.begin();
+        kinetic.update({x:0, y:0});
+        
+        Date.prototype.getTime = function() { return 100 };
+        var measure = kinetic.end({x:30, y:40});
+
+        t.eq(measure.speed, results[0].speed, "correct speed");
+        t.eq(Math.round(measure.theta * 1000000) / 1000000,
+                results[0].theta, "correct angle");
+
+
+        var originalGetTime = Date.prototype.getTime;
+        Date.prototype.getTime = function() { return 0 };
+
+        var kinetic = new OpenLayers.Kinetic();
+        kinetic.begin();
+        kinetic.update({x:0, y:0});
+        
+        Date.prototype.getTime = function() { return 100 };
+        var measure = kinetic.end({x:30, y:-40});
+
+        t.eq(measure.speed, results[1].speed, "correct speed");
+        t.eq(Math.round(measure.theta * 1000000) / 1000000,
+                results[1].theta, "correct angle");
+
+
+        var originalGetTime = Date.prototype.getTime;
+        Date.prototype.getTime = function() { return 0 };
+
+        var kinetic = new OpenLayers.Kinetic();
+        kinetic.begin();
+        kinetic.update({x:0, y:0});
+        
+        Date.prototype.getTime = function() { return 100 };
+        var measure = kinetic.end({x:-30, y:-40});
+
+        t.eq(measure.speed, results[2].speed, "correct speed");
+        t.eq(Math.round(measure.theta * 1000000) / 1000000,
+                results[2].theta, "correct angle");
+
+        var originalGetTime = Date.prototype.getTime;
+        Date.prototype.getTime = function() { return 0 };
+
+        var kinetic = new OpenLayers.Kinetic();
+        kinetic.begin();
+        kinetic.update({x:0, y:0});
+        
+        Date.prototype.getTime = function() { return 100 };
+        var measure = kinetic.end({x:-30, y:40});
+
+        t.eq(measure.speed, results[3].speed, "correct speed");
+        t.eq(Math.round(measure.theta * 1000000) / 1000000,
+                results[3].theta, "correct angle");
+
+        Date.prototype.getTime = originalGetTime;
+    }
+  </script>
+</head>
+<body>
+    <div id="map" style="width: 600px; height: 300px;"/>
+    <div style="display: none;"><div id="invisimap"></div></div>
+</body>
+</html>

Modified: sandbox/elemoine/draw-feature/tests/Lang.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Lang.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Lang.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../lib/OpenLayers.js"></script>
+    <script src="OLLoader.js"></script>
     <script src="../lib/OpenLayers/Lang/en-CA.js" type="text/javascript"></script>
     <script src="../lib/OpenLayers/Lang/fr.js" type="text/javascript"></script>
     <script type="text/javascript">

Modified: sandbox/elemoine/draw-feature/tests/Layer/ArcGIS93Rest.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/ArcGIS93Rest.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/ArcGIS93Rest.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -2,7 +2,7 @@
 <head>
     <script type="text/javascript">var oldAlert = window.alert, gMess; window.alert = function(message) {gMess = message; return true;};</script>
     <script type="text/javascript">window.alert = oldAlert;</script>
-<script src="../../lib/OpenLayers.js"></script>
+<script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var layer; 

Modified: sandbox/elemoine/draw-feature/tests/Layer/ArcIMS.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/ArcIMS.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/ArcIMS.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
   <head>
-    <script type="text/javascript" src="../../lib/OpenLayers.js"></script>
+    <script type="text/javascript" src="../OLLoader.js"></script>
     <script type="text/javascript">
     
       // use an arcims map service against Avencia Inc.'s global sample map services

Modified: sandbox/elemoine/draw-feature/tests/Layer/Bing.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/Bing.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/Bing.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var map, layer; 
 

Modified: sandbox/elemoine/draw-feature/tests/Layer/EventPane.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/EventPane.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/EventPane.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var isOpera = (navigator.userAgent.indexOf("Opera") != -1);

Modified: sandbox/elemoine/draw-feature/tests/Layer/FixedZoomLevels.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/FixedZoomLevels.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/FixedZoomLevels.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var layer; 
 

Modified: sandbox/elemoine/draw-feature/tests/Layer/GML.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/GML.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/GML.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-<script src="../../lib/OpenLayers.js"></script>
+<script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     var name = "GML Layer";

Modified: sandbox/elemoine/draw-feature/tests/Layer/GeoRSS.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/GeoRSS.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/GeoRSS.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var isMSIE    = (navigator.userAgent.indexOf("MSIE") > -1);

Modified: sandbox/elemoine/draw-feature/tests/Layer/Google/v3.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/Google/v3.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/Google/v3.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,7 +1,7 @@
 <html>
 <head>
     <script src="http://maps.google.com/maps/api/js?sensor=false"></script>
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script type="text/javascript">
 
     var layer; 

Modified: sandbox/elemoine/draw-feature/tests/Layer/Google.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/Google.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/Google.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -4,7 +4,7 @@
     <!-- this gmaps key generated for http://openlayers.org/dev/ -->
     <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAA9XNhd8q0UdwNC7YSO4YZghSPUCi5aRYVveCcVYxzezM4iaj_gxQ9t-UajFL70jfcpquH5l1IJ-Zyyw'></script>
     <script type="text/javascript">window.alert = oldAlert;</script>
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
     var layer; 
     var validkey = (window.location.protocol == "file:") ||

Modified: sandbox/elemoine/draw-feature/tests/Layer/Grid.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/Grid.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/Grid.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var layer; 
@@ -169,7 +169,7 @@
     
     function test_Layer_Grid_moveTo(t) {
 
-    t.plan(13);
+    t.plan(14);
 
         var map = new OpenLayers.Map('map');
         layer = new OpenLayers.Layer.WMS(name, url, params);
@@ -193,9 +193,9 @@
             g_WhichFunc = "InitGridded";
             g_Bounds = bounds;
         };
-        layer.moveGriddedTiles = function(bounds) {
+        layer._moveGriddedTiles = function() {
             g_WhichFunc = "MoveGridded";
-            g_Bounds = bounds;
+            g_Bounds = layer.map.getExtent();
         };
         var clearTestBounds = function() {
             g_WhichFunc = null;
@@ -243,14 +243,8 @@
         clearTestBounds();
         layer.singleTile = true;
         layer.moveTo(null, zoomChanged);
-        t.ok(g_Bounds.equals(b), "if layer has grid but zoomChanged is called, initSingleTile called");
-
-
-        layer.getTilesBounds = function() {
-            return tilesBounds;
-        }
+        t.ok(g_Bounds.equals(b), "if layer has grid but zoomChanged is called, initSingleTile called");        
         
-        
 
 //NO FORCE
         zoomChanged = false;
@@ -305,9 +299,13 @@
         //regular move 
         clearTestBounds();
         tilesBounds = new OpenLayers.Bounds(10,10,120,120);
+        g_WhichFunc = null;
         layer.moveTo(null, zoomChanged);
-        t.ok(g_WhichFunc == "MoveGridded", "if tiles not drastically out of bounds, we call moveGriddedTile()");
-        t.ok(g_Bounds.equals(b), "if tiles not drastically out of bounds, we call moveGriddedTile() with correct bounds");
+        t.eq(g_WhichFunc, null, "moveGriddedTiles is delayed - not called yet");
+        t.delay_call(0.2, function() {
+            t.ok(g_WhichFunc == "MoveGridded", "if tiles not drastically out of bounds, we call moveGriddedTile()");
+            t.ok(g_Bounds.equals(b), "if tiles not drastically out of bounds, we call moveGriddedTile() with correct bounds");
+        });
     }
 
     /** THIS WOULD BE WHERE THE TESTS WOULD GO FOR 

Modified: sandbox/elemoine/draw-feature/tests/Layer/HTTPRequest.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/HTTPRequest.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/HTTPRequest.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var layer; 
 

Modified: sandbox/elemoine/draw-feature/tests/Layer/Image.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/Image.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/Image.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var layer; 
 

Modified: sandbox/elemoine/draw-feature/tests/Layer/KaMap.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/KaMap.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/KaMap.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var layer; 

Modified: sandbox/elemoine/draw-feature/tests/Layer/MapGuide.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/MapGuide.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/MapGuide.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -3,7 +3,7 @@
     <script type="text/javascript">var oldAlert = window.alert, gMess; window.alert = function(message) {gMess = message; return true;};</script>
     <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
     <script type="text/javascript">window.alert = oldAlert;</script>
-<script src="../../lib/OpenLayers.js"></script>
+<script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var layer; 

Modified: sandbox/elemoine/draw-feature/tests/Layer/MapServer.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/MapServer.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/MapServer.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -5,7 +5,7 @@
     <script type="text/javascript">window.alert = oldAlert;</script>
     
 
-<script src="../../lib/OpenLayers.js"></script>
+<script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var layer; 

Modified: sandbox/elemoine/draw-feature/tests/Layer/Markers.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/Markers.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/Markers.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var layer; 
 

Modified: sandbox/elemoine/draw-feature/tests/Layer/MultiMap.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/MultiMap.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/MultiMap.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -2,7 +2,7 @@
 <head>
   <!-- multimap api key for http://(www.)openlayers.org -->
   <script type="text/javascript" src="http://developer.multimap.com/API/maps/1.2/OA10072915821139765"></script>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var doTest = true;
     function test_Layer_MultiMap_constructor (t) {

Modified: sandbox/elemoine/draw-feature/tests/Layer/PointTrack.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/PointTrack.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/PointTrack.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-<script src="../../lib/OpenLayers.js"></script>
+<script src="../OLLoader.js"></script>
   <script type="text/javascript">
   
     var name = "PointTrack Layer";

Modified: sandbox/elemoine/draw-feature/tests/Layer/SphericalMercator.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/SphericalMercator.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/SphericalMercator.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
     function test_SphericalMercator_forwardMercator(t) {
         t.plan(12);

Modified: sandbox/elemoine/draw-feature/tests/Layer/TMS.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/TMS.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/TMS.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var layer; 

Modified: sandbox/elemoine/draw-feature/tests/Layer/Text.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/Text.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/Text.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var isMSIE = (navigator.userAgent.indexOf("MSIE") > -1);

Modified: sandbox/elemoine/draw-feature/tests/Layer/TileCache.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/TileCache.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/TileCache.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
 

Modified: sandbox/elemoine/draw-feature/tests/Layer/Vector/RootContainer.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/Vector/RootContainer.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/Vector/RootContainer.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../../lib/OpenLayers.js"></script>
+  <script src="../../OLLoader.js"></script>
   <script type="text/javascript">
     var layer, map; 
 

Modified: sandbox/elemoine/draw-feature/tests/Layer/Vector.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/Vector.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/Vector.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-<script src="../../lib/OpenLayers.js"></script>
+<script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     var name = "Vector Layer";

Modified: sandbox/elemoine/draw-feature/tests/Layer/WFS.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/WFS.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/WFS.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-<script src="../../lib/OpenLayers.js"></script>
+<script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     var name = "Vector Layer";

Modified: sandbox/elemoine/draw-feature/tests/Layer/WMS/Post.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/WMS/Post.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/WMS/Post.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var isOpera   = (navigator.userAgent.indexOf("Opera") != -1);

Modified: sandbox/elemoine/draw-feature/tests/Layer/WMS.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/WMS.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/WMS.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -3,7 +3,7 @@
     <script type="text/javascript">var oldAlert = window.alert, gMess; window.alert = function(message) {gMess = message; return true;};</script>
     <script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>
     <script type="text/javascript">window.alert = oldAlert;</script>
-<script src="../../lib/OpenLayers.js"></script>
+<script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var layer;

Modified: sandbox/elemoine/draw-feature/tests/Layer/WMTS.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/WMTS.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/WMTS.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
     <head>
-        <script src="../../lib/OpenLayers.js"></script>
+        <script src="../OLLoader.js"></script>
         <script type="text/javascript">    
 
             function test_constructor(t) {

Modified: sandbox/elemoine/draw-feature/tests/Layer/WrapDateLine.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/WrapDateLine.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/WrapDateLine.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-<script src="../../lib/OpenLayers.js"></script>
+<script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var layer; 

Modified: sandbox/elemoine/draw-feature/tests/Layer/XYZ.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/XYZ.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/XYZ.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var layer; 
 

Modified: sandbox/elemoine/draw-feature/tests/Layer/Yahoo.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer/Yahoo.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer/Yahoo.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,7 +1,7 @@
 <html>
 <head>
   <script src="http://api.maps.yahoo.com/ajaxymap?v=3.0&appid=euzuro-openlayers"></script>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var layer; 
 

Modified: sandbox/elemoine/draw-feature/tests/Layer.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Layer.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Layer.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
     var layer; 
 

Modified: sandbox/elemoine/draw-feature/tests/Map.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Map.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Map.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
 
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);

Modified: sandbox/elemoine/draw-feature/tests/Marker/Box.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Marker/Box.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Marker/Box.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var box; 
     

Modified: sandbox/elemoine/draw-feature/tests/Marker.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Marker.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Marker.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
 
     var marker;

Added: sandbox/elemoine/draw-feature/tests/OLLoader.js
===================================================================
--- sandbox/elemoine/draw-feature/tests/OLLoader.js	                        (rev 0)
+++ sandbox/elemoine/draw-feature/tests/OLLoader.js	2011-02-23 06:23:40 UTC (rev 11267)
@@ -0,0 +1,26 @@
+// Adding a mode parameter with "build" as value in the run-tests.html will 
+// make usage of the build version of the library.
+// get the OLLoader.js script location
+(function() {
+    var r = new RegExp("(^|(.*?\\/))(" + "OLLoader.js" + ")(\\?|$)"),
+        s = document.getElementsByTagName('script'),
+        src, m, l = "";
+    for(var i=0, len=s.length; i<len; i++) {
+        src = s[i].getAttribute('src');
+        if(src) {
+            var m = src.match(r);
+            if(m) {
+                l = m[1];
+                break;
+            }
+        }
+    }
+
+    var regex = new RegExp( "[\\?&]mode=([^&#]*)" );
+    var href = window.parent.location.href;
+    var results = regex.exec( href );
+    l += (results && results[1] == 'build') ? 
+        "../build/OpenLayers.js" : "../lib/OpenLayers.js"; 
+    scriptTag = "<script src='" + l + "'></script>"; 
+    document.write(scriptTag);
+})();

Modified: sandbox/elemoine/draw-feature/tests/OpenLayers4.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/OpenLayers4.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/OpenLayers4.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,7 +1,7 @@
 <html>
 <head>
     <script type="text/javascript">
-	OpenLayers = {singleFile: true}; // just to make the test run faster
+        OpenLayers = {singleFile: true}; // just to make the test run faster
         document.write('<scr'+'ipt src="../lib/OpenLayers.js"></scr'+'ipt>');
         document.write('<scr'+'ipt src="bogus/foo-/OpenLayers.js"></scr'+'ipt>');
     </script>

Modified: sandbox/elemoine/draw-feature/tests/Popup/Anchored.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Popup/Anchored.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Popup/Anchored.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     var popup;

Modified: sandbox/elemoine/draw-feature/tests/Popup/AnchoredBubble.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Popup/AnchoredBubble.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Popup/AnchoredBubble.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
    function test_Popup_Anchored_setOpacity(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Popup/FramedCloud.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Popup/FramedCloud.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Popup/FramedCloud.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
    function test_Popup_FramedCloud_setHTML(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Popup.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Popup.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Popup.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
 
     var popup;

Modified: sandbox/elemoine/draw-feature/tests/Projection.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Projection.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Projection.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
   <head> 
-    <script src="../lib/OpenLayers.js"></script> 
+    <script src="OLLoader.js"></script> 
     <script type="text/javascript"> 
      function test_Projection_constructor(t) { 
          t.plan(9); 

Modified: sandbox/elemoine/draw-feature/tests/Protocol/HTTP.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Protocol/HTTP.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Protocol/HTTP.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_constructor(t) {

Modified: sandbox/elemoine/draw-feature/tests/Protocol/SOS.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Protocol/SOS.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Protocol/SOS.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_constructor(t) {

Modified: sandbox/elemoine/draw-feature/tests/Protocol/SQL/Gears.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Protocol/SQL/Gears.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Protocol/SQL/Gears.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../../lib/OpenLayers.js"></script>
+  <script src="../../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Protocol/SQL.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Protocol/SQL.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Protocol/SQL.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Protocol/WFS.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Protocol/WFS.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Protocol/WFS.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Protocol.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Protocol.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Protocol.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Renderer/Canvas.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Renderer/Canvas.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Renderer/Canvas.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-<script src="../../lib/OpenLayers.js"></script>
+<script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var supported = OpenLayers.Renderer.Canvas.prototype.supported();
     function test_Renderer_Canvas_constructor(t) {

Modified: sandbox/elemoine/draw-feature/tests/Renderer/Elements.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Renderer/Elements.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Renderer/Elements.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-<script src="../../lib/OpenLayers.js"></script>
+<script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function setUp() {

Modified: sandbox/elemoine/draw-feature/tests/Renderer/SVG.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Renderer/SVG.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Renderer/SVG.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-<script src="../../lib/OpenLayers.js"></script>
+<script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     var geometry = null, node = null;

Modified: sandbox/elemoine/draw-feature/tests/Renderer/VML.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Renderer/VML.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Renderer/VML.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-<script src="../../lib/OpenLayers.js"></script>
+<script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     var geometry = null, node = null;

Modified: sandbox/elemoine/draw-feature/tests/Renderer.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Renderer.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Renderer.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-<script src="../lib/OpenLayers.js"></script>
+<script src="OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_Renderer_constructor(t) {

Modified: sandbox/elemoine/draw-feature/tests/Request/XMLHttpRequest.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Request/XMLHttpRequest.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Request/XMLHttpRequest.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../lib/OpenLayers.js"></script>
+    <script src="../OLLoader.js"></script>
     <script type="text/javascript">
         function test_constructor(t) {
             t.plan(1);

Modified: sandbox/elemoine/draw-feature/tests/Request.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Request.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Request.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../lib/OpenLayers.js"></script>
+    <script src="OLLoader.js"></script>
     <script type="text/javascript">
     function setup() {
         window._xhr = OpenLayers.Request.XMLHttpRequest;

Modified: sandbox/elemoine/draw-feature/tests/Rule.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Rule.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Rule.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../lib/OpenLayers.js"></script> 
+    <script src="OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_Rule_constructor(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Strategy/BBOX.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Strategy/BBOX.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Strategy/BBOX.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Strategy/Cluster.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Strategy/Cluster.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Strategy/Cluster.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_activate(t) {

Modified: sandbox/elemoine/draw-feature/tests/Strategy/Filter.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Strategy/Filter.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Strategy/Filter.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,7 +1,7 @@
 <!DOCTYPE html>
 <html>
 <head>
-<script src="../../lib/OpenLayers.js"></script>
+<script src="../OLLoader.js"></script>
 <script>
 
 var features = [];

Modified: sandbox/elemoine/draw-feature/tests/Strategy/Fixed.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Strategy/Fixed.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Strategy/Fixed.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_activate(t) {

Modified: sandbox/elemoine/draw-feature/tests/Strategy/Paging.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Strategy/Paging.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Strategy/Paging.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_activate(t) {

Modified: sandbox/elemoine/draw-feature/tests/Strategy/Refresh.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Strategy/Refresh.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Strategy/Refresh.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
 
     var interval = 5000;

Modified: sandbox/elemoine/draw-feature/tests/Strategy/Save.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Strategy/Save.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Strategy/Save.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
   
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Strategy.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Strategy.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Strategy.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
 
     function test_initialize(t) {

Modified: sandbox/elemoine/draw-feature/tests/Style.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Style.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Style.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../lib/OpenLayers.js"></script> 
+    <script src="OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_Style_constructor(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Style2.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Style2.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Style2.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../lib/OpenLayers.js"></script> 
+    <script src="OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_constructor(t) { 

Modified: sandbox/elemoine/draw-feature/tests/StyleMap.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/StyleMap.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/StyleMap.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../lib/OpenLayers.js"></script> 
+    <script src="OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_StyleMap_constructor(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Symbolizer/Line.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Symbolizer/Line.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Symbolizer/Line.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_constructor(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Symbolizer/Point.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Symbolizer/Point.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Symbolizer/Point.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_constructor(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Symbolizer/Polygon.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Symbolizer/Polygon.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Symbolizer/Polygon.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_constructor(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Symbolizer/Raster.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Symbolizer/Raster.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Symbolizer/Raster.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_constructor(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Symbolizer/Text.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Symbolizer/Text.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Symbolizer/Text.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../../lib/OpenLayers.js"></script> 
+    <script src="../OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_constructor(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Symbolizer.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Symbolizer.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Symbolizer.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../lib/OpenLayers.js"></script> 
+    <script src="OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_constructor(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Tile/Image/IFrame.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Tile/Image/IFrame.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Tile/Image/IFrame.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-    <script src="../../../lib/OpenLayers.js"></script>
+    <script src="../../OLLoader.js"></script>
     <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var isOpera   = (navigator.userAgent.indexOf("Opera") != -1);

Modified: sandbox/elemoine/draw-feature/tests/Tile/Image.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Tile/Image.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Tile/Image.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var tile; 

Modified: sandbox/elemoine/draw-feature/tests/Tile/WFS.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Tile/WFS.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Tile/WFS.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../../lib/OpenLayers.js"></script>
+  <script src="../OLLoader.js"></script>
   <script type="text/javascript">
     var tile; 
     

Modified: sandbox/elemoine/draw-feature/tests/Tile.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Tile.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Tile.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
     var tile; 
     

Modified: sandbox/elemoine/draw-feature/tests/Tween.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Tween.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Tween.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -1,6 +1,6 @@
 <html> 
 <head> 
-    <script src="../lib/OpenLayers.js"></script> 
+    <script src="OLLoader.js"></script> 
     <script type="text/javascript">
 
     function test_Tween_constructor(t) { 

Modified: sandbox/elemoine/draw-feature/tests/Util.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/Util.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/Util.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -18,7 +18,7 @@
         "OpenLayers/Console.js"
     ];
   </script>
-  <script src="../lib/OpenLayers.js"></script>
+  <script src="OLLoader.js"></script>
   <script type="text/javascript">
     var isMozilla = (navigator.userAgent.indexOf("compatible") == -1);
     var map; 

Modified: sandbox/elemoine/draw-feature/tests/list-tests.html
===================================================================
--- sandbox/elemoine/draw-feature/tests/list-tests.html	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tests/list-tests.html	2011-02-23 06:23:40 UTC (rev 11267)
@@ -10,10 +10,12 @@
     <li>Console.html</li>
     <li>Control.html</li>
     <li>Control/Attribution.html</li>
+    <li>Control/ArgParser.html</li>
     <li>Control/Button.html</li>
     <li>Control/DragFeature.html</li>
     <li>Control/DragPan.html</li>
     <li>Control/DrawFeature.html</li>
+    <li>Control/Geolocate.html</li>
     <li>Control/GetFeature.html</li>
     <li>Control/Graticule.html</li>
     <li>Control/KeyboardDefaults.html</li>
@@ -35,6 +37,7 @@
     <li>Control/SelectFeature.html</li>
     <li>Control/Snapping.html</li>
     <li>Control/Split.html</li>
+    <li>Control/TouchNavigation.html</li>
     <li>Control/TransformFeature.html</li>
     <li>Control/WMSGetFeatureInfo.html</li>
     <li>Control/WMTSGetFeatureInfo.html</li>
@@ -206,5 +209,6 @@
     <li>Tile/Image/IFrame.html</li>
     <li>Tile/WFS.html</li>
     <li>Tween.html</li>
+    <li>Kinetic.html</li>
     <li>Util.html</li>
 </ul>

Modified: sandbox/elemoine/draw-feature/tools/exampleparser.py
===================================================================
--- sandbox/elemoine/draw-feature/tools/exampleparser.py	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tools/exampleparser.py	2011-02-23 06:23:40 UTC (rev 11267)
@@ -20,7 +20,14 @@
 
 missing_deps = False
 try:
-    import simplejson
+    import json
+except ImportError:
+    try:
+        import simplejson as json
+    except ImportError, E:
+        missing_deps = E 
+    
+try:
     from BeautifulSoup import BeautifulSoup
 except ImportError, E:
     missing_deps = E 
@@ -196,7 +203,7 @@
 if __name__ == "__main__":
 
     if missing_deps:
-        print "This script requires simplejson and BeautifulSoup. You don't have them. \n(%s)" % E
+        print "This script requires json or simplejson and BeautifulSoup. You don't have them. \n(%s)" % E
         sys.exit()
     
     if len(sys.argv) > 1:
@@ -237,7 +244,7 @@
     
     index = wordIndex(exampleList)
 
-    json = simplejson.dumps({"examples": exampleList, "index": index})
+    json = json.dumps({"examples": exampleList, "index": index})
     #give the json a global variable we can use in our js.  This should be replaced or made optional.
     json = 'var info=' + json 
     outFile.write(json)

Modified: sandbox/elemoine/draw-feature/tools/update_dev_dir.sh
===================================================================
--- sandbox/elemoine/draw-feature/tools/update_dev_dir.sh	2011-02-22 23:48:01 UTC (rev 11266)
+++ sandbox/elemoine/draw-feature/tools/update_dev_dir.sh	2011-02-23 06:23:40 UTC (rev 11267)
@@ -2,11 +2,9 @@
 
 # Used to update http://openlayers.org/dev/ 
 
-svn revert -R /osgeo/openlayers/docs/dev
-svn up /osgeo/openlayers/docs/dev
 
 # Get current 'Last Changed Rev'
-REV=`svn info /osgeo/openlayers/docs/dev/ | grep 'Revision' | awk '{print $2}'`
+REV=`svn info http://svn.openlayers.org/ | grep 'Revision' | awk '{print $2}'`
 
 # Get the last svn rev
 touch /tmp/ol_svn_rev
@@ -14,11 +12,13 @@
 
 # If they're not equal, do some work.
 if [ ! o$REV = $OLD_REV ]; then
+    svn revert -R /osgeo/openlayers/docs/dev
+    svn up /osgeo/openlayers/docs/dev
 
     cd /osgeo/openlayers/docs/dev/tools/ 
     python exampleparser.py
     cd /osgeo/openlayers/docs/dev/build
-    ./build.py
+    ./build.py tests.cfg
     
     cp OpenLayers.js ..
     cd ..



More information about the Commits mailing list