<div>Hi all,</div><div></div><div>I've been trying to implement my gml as a layer.vector, as opposed to a layer.gml. I'm loading both into the browser with the different methods, and I can from firebug that the file is getting loaded, but it's not being displayed. Thus, if I re-sent my auto-center to sites2.events, it doesn't center at all. I'm not sure what going wrong here, I thought I'd followed the examples pretty closely. Thanks (again) in advance.</div>
<div></div><div>//loads fine</div><div> var        sites = new OpenLayers.Layer.GML (<br>                 "Archaeological Sites", "data/siteswatr.gml",<br>                 {<br>                 style: {pointRadius: 2.5}, <br>                 projection: new OpenLayers.Projection("EPSG:4326"),<br>
                format: OpenLayers.Format.GML,<br>                 }<br>                 );<br>         map.addLayer(sites);</div><div><br> // loads into browser but not displayed.<br>                 var sites2 = new OpenLayers.Layer.Vector (<br>                 "sites2", {projection: map.displayProjection, strategies: [new OpenLayers.Strategy.Fixed()], protocol: new OpenLayers.Protocol.HTTP({url: "data/siteswatr.gml", format: [new OpenLayers.Format.GML()]})});<br>
                map.addLayer(sites2);<br><br></div>