Skip to content

Commit

Permalink
Merge pull request #2839 from camptocamp/provide-support-for-swisstop…
Browse files Browse the repository at this point in the history
…o-cross-origin-option

Add support for crossOrigin option
  • Loading branch information
Aleksey Pastuhov committed Aug 28, 2017
2 parents c6cbcb8 + 0443d9b commit 1a9cee1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/source/swisstopo.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ exports = function(options) {
style: 'default',
matrixSet: projectionCode,
format,
tileGrid: tilegrid
tileGrid: tilegrid,
crossOrigin: options.crossOrigin
});
};
ol.inherits(exports, ol.source.WMTS);

0 comments on commit 1a9cee1

Please sign in to comment.