transform: { CRSTypes: typeof CRSTypes; EpsgCrsTypes: typeof EpsgCrsTypes; convert: (<T>(input,
crsFrom,
crsTo?) => T); getEpsgCode: ((coordinate,
crs?,
is3DegreeBelt?) => any[]); getEpsgParam: ((crs,
lon?) => { epsg: string; proj: string; }); } = ... Type declaration
CRSTypes: typeof CRSTypes
EpsgCrsTypes: typeof EpsgCrsTypes
convert: (<T>(input, crsFrom, crsTo?) => T)
- <T>(input, crsFrom, crsTo?): T
Parameters
input: string | T
crsFrom: CRSTypes | ((pt) => GeoPoint)
Optional
crsTo: CRSTypes
Returns T
output
getEpsgCode: ((coordinate, crs?, is3DegreeBelt?) => any[])
- (coordinate, crs?, is3DegreeBelt?): any[]
Parameters
coordinate: number | [number, number]
Optional
crs: EpsgCrsTypes
Optional
is3DegreeBelt: boolean
Returns any[]
getEpsgParam: ((crs, lon?) => {
epsg: string;
proj: string;
})
- (crs, lon?): {
epsg: string;
proj: string;
} Parameters
crs: EpsgCrsTypes
Optional
lon: number
Returns {
epsg: string;
proj: string;
}
transform