Changeset 5282
- Timestamp:
- 11/26/07 20:02:16 (1 year ago)
- Files:
-
- sandbox/tschaub/wfsv/build/license.txt (modified) (2 diffs)
- sandbox/tschaub/wfsv/doc/authors.txt (modified) (1 diff)
- sandbox/tschaub/wfsv/examples/attribution.html (modified) (1 diff)
- sandbox/tschaub/wfsv/examples/click.html (modified) (1 diff)
- sandbox/tschaub/wfsv/examples/controls.html (modified) (2 diffs)
- sandbox/tschaub/wfsv/examples/editingtoolbar-outside.html (copied) (copied from trunk/openlayers/examples/editingtoolbar-outside.html)
- sandbox/tschaub/wfsv/examples/editingtoolbar.html (modified) (1 diff)
- sandbox/tschaub/wfsv/examples/example.html (modified) (1 diff)
- sandbox/tschaub/wfsv/examples/fullScreen.html (modified) (1 diff)
- sandbox/tschaub/wfsv/examples/image-layer.html (modified) (1 diff)
- sandbox/tschaub/wfsv/examples/layerswitcher.html (modified) (1 diff)
- sandbox/tschaub/wfsv/examples/lite.html (modified) (2 diffs)
- sandbox/tschaub/wfsv/examples/mvs.html (modified) (1 diff)
- sandbox/tschaub/wfsv/examples/openmnnd.html (modified) (1 diff)
- sandbox/tschaub/wfsv/examples/overviewmap.html (modified) (1 diff)
- sandbox/tschaub/wfsv/examples/panel.html (modified) (1 diff)
- sandbox/tschaub/wfsv/examples/popups.html (modified) (1 diff)
- sandbox/tschaub/wfsv/examples/regular-polygons.html (modified) (3 diffs)
- sandbox/tschaub/wfsv/examples/select-feature-openpopup.html (modified) (2 diffs)
- sandbox/tschaub/wfsv/examples/select-feature.html (modified) (5 diffs)
- sandbox/tschaub/wfsv/examples/smoothDragging.html (copied) (copied from trunk/openlayers/examples/smoothDragging.html)
- sandbox/tschaub/wfsv/examples/spherical-mercator.html (modified) (4 diffs)
- sandbox/tschaub/wfsv/examples/tilecache.html (modified) (1 diff)
- sandbox/tschaub/wfsv/examples/vector-features.html (modified) (2 diffs)
- sandbox/tschaub/wfsv/examples/walkthru.html (copied) (copied from trunk/openlayers/examples/walkthru.html)
- sandbox/tschaub/wfsv/examples/wmst.html (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/Firebug/firebug.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/Firebug/firebugx.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers.js (modified) (3 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Ajax.js (modified) (6 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/BaseTypes.js (modified) (8 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/BaseTypes/Bounds.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/BaseTypes/Class.js (modified) (5 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/BaseTypes/Element.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/BaseTypes/LonLat.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/BaseTypes/Pixel.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/BaseTypes/Size.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Console.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control.js (modified) (3 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/ArgParser.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/Attribution.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/DragFeature.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/DragPan.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/DrawFeature.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/EditingToolbar.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/KeyboardDefaults.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/LayerSwitcher.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/ModifyFeature.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/MouseDefaults.js (modified) (5 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/MousePosition.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/MouseToolbar.js (modified) (9 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/NavToolbar.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/Navigation.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/OverviewMap.js (modified) (3 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/PanZoom.js (modified) (3 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/PanZoomBar.js (modified) (9 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/Panel.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/Permalink.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/Scale.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/SelectFeature.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/ZoomBox.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Control/ZoomToMaxExtent.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Events.js (modified) (4 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Feature.js (modified) (3 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Feature/Vector.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Feature/WFS.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Format.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Format/GML.js (modified) (8 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Format/GeoJSON.js (modified) (12 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Format/GeoRSS.js (modified) (7 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Format/JSON.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Format/KML.js (modified) (16 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Format/WFS.js (modified) (3 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Format/WKT.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Format/XML.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Geometry.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Geometry/Collection.js (modified) (3 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Geometry/Curve.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Geometry/LineString.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Geometry/LinearRing.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Geometry/MultiLineString.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Geometry/MultiPoint.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Geometry/MultiPolygon.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Geometry/Point.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Geometry/Polygon.js (modified) (3 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Geometry/Rectangle.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Geometry/Surface.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Handler.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Handler/Box.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Handler/Drag.js (modified) (8 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Handler/Feature.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Handler/Keyboard.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Handler/MouseWheel.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Handler/Path.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Handler/Point.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Handler/Polygon.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Handler/RegularPolygon.js (modified) (7 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Icon.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer.js (modified) (6 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/Boxes.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/EventPane.js (modified) (6 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/FixedZoomLevels.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/GML.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/GeoRSS.js (modified) (4 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/Google.js (modified) (6 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/Grid.js (modified) (8 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/HTTPRequest.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/Image.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/KaMap.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/MapServer.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/MapServer/Untiled.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/Markers.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/MultiMap.js (modified) (3 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/SphericalMercator.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/TMS.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/Text.js (modified) (3 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/TileCache.js (modified) (4 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/Vector.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/VirtualEarth.js (modified) (5 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/WFS.js (modified) (3 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/WMS.js (modified) (3 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/WMS/Untiled.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/WorldWind.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Layer/Yahoo.js (modified) (6 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Map.js (modified) (15 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Marker.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Marker/Box.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Popup.js (modified) (3 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Popup/Anchored.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Popup/AnchoredBubble.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Renderer.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Renderer/Elements.js (modified) (5 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Renderer/SVG.js (modified) (12 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Renderer/VML.js (modified) (9 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/SingleFile.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Tile.js (modified) (2 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Tile/Image.js (modified) (3 diffs)
- sandbox/tschaub/wfsv/lib/OpenLayers/Tile/WFS.js (modified) (1 diff)
- sandbox/tschaub/wfsv/lib/OpenLayers/Util.js (modified) (19 diffs)
- sandbox/tschaub/wfsv/lib/Rico/Color.js (modified) (5 diffs)
- sandbox/tschaub/wfsv/lib/Rico/Corner.js (modified) (10 diffs)
- sandbox/tschaub/wfsv/license.txt (copied) (copied from trunk/openlayers/license.txt)
- sandbox/tschaub/wfsv/news.txt (modified) (1 diff)
- sandbox/tschaub/wfsv/release-license.txt (deleted)
- sandbox/tschaub/wfsv/repository-license.txt (deleted)
- sandbox/tschaub/wfsv/tests/Control/test_ModifyFeature.html (modified) (1 diff)
- sandbox/tschaub/wfsv/tests/Control/test_OverviewMap.html (modified) (2 diffs)
- sandbox/tschaub/wfsv/tests/Format/test_GML.html (modified) (3 diffs)
- sandbox/tschaub/wfsv/tests/Format/test_GeoJSON.html (modified) (7 diffs)
- sandbox/tschaub/wfsv/tests/Format/test_GeoRSS.html (modified) (3 diffs)
- sandbox/tschaub/wfsv/tests/Format/test_KML.html (modified) (2 diffs)
- sandbox/tschaub/wfsv/tests/Geometry/test_Collection.html (modified) (1 diff)
- sandbox/tschaub/wfsv/tests/Geometry/test_Point.html (modified) (2 diffs)
- sandbox/tschaub/wfsv/tests/Handler/test_Drag.html (modified) (2 diffs)
- sandbox/tschaub/wfsv/tests/Handler/test_Point.html (modified) (1 diff)
- sandbox/tschaub/wfsv/tests/Handler/test_RegularPolygon.html (modified) (2 diffs)
- sandbox/tschaub/wfsv/tests/Layer/test_Grid.html (modified) (2 diffs)
- sandbox/tschaub/wfsv/tests/Layer/test_KaMap.html (modified) (2 diffs)
- sandbox/tschaub/wfsv/tests/Layer/test_MapServer.html (modified) (1 diff)
- sandbox/tschaub/wfsv/tests/Layer/test_TMS.html (modified) (1 diff)
- sandbox/tschaub/wfsv/tests/Layer/test_TileCache.html (modified) (2 diffs)
- sandbox/tschaub/wfsv/tests/Layer/test_WMS.html (modified) (1 diff)
- sandbox/tschaub/wfsv/tests/Layer/test_WrapDateLine.html (modified) (3 diffs)
- sandbox/tschaub/wfsv/tests/test_Control.html (modified) (1 diff)
- sandbox/tschaub/wfsv/tests/test_Feature.html (modified) (2 diffs)
- sandbox/tschaub/wfsv/tests/test_Layer.html (modified) (4 diffs)
- sandbox/tschaub/wfsv/tests/test_Map.html (modified) (3 diffs)
- sandbox/tschaub/wfsv/tests/test_Marker.html (modified) (1 diff)
- sandbox/tschaub/wfsv/tests/test_Popup.html (modified) (3 diffs)
- sandbox/tschaub/wfsv/tests/test_Util.html (modified) (6 diffs)
- sandbox/tschaub/wfsv/tests/throws.js (modified) (1 diff)
- sandbox/tschaub/wfsv/tools/release.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/tschaub/wfsv/build/license.txt
r4079 r5282 3 3 OpenLayers.js -- OpenLayers Map Viewer Library 4 4 5 Copyright 2005-2007 MetaCarta, Inc., released under a modifiedBSD license.6 Please see http://svn.openlayers.org/trunk/openlayers/ repository-license.txt5 Copyright 2005-2007 MetaCarta, Inc., released under the Clear BSD license. 6 Please see http://svn.openlayers.org/trunk/openlayers/license.txt 7 7 for the full text of the license. 8 8 … … 22 22 * For details, see the Prototype web site: http://prototype.conio.net/ 23 23 * 24 /*--------------------------------------------------------------------------*/24 *--------------------------------------------------------------------------*/ 25 25 26 26 /** sandbox/tschaub/wfsv/doc/authors.txt
r3884 r5282 4 4 John Cole 5 5 Jeff Dege 6 Roald de Wit 6 7 Schuyler Erle 7 8 Christian López EspÃnola sandbox/tschaub/wfsv/examples/attribution.html
r4404 r5282 19 19 20 20 var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic", 21 "http:// wms.jpl.nasa.gov/wms.cgi",22 {layers: " modis,global_mosaic"},{attribution:"Provided by NASA"});21 "http://t1.hypercube.telascience.org/cgi-bin/landsat7", 22 {layers: "landsat7"},{attribution:"Provided by Telascience"}); 23 23 24 24 map.addLayers([ol_wms, jpl_wms]); sandbox/tschaub/wfsv/examples/click.html
r4309 r5282 18 18 19 19 var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic", 20 "http:// wms.jpl.nasa.gov/wms.cgi",21 {layers: " modis,global_mosaic"});20 "http://t1.hypercube.telascience.org/tiles/landsat7", 21 {layers: "landsat7"}); 22 22 23 23 jpl_wms.setVisibility(false); sandbox/tschaub/wfsv/examples/controls.html
r4309 r5282 14 14 map = new OpenLayers.Map('map', { controls: [] }); 15 15 16 map.addControl(new OpenLayers.Control.PanZoomBar( ));16 map.addControl(new OpenLayers.Control.PanZoomBar({zoomWorldIcon:true})); 17 17 map.addControl(new OpenLayers.Control.MouseToolbar()); 18 18 map.addControl(new OpenLayers.Control.LayerSwitcher({'ascending':false})); … … 28 28 29 29 var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic", 30 "http:// wms.jpl.nasa.gov/wms.cgi",31 {layers: " modis,global_mosaic"});30 "http://t1.hypercube.telascience.org/tiles/landsat7", 31 {layers: "landsat7"}); 32 32 33 33 var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo", sandbox/tschaub/wfsv/examples/editingtoolbar.html
r2978 r5282 9 9 } 10 10 </style> 11 <script src="../lib/Firebug/firebug.js"></script> 11 12 <script src="../lib/OpenLayers.js"></script> 12 <script src="../lib/Firebug/debug.js"></script>13 13 <script type="text/javascript"> 14 14 <!-- sandbox/tschaub/wfsv/examples/example.html
r3747 r5282 60 60 }; 61 61 var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic", 62 "http:// wms.jpl.nasa.gov/wms.cgi",63 {layers: " modis,global_mosaic"}, options2);62 "http://t1.hypercube.telascience.org/tiles/landsat7", 63 {layers: "landsat7"}, options2); 64 64 65 65 var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo", sandbox/tschaub/wfsv/examples/fullScreen.html
r4309 r5282 18 18 19 19 var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic", 20 "http:// wms.jpl.nasa.gov/wms.cgi",21 {layers: " modis,global_mosaic"});20 "http://t1.hypercube.telascience.org/tiles/landsat7", 21 {layers: "landsat7"}); 22 22 23 23 var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo", sandbox/tschaub/wfsv/examples/image-layer.html
r4309 r5282 27 27 28 28 var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic", 29 "http:// wms.jpl.nasa.gov/wms.cgi",30 {layers: " modis,global_mosaic"}, options);29 "http://t1.hypercube.telascience.org/tiles/landsat7", 30 {layers: "landsat7"}, options); 31 31 32 32 map.addLayers([graphic, jpl_wms]); sandbox/tschaub/wfsv/examples/layerswitcher.html
r4309 r5282 21 21 22 22 var jpl_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic", 23 "http:// wms.jpl.nasa.gov/wms.cgi",24 {layers: " modis,global_mosaic"}, {'isBaseLayer': false});23 "http://t1.hypercube.telascience.org/tiles/landsat7", 24 {layers: "landsat7"}, {'isBaseLayer': false}); 25 25 26 26 var dm_wms = new OpenLayers.Layer.WMS( "DM Solutions Demo", sandbox/tschaub/wfsv/examples/lite.html
r4309 r5282 2 2 <head> 3 3 <style type="text/css"> 4 #map { 5 width: 800px; 6 height: 475px; 7 border: 1px solid black; 8 } 4 #map { width:512px; height:256px; border:1px solid black; } 9 5 </style> 10 6 <script src="../lib/OpenLayers.js"></script> 11 7 <script type="text/javascript"> 12 var lon = 5;13 var lat = 40;14 var zoom = 5;15 8 var map, layer; 16 17 9 function init(){ 18 10 map = new OpenLayers.Map( 'map' ); … … 21 13 {layers: 'basic'} ); 22 14 map.addLayer(layer); 23 map. setCenter(new OpenLayers.LonLat(lon, lat), zoom);15 map.zoomToMaxExtent(); 24 16 } 25 17 </script> sandbox/tschaub/wfsv/examples/mvs.html
r4404 r5282 89 89 theMVS.addLayer( 90 90 new OpenLayers.Layer.WMS("NASA Mosaic", 91 "http:// wms.jpl.nasa.gov/wms.cgi",91 "http://t1.hypercube.telascience.org/tiles/landsat7", 92 92 {"EXCEPTIONS" : "application/vnd.ogc.se_inimage", 93 93 "format" : "image/jpeg", 94 layers:" modis,global_mosaic"}94 layers:"landsat7"} 95 95 )); 96 96 break; sandbox/tschaub/wfsv/examples/openmnnd.html
r4309 r5282 33 33 wfs.preFeatureInsert= function(feature) { feature.style.strokeWidth="3"; feature.style.strokeColor="blue"; 34 34 } 35 wfs.onFeatureInsert = function( ) {35 wfs.onFeatureInsert = function(feature) { 36 36 OpenLayers.Util.getElement('stream_features').innerHTML = feature.layer.features.length; 37 37 } sandbox/tschaub/wfsv/examples/overviewmap.html
r2978 r5282 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 2 "http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <title>Overview Map Example</title> 6 <script src="../lib/OpenLayers.js" type="text/javascript"></script> 7 <style> 8 #map{ 9 width:100%; 10 height:500px; 11 border:1px solid; 12 } 13 </style> 14 </head> 15 <body> 16 <div id="map"></div> 17 <script defer="defer" type="text/javascript"> 18 var map = new OpenLayers.Map('map'); 19 // my city 20 var constantina = new OpenLayers.LonLat(-5.6165,37.8623); 21 var wms = new OpenLayers.Layer.WMS( "OpenLayers WMS", 22 "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} ); 23 var nasa_wms = new OpenLayers.Layer.WMS( "NASA Global Mosaic", 24 "http://wms.jpl.nasa.gov/wms.cgi", {layers: "modis,global_mosaic"} ); 1 <html> 2 <head> 3 <title>Overview Map Example</title> 4 <script src="../lib/OpenLayers.js" type="text/javascript"></script> 5 <style> 6 #map1 { 7 width: 500px; 8 height: 300px; 9 border: 1px solid gray; 10 } 11 #map2 { 12 width: 500px; 13 height: 300px; 14 border: 1px solid gray; 15 } 16 </style> 17 </head> 18 <body> 19 <div id="map1"></div> 20 <p>The above map has an overview map control that is created with 21 the default options. Much like a regular map, the map contained by 22 the overview map control defaults to a geographic projection.</p> 23 <div id="map2"></div> 24 <p>The second map has an overview map control that is created with 25 non-default options. In this case, the mapOptions property of the 26 control has been set to use non-default projection related properties. 27 In addition, any other properties of the overview map control can be 28 set in this way.</p> 29 <script defer="defer" type="text/javascript"> 30 31 // create the top map (with default overview map control) 32 var map1 = new OpenLayers.Map('map1'); 33 34 var ol = new OpenLayers.Layer.WMS( 35 "OpenLayers WMS", 36 "http://labs.metacarta.com/wms/vmap0", 37 {layers: 'basic'} 38 ); 39 40 var jpl = new OpenLayers.Layer.WMS( 41 "NASA Global Mosaic", 42 "http://t1.hypercube.telascience.org/tiles/landsat7", 43 {layers: "landsat7"} 44 ); 45 46 map1.addLayers([ol, jpl]); 47 map1.addControl(new OpenLayers.Control.LayerSwitcher()); 48 49 // create an overview map control with the default options 50 var overview1 = new OpenLayers.Control.OverviewMap(); 51 map1.addControl(overview1); 52 53 map1.setCenter(new OpenLayers.LonLat(0, 0), 2); 54 55 // expand the overview map control 56 overview1.maximizeControl(); 57 58 59 // create the bottom map (with advanced overview map control) 60 var mapOptions = { 61 maxExtent: new OpenLayers.Bounds(33861, 717605, 330846, 1019656), 62 maxResolution: 296985/1024, 63 projection: "EPSG:2805", 64 units: "m" 65 }; 25 66 26 map.addLayers([ 27 nasa_wms, 28 wms 29 ]); 30 31 map.addControl(new OpenLayers.Control.LayerSwitcher()); 32 33 var options = { 34 layers: [wms.clone()], 35 minRatio: 8, 36 maxRatio: 128 37 }; 38 var overview = new OpenLayers.Control.OverviewMap(options); 67 var map2 = new OpenLayers.Map('map2', mapOptions); 39 68 40 map.addControl(overview); 41 42 map.setCenter(constantina, 4); 43 44 overview.maximizeControl(); 45 </script> 46 </body> 69 var bos = new OpenLayers.Layer.WMS( 70 "Boston", 71 "http://boston.freemap.in/cgi-bin/mapserv", 72 { 73 map: '/www/freemap.in/boston/map/gmaps.map', 74 layers: 'border,water,roads,rapid_transit,buildings', 75 format: 'png' 76 } 77 ); 78 79 map2.addLayers([bos]); 80 map2.addControl(new OpenLayers.Control.LayerSwitcher()); 81 82 // create an overview map control with the default options 83 var controlOptions = { 84 mapOptions: mapOptions 85 } 86 var overview2 = new OpenLayers.Control.OverviewMap(controlOptions); 87 map2.addControl(overview2); 88 89 map2.setCenter(new OpenLayers.LonLat(182500, 868500), 3); 90 91 // expand the overview map control 92 overview2.maximizeControl(); 93 94 </script> 95 </body> 47 96 </html> sandbox/tschaub/wfsv/examples/panel.html
r4404 r5282 52 52 53 53 </style> 54 <script src="../lib/Firebug/firebug.js"></script> 54 55 <script src="../lib/OpenLayers.js"></script> 55 <script src="../lib/Firebug/debug.js"></script>56 56 <script type="text/javascript"> 57 57 var lon = 5; sandbox/tschaub/wfsv/examples/popups.html
r4309 r5282 8 8 } 9 9 </style> 10 <script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script> 10 11 <script src="../lib/OpenLayers.js"></script> 11 <script src='http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ'></script>12 12 <script type="text/javascript"> 13 13 var map, layer, popup; sandbox/tschaub/wfsv/examples/regular-polygons.html
r4309 r5282 67 67 68 68 document.getElementById('noneToggle').checked = true; 69 document.getElementById('irregularToggle').checked = false; 69 70 } 70 71 function setOptions(options) { … … 147 148 </td> 148 149 </tr> 150 <tr> 151 <td> 152 irregular 153 </td> 154 <td> 155 <input id="irregularToggle" name="irregular" 156 type="checkbox" 157 onchange="setOptions({irregular: this.checked})") /> 158 </td> 159 </tr> 149 160 </tbody> 150 161 </table> … … 157 168 will toggle to non-snapping mode. 158 169 </p> 170 <p> 171 The <i>irregular</i> option allows drawing of irregular polygons. With this option, the fixed radius option is ignored. 159 172 </body> 160 173 </html> sandbox/tschaub/wfsv/examples/select-feature-openpopup.html
r4309 r5282 13 13 <script src="../lib/OpenLayers.js"></script> 14 14 <script type="text/javascript"> 15 var map, drawControls, select; 15 var map, drawControls, selectControl, selectedFeature; 16 function onPopupClose(evt) { 17 selectControl.unselect(selectedFeature); 18 } 16 19 function onFeatureSelect(feature) { 20 selectedFeature = feature; 17 21 popup = new OpenLayers.Popup.Anchored("chicken", 18 22 feature.geometry.getBounds().getCenterLonLat(), 19 23 new OpenLayers.Size(250,75), 20 24 "<div style='font-size:.8em'>Feature: " + feature.id +"<br />Area: " + feature.geometry.getArea()+"</div>", 21 null, true );25 null, true, onPopupClose); 22 26 feature.popup = popup; 23 27 map.addPopup(popup); … … 39 43 map.addControl(new OpenLayers.Control.MousePosition()); 40 44 45 selectControl = new OpenLayers.Control.SelectFeature(polygonLayer, 46 {onSelect: onFeatureSelect, onUnselect: onFeatureUnselect}); 41 47 drawControls = { 42 48 polygon: new OpenLayers.Control.DrawFeature(polygonLayer, 43 49 OpenLayers.Handler.Polygon), 44 select: new OpenLayers.Control.SelectFeature(polygonLayer, 45 {onSelect: onFeatureSelect, 46 onUnselect: onFeatureUnselect 47 }) 50 select: selectControl 48 51 }; 49 52 sandbox/tschaub/wfsv/examples/select-feature.html
r4309 r5282 1 1 <html xmlns="http://www.w3.org/1999/xhtml"> 2 2 <head> 3 <title>Select Feature</title> 3 4 <style type="text/css"> 4 5 #map { … … 14 15 <script type="text/javascript"> 15 16 var map, drawControls, select; 17 OpenLayers.Feature.Vector.style['default']['strokeWidth'] = '2'; 16 18 function init(){ 17 19 map = new OpenLayers.Map('map'); 18 var wmsLayer = new OpenLayers.Layer.WMS( "OpenLayers WMS", 19 "http://labs.metacarta.com/wms/vmap0?", {layers: 'basic'}); 20 var wmsLayer = new OpenLayers.Layer.WMS( 21 "OpenLayers WMS", 22 "http://labs.metacarta.com/wms/vmap0", 23 {layers: 'basic'} 24 ); 20 25 21 var polygonLayer = new OpenLayers.Layer.Vector("Polygon Layer"); 22 23 map.addLayers([wmsLayer, polygonLayer]); 26 var vectors = new OpenLayers.Layer.Vector("Vector Layer"); 27 map.addLayers([wmsLayer, vectors]); 24 28 map.addControl(new OpenLayers.Control.LayerSwitcher()); 25 29 map.addControl(new OpenLayers.Control.MousePosition()); 26 30 27 31 drawControls = { 28 polygon: new OpenLayers.Control.DrawFeature(polygonLayer, 29 OpenLayers.Handler.Polygon), 30 select: new OpenLayers.Control.SelectFeature(polygonLayer), 31 hover: new OpenLayers.Control.SelectFeature(polygonLayer, 32 {hover: true}) 32 point: new OpenLayers.Control.DrawFeature( 33 vectors, OpenLayers.Handler.Point 34 ), 35 line: new OpenLayers.Control.DrawFeature( 36 vectors, OpenLayers.Handler.Path 37 ), 38 polygon: new OpenLayers.Control.DrawFeature( 39 vectors, OpenLayers.Handler.Polygon 40 ), 41 select: new OpenLayers.Control.SelectFeature(vectors), 42 hover: new OpenLayers.Control.SelectFeature( 43 vectors, {hover: true} 44 ) 33 45 }; 34
