Hi all,
Not sure what's going on here, and what/why I'm doing wrong.
I'm loading successfully a gml layer which isn't displaying in the right
place
var topo = new OpenLayers.Layer.GML ("Topography", "data/topo.gml",
{
style: {strokeWidth: 1, strokeColor:"#CCCCCC"},
}
);
when I add projection and format criteria, it doesn't display at all, let
alone in the wrong place, and the auto map.setCenter function doesn't work.
var topo = new OpenLayers.Layer.GML ("Topography", "data/topo.gml",
{
style: {strokeWidth: 1, strokeColor:"#CCCCCC"},
projection: new OpenLayers.Projection("EPSG:4326"),
format: OpenLayers.Format.GML,
}
);
Is there anything really obvious that I'm missing? thanks again, in advance
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users