I'm trying to load a simple gml file with openlayers, but it doesn't load.
Pretty sure it's a simple issue, but I figure out what's wrong.
Thanks in advance, Pedro
var meu = new OpenLayers.Layer.Vector("States", {
protocol: new OpenLayers.Protocol.HTTP({
url: "teste.GML",
format: new OpenLayers.Format.GML()
}),
strategies: [new OpenLayers.Strategy.Fixed()],
});
map.addLayer(meu)
Tried firefox and safari in mac os and firefox in linux