Classes
Members
-
experimental static,constantol.proj.METERS_PER_UNIT[undefined]Object.<ol.proj.Units, number>
-
Meters per unit lookup table.
Methods
-
experimental staticol.proj.addProjection(projection)
-
Name Type Description projectionol.proj.Projection Projection.
-
experimental staticol.proj.configureProj4jsProjection(options){ol.proj.Projection}
-
Name Type Description optionsProj4js projection options.
Name Type Description codestring The SRS identifier code, e.g.
EPSG:31256.extentol.Extent | undefined The validity extent for the SRS.
globalboolean | undefined Whether the projection is valid for the whole globe. Default is
false.Returns:
projection.
-
experimental staticol.proj.get(projectionLike){ol.proj.Projection}
-
Name Type Description projectionLikeol.proj.ProjectionLike Either a code string which is a combination of authority and identifier such as "EPSG:4326", or an existing projection object, or undefined.
-
experimental staticol.proj.getTransform(source, destination){ol.TransformFunction}
-
Given the projection-like objects this method searches for a transformation function to convert a coordinates array from the source projection to the destination projection.
Name Type Description sourceol.proj.ProjectionLike Source.
destinationol.proj.ProjectionLike Destination.
-
experimental staticol.proj.getTransformFromProjections(sourceProjection, destinationProjection){ol.TransformFunction}
-
Searches a function that can be used to convert coordinates from the source projection to the destination projection.
Name Type Description sourceProjectionol.proj.Projection Source projection.
destinationProjectionol.proj.Projection Destination projection.
-
experimental staticol.proj.transform(point, source, destination){ol.Coordinate}
-
Name Type Description pointol.Coordinate Point.
sourceol.proj.ProjectionLike Source.
destinationol.proj.ProjectionLike Destination.
-
experimental staticol.proj.transformWithProjections(point, sourceProjection, destinationProjection){ol.Coordinate}
-
Transforms the given point to the destination projection.
Name Type Description pointol.Coordinate Point.
sourceProjectionol.proj.Projection Source projection.
destinationProjectionol.proj.Projection Destination projection.
Type Definitions
-
experimental ol.proj.ProjectionLikeol.proj.Projection string undefined
-
A projection as
ol.proj.Projection, SRS identifier string or undefined. -
experimental ol.proj.Unitsstring
-
Projection units:
'degrees','ft','m'or'pixels'.
OpenLayers 3