- Source:
- proj.jsdoc, line 1
Classes
Members
-
<static> ProjectionLike
Stability: not documented -
- Source:
- proj.js, line 35
-
<static> Units :string
Stability: experimental -
- Source:
- proj.js, line 42
Properties:
Name Type Default Description DEGREESstring degrees FEETstring ft METERSstring m PIXELSstring pixels
Methods
-
<static> addProjection
Stability: experimental -
Parameters:
Name Type Description projectionol.proj.Projection Projection.
- Source:
- proj.js, line 376
-
<static> configureProj4jsProjection
Stability: experimental -
Parameters:
Name Type Description optionsolx.Proj4jsProjectionOptions Proj4js projection options.
- Source:
- proj.js, line 721
Returns:
Proj4js projection.
- Type
- ol.proj.Projection
-
<static> get
Stability: experimental -
Parameters:
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.
- Source:
- proj.js, line 474
Returns:
Projection.
- Type
- ol.proj.Projection
-
<static> getTransform
Stability: experimental -
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.
Parameters:
Name Type Description sourceol.proj.ProjectionLike Source.
destinationol.proj.ProjectionLike Destination.
- Source:
- proj.js, line 556
Returns:
Transform.
- Type
- ol.TransformFunction
-
<static> getTransformFromProjections
Stability: experimental -
Searches a function that can be used to convert coordinates from the source projection to the destination projection.
Parameters:
Name Type Description sourceProjectionol.proj.Projection Source projection.
destinationProjectionol.proj.Projection Destination projection.
- Source:
- proj.js, line 573
Returns:
Transform.
- Type
- ol.TransformFunction
-
<static> transform
Stability: experimental -
Parameters:
Name Type Description pointol.Coordinate Point.
sourceol.proj.ProjectionLike Source.
destinationol.proj.ProjectionLike Destination.
- Source:
- proj.js, line 693
Returns:
Point.
- Type
- ol.Coordinate
-
<static> transformWithProjections
Stability: experimental -
Transforms the given point to the destination projection.
Parameters:
Name Type Description pointol.Coordinate Point.
sourceProjectionol.proj.Projection Source projection.
destinationProjectionol.proj.Projection Destination projection.
- Source:
- proj.js, line 708
Returns:
Point.
- Type
- ol.Coordinate
TypeDefs
-
ProjectionLike
Stability: experimental -
A projection as ol.proj.Projection, SRS identifier string or undefined.
- Source:
- proj.js, line 29
OpenLayers 3