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

@@ -11,6 +11,7 @@ import _ol_source_TileWMS_ from '../src/ol/source/TileWMS.js';
import _ol_source_WMTS_ from '../src/ol/source/WMTS.js';
import _ol_source_XYZ_ from '../src/ol/source/XYZ.js';
import _ol_tilegrid_TileGrid_ from '../src/ol/tilegrid/TileGrid.js';
import proj4 from 'proj4';
proj4.defs('EPSG:27700', '+proj=tmerc +lat_0=49 +lon_0=-2 +k=0.9996012717 ' +