OpenLayers OpenLayers

Changeset 5748

Show
Ignore:
Timestamp:
01/15/08 11:46:36 (1 year ago)
Author:
crschmidt
Message:

Add sutton coldfield example

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/crschmidt/osm/examples/osm-layer.html

    r4951 r5748  
    8383            map.addLayer(layer); 
    8484            if (!map.getCenter()) {  
    85                 map.zoomToExtent(new OpenLayers.Bounds(-71.116229,42.355245,-71.101016,42.365437)); 
    86                 gml = new OpenLayers.Layer.GML("OSM", "xml/cambridgeport.osm", {format: OpenLayers.Format.OSM}); 
     85                gml = new OpenLayers.Layer.GML("OSM", "osm/sutton_coldfield.osm", {format: OpenLayers.Format.OSM}); 
     86                map.zoomToExtent(new OpenLayers.Bounds(-1.819072,52.549034,-1.814341,52.551582)); 
    8787            } else { 
    8888                if (map.getZoom() >= 11) {