@mapgear/mapengine > Map > ConvertCoordinate
Map.ConvertCoordinate() method
Converts a coordinate between two projections
Signature:ConvertCoordinate(inputProjection: string, outputProject: string, coordinate: number[]): number[];
Parameters
Parameter | Type | Description |
---|---|---|
inputProjection | string | Input projection in the form of EPSG:XXXX |
outputProject | string | Output projection in the form of EPSG:XXXX |
coordinate | number[] | Coordinate to convert |
number[]