[OpenLayers-Users] problems with ol 2.11 and Cross

Peter Freimuth peter.freimuth at blackbridge.com
Thu Aug 28 23:39:37 PDT 2014


Hi,
we have a problem with a OSM tile service in Openlayers 2.11 which shall replace the google background map for an application in china as google map does not work. As the App is running with https we needed a https enabled tile service and received it from a german service provider. But in this application the Tile Service doesn’t work due to the error:
Image from origin 'https://tile.geofabrik.de' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://eyefind-ag-cn.blackbridge.com' is therefore not allowed access

We can see the tiles being successfully loaded from the tile service in firebug but in the map we see only a bunch of broken image links. Its a standard OL OSM layer that works fine with outer test applications.
Any hint on what might cause this problem is very, very welcome.
Kind regards,
Peter


BlackBridge AG | Sitz Berlin | Amtsgericht Charlottenburg - Registergericht | HRB 152785 | Aufsichtsratsvorsitzender: David Westwood | Vorstand: Ryan Johnson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20140829/fb364c9a/attachment.html>


More information about the Users mailing list