On Mon, Jul 2, 2012 at 4:14 PM, jevelin
<[email protected]> wrote:
> Hello,
>
> the example http://overpass-api.de/open_layers_fixed.html is not working any
> more when it is executed on my local web server. On overpass-api.de itself
> it is still working. It is also working on my local server when I use OL2.11
> instead of OL2.12.
>
> It looks like an OPTIONS request is sent instead of a GET request when using
> OpenLayers.Protocol.HTTP when the request to overpass-api.de doesn't come
> from the same origin.
>
> Any ideas if this is a bug, or how to work around this?

This is a Same Origin Policy issue. I'd be very surprised that 2.11
and 2.12 behave differently with respect to that.





-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to