AbstractStaticCUSTOM_StaticCUSTOM_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.
StaticaddStaticaddChecks 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.
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.
StaticgetStaticgetStaticgetStaticgetGet 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.
StaticreadStatictransformWrapper 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
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
Exports
Projection