Named exports from ol/source/OSM

This commit is contained in:
Tim Schaub
2018-02-25 08:23:05 -07:00
parent 33d91f1b89
commit 42cf5f8511
4 changed files with 21 additions and 19 deletions

View File

@@ -2,7 +2,7 @@
* @module ol/source/Stamen
*/
import {inherits} from '../index.js';
import OSM from '../source/OSM.js';
import {ATTRIBUTION as OSM_ATTRIBUTION} from '../source/OSM.js';
import XYZ from '../source/XYZ.js';
@@ -14,7 +14,7 @@ const ATTRIBUTIONS = [
'Map tiles by <a href="https://stamen.com/">Stamen Design</a>, ' +
'under <a href="https://creativecommons.org/licenses/by/3.0/">CC BY' +
' 3.0</a>.',
OSM.ATTRIBUTION
OSM_ATTRIBUTION
];