Skip to main content

@mapgear/mapengine > Geometry > Transform

Geometry.Transform() method

Warning: This API is now obsolete.

  • Is replaced by the Transform-method, with only a target EPSG code

Transform the current geometry. The returned geometry is a copy of the current geometry object

Signature:
Transform(source: string, target: string): Geometry;

Parameters

ParameterTypeDescription
sourcestringSource projection
targetstringTarget projection
Returns:

Geometry