OpenLayers OpenLayers

Changeset 2398

Show
Ignore:
Timestamp:
03/06/07 15:04:11 (2 years ago)
Author:
crschmidt
Message:

Add GML example data from geometry_testcase in vector branch, and
move the gml-layer to use a polygon GML data for gml-layer.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/vector-2.4/examples/GMLParser.html

    r2394 r2398  
    2525        } 
    2626        function load() { 
    27             OpenLayers.loadURL("gml.out", "", null, parseData); 
     27            OpenLayers.loadURL("gml/owls.gml", "", null, parseData); 
    2828        }    
    2929    </script> 
  • sandbox/vector-2.4/examples/gml-layer.html

    r2395 r2398  
    2121                    "http://labs.metacarta.com/wms/vmap0", {layers: 'basic'} ); 
    2222            map.addLayer(layer); 
    23             map.zoomToExtent(new OpenLayers.Bounds(-85.924072,43.544312,-77.13501,48.762817)); 
    24             map.addLayer(new OpenLayers.Layer.GML("GML", "gml.out")); 
     23            map.zoomToExtent(new OpenLayers.Bounds(-3.922119,44.335327,4.866943,49.553833)); 
     24            map.addLayer(new OpenLayers.Layer.GML("GML", "gml/polygon.xml")); 
    2525        } 
    2626        // -->