From 44e17c440d131ceea5e949083f86b283c8672156 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Tue, 2 Feb 2016 13:44:06 +0100 Subject: [PATCH] Remove crossOrigin null option for OpenSeaMap source --- examples/localized-openstreetmap.html | 5 ++--- examples/localized-openstreetmap.js | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/localized-openstreetmap.html b/examples/localized-openstreetmap.html index aa70a35793..620d9c834a 100644 --- a/examples/localized-openstreetmap.html +++ b/examples/localized-openstreetmap.html @@ -3,8 +3,7 @@ layout: example.html title: Localized OpenStreetMap shortdesc: Example of a localized OpenStreetMap map with a custom tile server and a custom attribution. docs: > -

The base layer is OpenCycleMap with an overlay from OpenSeaMap. The OpenSeaMap tile server - does not support CORS headers.

-tags: "cors, localized-openstreetmap, openseamap, openstreetmap" +

The base layer is OpenCycleMap with an overlay from OpenSeaMap. +tags: "localized-openstreetmap, openseamap, openstreetmap" ---

diff --git a/examples/localized-openstreetmap.js b/examples/localized-openstreetmap.js index 0459d45d22..5b8f79dbe7 100644 --- a/examples/localized-openstreetmap.js +++ b/examples/localized-openstreetmap.js @@ -28,7 +28,6 @@ var openSeaMapLayer = new ol.layer.Tile({ }), ol.source.OSM.ATTRIBUTION ], - crossOrigin: null, url: 'http://tiles.openseamap.org/seamark/{z}/{x}/{y}.png' }) });