Class: ProjectionUtil

ProjectionUtil()

Helper class for ol/proj4 projection handling.

Constructor

new ProjectionUtil()

Source:

Methods

(static) initProj4DefinitionMappings(proj4CrsMappings)

Registers custom crs mappings to allow automatic crs detection. Sometimes FeatureCollections returned by the GeoServer may be associated with crs identifiers (e.g. "urn:ogc:def:crs:EPSG::25832") that aren't supported by proj4 and/or ol per default. Add appropriate mappings to allow automatic crs detection by ol here.

Parameters:
Name Type Description
proj4CrsMappings Object

The crs mappings.

Source:

(static) initProj4Definitions(proj4CrsDefinitions)

Registers custom crs definitions to the application.

Parameters:
Name Type Description
proj4CrsDefinitions Object

The (custom) proj4 definition strings.

Source: