Register proj4. If not explicitly registered, it will be assumed that proj4js will be loaded in the global namespace. For example in a browserify ES6 environment you could use:
import ol from 'openlayers';import proj4 from 'proj4';ol.proj.setProj4(proj4); Copy
import ol from 'openlayers';import proj4 from 'proj4';ol.proj.setProj4(proj4);
Proj4.
Generated using TypeDoc
Register proj4. If not explicitly registered, it will be assumed that proj4js will be loaded in the global namespace. For example in a browserify ES6 environment you could use: