Changeset 4091
- Timestamp:
- 08/28/07 21:08:18 (1 year ago)
- Files:
-
- sandbox/tschaub/feature/apidoc_config/Menu.txt (modified) (3 diffs)
- sandbox/tschaub/feature/build/license.txt (modified) (1 diff)
- sandbox/tschaub/feature/doc_config/Menu.txt (modified) (3 diffs)
- sandbox/tschaub/feature/examples/geojson.html (copied) (copied from trunk/openlayers/examples/geojson.html)
- sandbox/tschaub/feature/examples/mapserver_untiled.html (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Ajax.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/BaseTypes.js (modified) (3 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/BaseTypes/Bounds.js (modified) (9 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/BaseTypes/Class.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/BaseTypes/Element.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/BaseTypes/LonLat.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/BaseTypes/Pixel.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/BaseTypes/Size.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Console.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/ArgParser.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Control/DragFeature.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/DragPan.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/DrawFeature.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/EditingToolbar.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/KeyboardDefaults.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/LayerSwitcher.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/MouseDefaults.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/MousePosition.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/MouseToolbar.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/NavToolbar.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/Navigation.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/OverviewMap.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Control/PanZoom.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/PanZoomBar.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/Panel.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/Permalink.js (modified) (3 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Control/Scale.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/SelectFeature.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/ZoomBox.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Control/ZoomToMaxExtent.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Events.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Feature.js (modified) (3 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Feature/Vector.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Feature/WFS.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Format.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Format/GML.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Format/GeoJSON.js (copied) (copied from trunk/openlayers/lib/OpenLayers/Format/GeoJSON.js)
- sandbox/tschaub/feature/lib/OpenLayers/Format/GeoRSS.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Format/JSON.js (copied) (copied from trunk/openlayers/lib/OpenLayers/Format/JSON.js)
- sandbox/tschaub/feature/lib/OpenLayers/Format/KML.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Format/WFS.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Format/WKT.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Format/XML.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Geometry.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Geometry/Collection.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Geometry/Curve.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Geometry/LineString.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Geometry/LinearRing.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Geometry/MultiLineString.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Geometry/MultiPoint.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Geometry/MultiPolygon.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Geometry/Point.js (modified) (4 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Geometry/Polygon.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Geometry/Rectangle.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Geometry/Surface.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Handler.js (modified) (4 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Handler/Box.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Handler/Feature.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Handler/Keyboard.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Handler/MouseWheel.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Handler/Path.js (modified) (3 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Handler/Point.js (modified) (3 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Handler/Polygon.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Icon.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Layer.js (modified) (3 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/Boxes.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/EventPane.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/FixedZoomLevels.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/GML.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/GeoRSS.js (modified) (3 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/Google.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/Grid.js (modified) (3 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/HTTPRequest.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/Image.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/KaMap.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/MapServer.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/MapServer/Untiled.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/Markers.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/MultiMap.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/TMS.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/Text.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/TileCache.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/Vector.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/VirtualEarth.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/WFS.js (modified) (5 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/WMS.js (modified) (3 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/WMS/Untiled.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/WorldWind.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Layer/Yahoo.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Map.js (modified) (3 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Marker.js (modified) (2 diffs)
- sandbox/tschaub/feature/lib/OpenLayers/Marker/Box.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Popup.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Popup/Anchored.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Popup/AnchoredBubble.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Renderer.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Renderer/Elements.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Renderer/SVG.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Renderer/VML.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/SingleFile.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Tile.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Tile/Image.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Tile/WFS.js (modified) (1 diff)
- sandbox/tschaub/feature/lib/OpenLayers/Util.js (modified) (5 diffs)
- sandbox/tschaub/feature/release-license.txt (modified) (1 diff)
- sandbox/tschaub/feature/repository-license.txt (modified) (1 diff)
- sandbox/tschaub/feature/tests/BaseTypes/test_Bounds.html (modified) (4 diffs)
- sandbox/tschaub/feature/tests/BaseTypes/test_Class.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/BaseTypes/test_LonLat.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/BaseTypes/test_Pixel.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/BaseTypes/test_Size.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Control/test_DragPan.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Control/test_KeyboardDefaults.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Control/test_LayerSwitcher.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Control/test_MouseToolbar.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Control/test_NavToolbar.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Control/test_OverviewMap.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Control/test_PanZoom.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Control/test_PanZoomBar.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Control/test_Panel.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Control/test_Permalink.html (modified) (3 diffs)
- sandbox/tschaub/feature/tests/Feature/test_Vector.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Format/test_GML.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Format/test_GeoJSON.html (copied) (copied from trunk/openlayers/tests/Format/test_GeoJSON.html)
- sandbox/tschaub/feature/tests/Format/test_GeoRSS.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Format/test_JSON.html (copied) (copied from trunk/openlayers/tests/Format/test_JSON.html)
- sandbox/tschaub/feature/tests/Format/test_WKT.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Format/test_XML.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Geometry/test_Collection.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Geometry/test_Curve.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Geometry/test_LineString.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Geometry/test_LinearRing.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Geometry/test_MultiLineString.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Geometry/test_MultiPoint.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Geometry/test_MultiPolygon.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Geometry/test_Point.html (modified) (9 diffs)
- sandbox/tschaub/feature/tests/Geometry/test_Polygon.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Geometry/test_Rectangle.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Geometry/test_Surface.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Handler/test_MouseWheel.html (copied) (copied from trunk/openlayers/tests/Handler/test_MouseWheel.html)
- sandbox/tschaub/feature/tests/Handler/test_Path.html (copied) (copied from trunk/openlayers/tests/Handler/test_Path.html)
- sandbox/tschaub/feature/tests/Handler/test_Point.html (copied) (copied from trunk/openlayers/tests/Handler/test_Point.html)
- sandbox/tschaub/feature/tests/Handler/test_Polygon.html (copied) (copied from trunk/openlayers/tests/Handler/test_Polygon.html)
- sandbox/tschaub/feature/tests/Layer/test_EventPane.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Layer/test_FixedZoomLevels.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Layer/test_GML.html (modified) (1 diff)
- sandbox/tschaub/feature/tests/Layer/test_GeoRSS.html (modified) (3 diffs)
- sandbox/tschaub/feature/tests/Layer/test_Google.html (modified) (1 diff)
- sandbox/tschaub/feature/tests/Layer/test_Grid.html (modified) (3 diffs)
- sandbox/tschaub/feature/tests/Layer/test_HTTPRequest.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Layer/test_Image.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Layer/test_KaMap.html (modified) (3 diffs)
- sandbox/tschaub/feature/tests/Layer/test_MapServer.html (modified) (4 diffs)
- sandbox/tschaub/feature/tests/Layer/test_MapServer_Untiled.html (deleted)
- sandbox/tschaub/feature/tests/Layer/test_Markers.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Layer/test_MultiMap.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Layer/test_TMS.html (modified) (3 diffs)
- sandbox/tschaub/feature/tests/Layer/test_Text.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Layer/test_TileCache.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Layer/test_Vector.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Layer/test_WFS.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Layer/test_WMS.html (modified) (6 diffs)
- sandbox/tschaub/feature/tests/Layer/test_WrapDateLine.html (modified) (4 diffs)
- sandbox/tschaub/feature/tests/Layer/test_Yahoo.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Marker/test_Box.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/Tile/test_Image.html (modified) (4 diffs)
- sandbox/tschaub/feature/tests/list-tests.html (modified) (3 diffs)
- sandbox/tschaub/feature/tests/test_BaseTypes.html (modified) (4 diffs)
- sandbox/tschaub/feature/tests/test_Console.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/test_Control.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/test_Events.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/test_Feature.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/test_Format.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/test_Geometry.html (modified) (3 diffs)
- sandbox/tschaub/feature/tests/test_Handler.html (modified) (7 diffs)
- sandbox/tschaub/feature/tests/test_Icon.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/test_Layer.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/test_Map.html (modified) (3 diffs)
- sandbox/tschaub/feature/tests/test_Marker.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/test_Popup.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/test_Renderer.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/test_Tile.html (modified) (2 diffs)
- sandbox/tschaub/feature/tests/test_Util.html (modified) (3 diffs)
- sandbox/tschaub/feature/tools/mergejs.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/tschaub/feature/apidoc_config/Menu.txt
r3776 r4091 55 55 File: ZoomToMaxExtent (no auto-title, OpenLayers/Control/ZoomToMaxExtent.js) 56 56 File: OverviewMap (no auto-title, OpenLayers/Control/OverviewMap.js) 57 File: DragFeature (no auto-title, OpenLayers/Control/DragFeature.js) 57 58 File: DragPan (no auto-title, OpenLayers/Control/DragPan.js) 58 59 File: DrawFeature (no auto-title, OpenLayers/Control/DrawFeature.js) … … 86 87 87 88 File: Format (no auto-title, OpenLayers/Format.js) 89 File: GeoJSON (OpenLayers/Format/GeoJSON.js) 88 90 File: GeoRSS (OpenLayers/Format/GeoRSS.js) 89 91 File: GML (OpenLayers/Format/GML.js) 92 File: JSON (OpenLayers/Format/JSON.js) 90 93 File: KML (OpenLayers/Format/KML.js) 91 94 File: WFS (OpenLayers/Format/WFS.js) 92 95 File: WKT (no auto-title, OpenLayers/Format/WKT.js) 96 File: XML (OpenLayers/Format/XML.js) 93 97 } # Group: Format 94 98 … … 132 136 File: GeoRSS (no auto-title, OpenLayers/Layer/GeoRSS.js) 133 137 File: GML (no auto-title, OpenLayers/Layer/GML.js) 134 File: Gooogle ( OpenLayers/Layer/Google.js)138 File: Gooogle (no auto-title, OpenLayers/Layer/Google.js) 135 139 File: Grid (OpenLayers/Layer/Grid.js) 136 140 File: HTTPRequest (OpenLayers/Layer/HTTPRequest.js) sandbox/tschaub/feature/build/license.txt
r1721 r4091 3 3 OpenLayers.js -- OpenLayers Map Viewer Library 4 4 5 Copyright 2005-200 6MetaCarta, Inc., released under a modified BSD license.5 Copyright 2005-2007 MetaCarta, Inc., released under a modified BSD license. 6 6 Please see http://svn.openlayers.org/trunk/openlayers/repository-license.txt 7 7 for the full text of the license. sandbox/tschaub/feature/doc_config/Menu.txt
r3776 r4091 55 55 File: ZoomToMaxExtent (no auto-title, OpenLayers/Control/ZoomToMaxExtent.js) 56 56 File: OverviewMap (no auto-title, OpenLayers/Control/OverviewMap.js) 57 File: DragFeature (no auto-title, OpenLayers/Control/DragFeature.js) 57 58 File: DragPan (no auto-title, OpenLayers/Control/DragPan.js) 58 59 File: DrawFeature (no auto-title, OpenLayers/Control/DrawFeature.js) … … 86 87 87 88 File: Format (no auto-title, OpenLayers/Format.js) 89 File: GeoJSON (OpenLayers/Format/GeoJSON.js) 88 90 File: GeoRSS (OpenLayers/Format/GeoRSS.js) 89 91 File: GML (OpenLayers/Format/GML.js) 92 File: JSON (OpenLayers/Format/JSON.js) 90 93 File: KML (OpenLayers/Format/KML.js) 91 94 File: WFS (OpenLayers/Format/WFS.js) 92 95 File: WKT (no auto-title, OpenLayers/Format/WKT.js) 96 File: XML (OpenLayers/Format/XML.js) 93 97 } # Group: Format 94 98 … … 132 136 File: GeoRSS (no auto-title, OpenLayers/Layer/GeoRSS.js) 133 137 File: GML (no auto-title, OpenLayers/Layer/GML.js) 134 File: Goo ogle (OpenLayers/Layer/Google.js)138 File: Google (OpenLayers/Layer/Google.js) 135 139 File: Grid (OpenLayers/Layer/Grid.js) 136 140 File: HTTPRequest (OpenLayers/Layer/HTTPRequest.js) sandbox/tschaub/feature/examples/mapserver_untiled.html
r2979 r4091 9 9 </style> 10 10 <script src="../lib/OpenLayers.js"></script> 11 <script src="../lib/OpenLayers/Layer/MapServer/Untiled.js"></script>12 11 <script type="text/javascript"> 13 12 window.onload = function(){ 14 13 var map = new OpenLayers.Map( 'map', {maxResolution: 'auto'} ); 15 var layer = new OpenLayers.Layer.MapServer .Untiled( "MapServer Untiled",16 "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} );14 var layer = new OpenLayers.Layer.MapServer( "MapServer Untiled", 15 "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'}, {singleTile: true} ); 17 16 map.addLayer(layer); 18 17 map.setCenter(new OpenLayers.LonLat(0, 0), 1); sandbox/tschaub/feature/lib/OpenLayers.js
r4057 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ … … 173 173 "OpenLayers/Format/WFS.js", 174 174 "OpenLayers/Format/WKT.js", 175 "OpenLayers/Format/JSON.js", 176 "OpenLayers/Format/GeoJSON.js", 175 177 "OpenLayers/Layer/WFS.js", 176 178 "OpenLayers/Control/MouseToolbar.js", sandbox/tschaub/feature/lib/OpenLayers/Ajax.js
r3876 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ sandbox/tschaub/feature/lib/OpenLayers/BaseTypes.js
r3876 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ … … 126 126 */ 127 127 Number.prototype.limitSigDigs = function(sig) { 128 var number = (sig > 0) ? this.toString() : 0; 129 if (sig < number.length) { 130 var exp = number.length - sig; 131 number = Math.round( this / Math.pow(10, exp)) * Math.pow(10, exp); 128 var numStr = (sig > 0) ? this.toString() : "0"; 129 if (numStr.contains(".")) { 130 var msg = "limitSigDig can not be called on a floating point number"; 131 OpenLayers.Console.error(msg); 132 return null; 132 133 } 133 return parseInt(number); 134 if ( (sig > 0) && (sig < numStr.length) ) { 135 var exp = numStr.length - sig; 136 numStr = Math.round( this / Math.pow(10, exp)) * Math.pow(10, exp); 137 } 138 return parseInt(numStr); 134 139 } 135 140 … … 163 168 164 169 return function(moreargs) { 165 for (var i = 0; i < arguments.length; i++) { 166 args.push(arguments[i]); 170 var i; 171 var newArgs = []; 172 for (i = 0; i < args.length; i++) { 173 newArgs.push(args[i]); 167 174 } 168 return __method.apply(object, args); 175 for (i = 0; i < arguments.length; i++) { 176 newArgs.push(arguments[i]); 177 } 178 return __method.apply(object, newArgs); 169 179 }; 170 180 }; sandbox/tschaub/feature/lib/OpenLayers/BaseTypes/Bounds.js
r3876 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ … … 6 6 * Class: OpenLayers.Bounds 7 7 * Instances of this class represent bounding boxes. Data stored as left, 8 * bottom, right, top floats 8 * bottom, right, top floats. All values are initialized to null, however, 9 * you should make sure you set them before using the bounds for anything. 10 * Possible use case: 11 * 12 * > bounds = new OpenLayers.Bounds(); 13 * > bounds.extend(new OpenLayers.LonLat(4,5)); 14 * > bounds.extend(new OpenLayers.LonLat(5,6)); 15 * > bounds.toBBOX() // returns 4,5,5,6 9 16 */ 10 17 OpenLayers.Bounds = OpenLayers.Class({ … … 14 21 * {Number} 15 22 */ 16 left: 0.0,23 left: null, 17 24 18 25 /** … … 20 27 * {Number} 21 28 */ 22 bottom: 0.0,29 bottom: null, 23 30 24 31 /** … … 26 33 * {Number} 27 34 */ 28 right: 0.0,35 right: null, 29 36 30 37 /** … … 32 39 * {Number} 33 40 */ 34 top: 0.0,41 top: null, 35 42 36 43 /** … … 47 54 */ 48 55 initialize: function(left, bottom, right, top) { 49 this.left = parseFloat(left); 50 this.bottom = parseFloat(bottom); 51 this.right = parseFloat(right); 52 this.top = parseFloat(top); 56 if (left != null) { 57 this.left = parseFloat(left); 58 } 59 if (bottom != null) { 60 this.bottom = parseFloat(bottom); 61 } 62 if (right != null) { 63 this.right = parseFloat(right); 64 } 65 if (top != null) { 66 this.top = parseFloat(top); 67 } 53 68 }, 54 69 … … 99 114 + " right-top=(" + this.right + "," + this.top + ")" ); 100 115 }, 116 117 /** 118 * APIMethod: toArray 119 * 120 * Return: 121 * {Array} array of left, bottom, right, top 122 */ 123 toArray: function() { 124 return [this.left, this.bottom, this.right, this.top]; 125 }, 101 126 102 127 /** … … 228 253 229 254 if (bounds) { 230 this.left = (bounds.left < this.left) ? bounds.left 231 : this.left; 232 this.bottom = (bounds.bottom < this.bottom) ? bounds.bottom 233 : this.bottom; 234 this.right = (bounds.right > this.right) ? bounds.right 235 : this.right; 236 this.top = (bounds.top > this.top) ? bounds.top 237 : this.top; 255 if ( (this.left == null) || (bounds.left < this.left)) { 256 this.left = bounds.left; 257 } 258 if ( (this.bottom == null) || (bounds.bottom < this.bottom) ) { 259 this.bottom = bounds.bottom; 260 } 261 if ( (this.right == null) || (bounds.right > this.right) ) { 262 this.right = bounds.right; 263 } 264 if ( (this.top == null) || (bounds.top > this.top) ) { 265 this.top = bounds.top; 266 } 238 267 } 239 268 } sandbox/tschaub/feature/lib/OpenLayers/BaseTypes/Class.js
r3876 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ sandbox/tschaub/feature/lib/OpenLayers/BaseTypes/Element.js
r3674 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ sandbox/tschaub/feature/lib/OpenLayers/BaseTypes/LonLat.js
r3794 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ sandbox/tschaub/feature/lib/OpenLayers/BaseTypes/Pixel.js
r3794 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ sandbox/tschaub/feature/lib/OpenLayers/BaseTypes/Size.js
r3794 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ sandbox/tschaub/feature/lib/OpenLayers/Console.js
r3794 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ sandbox/tschaub/feature/lib/OpenLayers/Control.js
r3794 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ sandbox/tschaub/feature/lib/OpenLayers/Control/ArgParser.js
r3876 r4091 1 /* Cpyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Cpyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ … … 62 62 if (i == this.map.controls.length) { 63 63 64 var args = OpenLayers.Util.get Args();64 var args = OpenLayers.Util.getParameters(); 65 65 if (args.lat && args.lon) { 66 66 this.center = new OpenLayers.LonLat(parseFloat(args.lon), sandbox/tschaub/feature/lib/OpenLayers/Control/DragFeature.js
r3948 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ sandbox/tschaub/feature/lib/OpenLayers/Control/DragPan.js
r3931 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ sandbox/tschaub/feature/lib/OpenLayers/Control/DrawFeature.js
r3794 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ sandbox/tschaub/feature/lib/OpenLayers/Control/EditingToolbar.js
r3876 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ sandbox/tschaub/feature/lib/OpenLayers/Control/KeyboardDefaults.js
r3794 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ sandbox/tschaub/feature/lib/OpenLayers/Control/LayerSwitcher.js
r3931 r4091 1 /* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license.1 /* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. 2 2 * See http://svn.openlayers.org/trunk/openlayers/repository-license.txt 3 3 * for the full text of the license. */ sandbox/tschaub/feature/lib/OpenLayers/Control/MouseDefaults.js
