AbstractStaticCUSTOM_Holding all custom generated wkt
StaticCUSTOM_Incremental number when creating custom WKTs on the fly
StaticPROJECTION_Constant used for the available projection names
StaticPROJECTIONSList of supported projections and their OpenLayers projection
StaticaddFetches definitions for unsupported projections and adds them.
Object containing wkid and possibly latestWkid from service metadata
A promise that resolves when the projection is added
StaticaddFetches definitions for unsupported projections and adds them.
Projection code number
A promise that resolves when the projection is added
StaticaddChecks if a projection exists for GeoView and if not it adds it on-the-fly using the provided projection string information.
The projection string to check if existing and to add when not existing
A promise that resolves when the projection is added if missing
StaticgetWrapper around OpenLayers get function that fetches a Projection object for the code specified.
A projection object with properties such as latestWkid, wkid, or wkt
Projection object, or undefined if not in list
StaticgetWrapper around OpenLayers get function that fetches a Projection object for the code specified.
A code string which is a combination of authority and identifier such as "EPSG:4326"
Projection object, or undefined if not found
StaticgetWrapper around OpenLayers get function that fetches a Projection object for the code specified.
A code string which is a combination of authority and identifier such as "EPSG:4326"
Projection object, or undefined if not in list
StaticgetGets the projection representing a LonLat projection.
Projection object representing LonLat
StaticgetGet map point resolution.
The projection code
Map center
The point resolution for map center
StaticreadReads the numeric EPSG code from a projection string.
Supports case-insensitive formats such as:
"EPSG:4326""epsg:3857""EpSg: 1234"
The function trims whitespace and validates that the string matches a proper
EPSG:<number> pattern. Returns undefined if the format is invalid or the
numeric part is not a valid number.The projection like identifier containing the EPSG code
The extracted EPSG numeric code, or undefined if invalid
StaticreadReads an extent and verifies if it might be reversed (ymin,xmin,ymax,ymin) and when so puts it back in order (xmin,ymin,xmax,ymax).
The projection the extent is in
The extent to check
The extent in order (xmin,ymin,xmax,ymax)
StatictransformWrapper around OpenLayers function to transforms a coordinate from one projection to another.
Longitude/latitude coordinate
Actual projection of the coordinate
Desired projection of the coordinate
Coordinate as projected
StatictransformTransforms an extent from source projection to destination projection.
This returns a new extent (and does not modify the original).
The extent to transform
Source projection-like
Destination projection-like
Optional number of stops per side used for the transform. The default value is 25
The densified extent transformed in the destination projection
StatictransformTransform coordinates between two projections.
The coordinates to transform
The current projection of the coordinates. Note: the value should include 'EPSG:' then the projection number.
The transformed projection of the coordinates. Note: the value should include 'EPSG:' then the projection number.
The transformed coordinates
StatictransformTransforms an extent from source projection to destination projection.
This returns a new extent (and does not modify the original).
The extent to transform
An object containing a wkid or wkt property
Destination projection-like
Optionalstops: numberOptional number of stops per side used for the transform. By default only the corners are used
The new extent transformed in the destination projection
StatictransformTransforms an extent from source projection to destination projection.
This returns a new extent (and does not modify the original).
The extent to transform
Source projection-like
Destination projection-like
Optionalstops: numberOptional number of stops per side used for the transform. By default only the corners are used
The new extent transformed in the destination projection
StatictransformTransforms an extent from source projection to destination projection.
This returns a new extent (and does not modify the original).
The extent to transform
An EPSG id number
Destination projection-like
Optionalstops: numberOptional number of stops per side used for the transform. By default only the corners are used
The new extent transformed in the destination projection
StatictransformTransforms an extent from source projection to destination projection.
This returns a new extent (and does not modify the original).
The extent to transform
A custom WKT projection
Destination projection-like
Optionalstops: numberOptional number of stops per side used for the transform. By default only the corners are used
The new extent transformed in the destination projection
StatictransformWrapper around OpenLayers function to transforms a coordinate from longitude/latitude.
Longitude/latitude coordinate
Projection to project the coordinate
Coordinate as projected
StatictransformConverts points from one projection to another using proj4.
Array of passed in points to convert
Projection to be converted from
Projection to be converted to
The converted points array
StatictransformWrapper around OpenLayers function to transforms a coordinate to longitude/latitude.
Projected coordinate
Projection of the coordinate
Coordinate as longitude and latitude, i.e. an array with longitude as 1st and latitude as 2nd element
StatictransformFunction for converting a coordinate to a UTM Northing / Easting.
The coordinate to be converted
The utm zone the return coordinates will be in
The returned coordinates in UTM Northing / Easting
Class used to handle functions for transforming projections.