Class: GeometryTransformationService

GeometryTransformationService

Domain service for transforming geometries.

new GeometryTransformationService()

MapboxViewer/domain/services/GeometryTransformationService.ts, line 4

Methods

transformTo4326(geometry)

MapboxViewer/domain/services/GeometryTransformationService.ts, line 20

Transforms a geometry's coordinates from EPSG:3857 to EPSG:4326.

Name Type Description
geometry

The OpenLayers geometry.

Returns:
The GeoJSON geometry with transformed coordinates.