[OpenLayers-Users] Firefox or OL 2.12 bug?
Arnd Wippermann
arnd.wippermann at web.de
Thu Jan 10 16:05:33 PST 2013
Hi,
with tileOptions: {crossOriginKeyword: null} added, it should work:
layerMapnik =
new OpenLayers.Layer.OSM("OSM_de",
["http://a.tile.openstreetmap.de/tiles/osmde/${z}/${x}/${y}.png",
"http://b.tile.openstreetmap.de/tiles/osmde/${z}/${x}/${y}.png",
"http://c.tile.openstreetmap.de/tiles/osmde/${z}/${x}/${y}.png",
"http://d.tile.openstreetmap.de/tiles/osmde/${z}/${x}/${y}.png"],
{tileOptions: {crossOriginKeyword: null}}
);
OL OSM.js:
tileOptions
{Object} optional configuration options for OpenLayers.Tile instances
created by this Layer.
Default is
{crossOriginKeyword: 'anonymous'}
When using OSM tilesets other than the default ones, it may be necessary to
set this to
{crossOriginKeyword: null}
if the server does not send Access-Control-Allow-Origin headers.
Arnd
-----Ursprüngliche Nachricht-----
Von: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von Roland
Olbricht
Gesendet: Donnerstag, 10. Januar 2013 17:47
An: 'OpenLayers User List'
Betreff: [OpenLayers-Users] Firefox or OL 2.12 bug?
Dear all,
the following code does no longer show a map, since some days, with Firefox
17.0.1 on Ubuntu 12.04 as well as the latest Firefox ESR version on Windows
7.
Please see
http://overpass-api.de/firefox_bug.html
It still does if I switch from 2.12 to 2.11.
It also still does show a map with Chrome.
Even stranger, in Firebug it looks like the tiles are loaded, and they can
be viewed from the cache.
Is this a bug in Firefox or OpenLayers?
Best regards,
Roland
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
More information about the Users
mailing list