Use proj4 from the proj4 package instead of the global

This commit is contained in:
Andreas Hocevar
2017-12-16 01:27:43 +01:00
parent 9f1ebbb852
commit 5c5664ec30
10 changed files with 15 additions and 19 deletions

View File

@@ -6,6 +6,7 @@ import {get as getProjection, getTransform} from '../src/ol/proj.js';
import {register} from '../src/ol/proj/proj4.js';
import _ol_source_OSM_ from '../src/ol/source/OSM.js';
import _ol_source_TileImage_ from '../src/ol/source/TileImage.js';
import proj4 from 'proj4';
var map = new _ol_Map_({