• 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);

    Parameters

    • proj4: any

      Proj4.

    Returns void

    Api

Generated using TypeDoc