Module types for ol/proj

This commit is contained in:
Tim Schaub
2018-03-11 23:20:25 -06:00
parent ef70d71636
commit a743ec3989
49 changed files with 103 additions and 103 deletions

View File

@@ -10,7 +10,7 @@ import TileWMS from '../src/ol/source/TileWMS.js';
// By default OpenLayers does not know about the EPSG:21781 (Swiss) projection.
// So we create a projection instance for EPSG:21781 and pass it to
// ol.proj.addProjection to make it available to the library for lookup by its
// ol/proj~addProjection to make it available to the library for lookup by its
// code.
const projection = new Projection({
@@ -23,7 +23,7 @@ const projection = new Projection({
addProjection(projection);
// We also declare EPSG:21781/EPSG:4326 transform functions. These functions
// are necessary for the ScaleLine control and when calling ol.proj.transform
// are necessary for the ScaleLine control and when calling ol/proj~transform
// for setting the view's initial center (see below).
addCoordinateTransforms('EPSG:4326', projection,