Function to retrieve projection metadata for an EPSG code.
SRS code, i.e. "4326"
resolving to a metadata object describing a projection.
Returns a list of metadata objects for available projections.
a list of all available projections.
Transforms a geometry or an array of geometries.
input geometry (may also be an array of geometries)
target code for transformation
Optional
coordinateModificationCallback: CoordinateModificationCallbackcan be used to pre-process point coordinates before transformation
the transformed geometry (if input was an array, output will be an array of transformed geometries)
Dedicated function to transform an extent based on center and scale.
input extent, which center is used
target scale for transformation
SRS for transformation
the transformed extent
A CoordinateTransformer transforms Esri geometries from one coordinate reference system to another. Additionally it can be used to retrieve a list of available coordinate reference systems.
Use
coordinatetransformer.CoordinateTransformer
to inject an instance of this service into your components.Example: Use in own bundle
In your manifest.json:
In your code (MyComponent.ts):