Re: [OpenLayers-Users] Why does OpenLayers.Layer.Vector not work at all?

2010-06-22 Thread Manuel Reimer
Eric Lemoine wrote: It is unexpected. What version of OpenLayers are you using? Do you have a minimal example showing the problem? I use the version accessible via http://www.openlayers.org/api/OpenLayers.js A minimal example could be something like example at the end of this mail, but my

[OpenLayers-Users] Why does OpenLayers.Layer.Vector not work at all?

2010-06-21 Thread Manuel Reimer
Hello, the following code does *exactly* what I want: var layer = new OpenLayers.Layer.GML(Polygon, relation.osm, { format: OpenLayers.Format.OSM, style: {strokeColor: green, strokeWidth: 5, strokeOpacity: 0.5}, projection: new OpenLayers.Projection(EPSG:4326) }); map.addLayer(layer);

Re: [OpenLayers-Users] Why does OpenLayers.Layer.Vector not work at all?

2010-06-21 Thread Eric Lemoine
On Monday, June 21, 2010, Manuel Reimer manuel.s...@nurfuerspam.de wrote: Arnd Wippermann wrote: I would suggest, that you can't use OpenLayers.Protocol.HTTP with local file (file://) H... Yes, that's it, but why did it work with the GML layer? Thanks for this info. I've set up a local