External module "api/registry/projections"
Functions
ensureProjection
ensureProjection( epsgCode: number , locale: string , alias?: undefined | string , factoryIfNotFound?: undefined | function ) : Promise < [ number , string ] >
Parameters
epsgCode: number
locale: string
Optional alias: undefined | string
Optional factoryIfNotFound: undefined | function
Returns Promise < [ number , string ] >
resolveProjectionFromEpsgIoAsync
resolveProjectionFromEpsgIoAsync( epsg: string | number , locale: string , mapDef: string ) : Promise < any >
Parameters
epsg: string | number
locale: string
mapDef: string
Returns Promise < any >
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Ensures the given projection (by EPSG code) exists and if not invokes the given factory function (or does an epsg.io lookup) to fetch the definition to be registered.
Once registered, it will update the projection set within OpenLayers
0.13