Static
initRegisters 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 OpenLayers
per default. Add appropriate
mappings to allow automatic CRS detection by OpenLayers
here.
The custom CRS mappings which will be
added additionally to the by default available (s. defaultProj4CrsMappings
above).
Whether the default CRS should be mapped as well or not. Default is true.
Static
initRegisters custom CRS definitions to the application.
Optional
customCrsDefs: CrsDefinition | CrsDefinition[]The custom proj4
definitions
which should be registered additionally to default available CRS (s.
defaultProj4CrsDefinitions
above) as well.
Further CRS definitions in proj4 format can be checked under
http://epsg.io (e.g. http://epsg.io/3426.proj4).
Whether the default CRS should be registered or not. Default is true.
Static
toStatic
toStatic
zerofill
Helper class for projection handling. Makes use of Proj4js.
ProjectionUtil