[OpenLayers-Users] Problem with GeoRSS layer
nick@hogweed.org
nick at hogweed.org
Tue Jun 27 17:21:12 CDT 2006
Regarding my OpenStreetMap/OpenLayers test, now that a GeoRSS layer is
available I have tried making my annotations available as (what I believe is)
GeoRSS, e.g.
http://nick.dev.openstreetmap.org/openlayers/markers.php?bbox=-1,51,0,52
However when I try and create a GeoRSS layer:
var georssLayer = new OpenLayers.Layer.GeoRSS('annotations',
'http://nick.dev.openstreetmap.org/openlayers/markers.php');
map.addLayer(georssLayer);
I get this message as an alert box:
Unhandled request return Not Found
That would indicate that the URL I supplied gives a 404 error.... which is not
the case. Furthermore if I try entering the URL in the GeoRSS example, I get
a Bad Request error.
Any ideas here? The full source is available at
http://nick.dev.openstreetmap.org/openlayers/main.js.
Thanks,
Nick
More information about the Users
mailing list