Hello,
I am new to OpenLayers. I have made a Feature Set in GeoServer and
when I click on Demo and show my map it downloads a KMZ file. I am not
sure if this is correct but I can view it in Google Earth just fine.
I am trying to serve a KML file from GeoServer but in FireBug I see:
Access to restricted URI denied" code: "1012
How do I configure OpenLayers prox.cgi to make things work?
This is the OpenLayers code:
map.addLayer(new OpenLayers.Layer.GML("KML", "http://naturkart.no:8080/geoserver/wms/kml?layers=kulturminner_ns:gravminne
",
{
format: OpenLayers.Format.KML,
formatOptions: {
extractStyles: true,
extractAttributes: true
}
}));
Thanks for any advice!
/asle_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users