Skip to main content

@mapgear/mapengine > MapEngineFactory > RegisterProjection

MapEngineFactory.RegisterProjection() method

Register an additional projection in the mapengine

Signature:
RegisterProjection(epsgCode: string, projectionString: string): void;

Parameters

ParameterTypeDescription
epsgCodestringEPSG code in the form of EPSG:XXXX
projectionStringstringThe proj4 string of the related projection
Returns:

void