new Projection
Parameters:
| Name | Type | Description |
|---|---|---|
code |
string | Code. |
units |
ol.ProjectionUnits | Units. |
extent |
ol.Extent | Extent. |
- Source:
- projection.js, line 33
Members
-
<static, constant> EPSG_3857_EXTENT :ol.Extent
-
- Source:
- projection.js, line 425
-
<static, constant> EPSG_3857_HALF_SIZE :number
-
- Source:
- projection.js, line 418
-
<static, constant> EPSG_3857_RADIUS :number
-
- Source:
- projection.js, line 387
-
<static, constant> EPSG_4326_LIKE_PROJECTIONS :Array.<ol.Projection>
-
- Source:
- projection.js, line 482
Methods
-
<static> addProj4jsProjection
-
Parameters:
Name Type Description proj4jsProjectionol.Proj4jsProjection Proj4js projection. - Source:
- projection.js, line 168
-
<static> addProjection
-
Parameters:
Name Type Description projectionol.Projection Projection. - Source:
- projection.js, line 179
-
<static> addProjections
-
Parameters:
Name Type Description projectionsArray.<ol.Projection> Projections. - Source:
- projection.js, line 190
-
<static> addTransform
-
Parameters:
Name Type Description sourceol.Projection Source. destinationol.Projection Destination. transformFnol.TransformFunction Transform. - Source:
- projection.js, line 202
-
<static> cloneTransform
-
Parameters:
Name Type Description pointol.Coordinate Point. - Source:
- projection.js, line 352
Returns:
Point.- Type
- ol.Coordinate
-
<static> equivalent
-
Parameters:
Name Type Description projection1ol.Projection Projection 1. projection2ol.Projection Projection 2. - Source:
- projection.js, line 255
Returns:
Equivalent.- Type
- boolean
-
<static> forwardSphericalMercator
-
Parameters:
Name Type Description pointol.Coordinate Point. - Source:
- projection.js, line 394
Returns:
Point.- Type
- ol.Coordinate
-
getCode
-
- Source:
- projection.js, line 59
Returns:
Code.- Type
- string
-
getExtent
-
- Source:
- projection.js, line 67
Returns:
Extent.- Type
- ol.Extent
-
<static> getFromCode
-
Parameters:
Name Type Description codestring Code. - Source:
- projection.js, line 220
Returns:
Projection.- Type
- ol.Projection
-
<static> getTransform
-
Parameters:
Name Type Description sourceol.Projection Source. destinationol.Projection Destination. - Source:
- projection.js, line 272
Returns:
Transform.- Type
- ol.TransformFunction
-
<static> getTransformFromCodes
-
Parameters:
Name Type Description sourceCodestring Source code. destinationCodestring Destination code. - Source:
- projection.js, line 324
Returns:
Transform.- Type
- ol.TransformFunction
-
getUnits
-
- Source:
- projection.js, line 75
Returns:
Units.- Type
- ol.ProjectionUnits
-
<static> identityTransform
-
Parameters:
Name Type Description pointol.Coordinate Point. - Source:
- projection.js, line 343
Returns:
Point.- Type
- ol.Coordinate
-
<static> inverseSphericalMercator
-
Parameters:
Name Type Description pointol.Coordinate Point. - Source:
- projection.js, line 406
Returns:
Point.- Type
- ol.Coordinate
-
<static> isProj4jsSupported
-
- Source:
- projection.js, line 334
Returns:
Has Proj4js.- Type
- boolean
-
<static> transform
-
Parameters:
Name Type Description pointol.Coordinate Point. sourceol.Projection Source. destinationol.Projection Destination. - Source:
- projection.js, line 363
Returns:
Point.- Type
- ol.Coordinate
-
<static> transformWithCodes
-
Parameters:
Name Type Description pointol.Coordinate Point. sourceCodestring Source code. destinationCodestring Destination code. - Source:
- projection.js, line 375
Returns:
Point.- Type
- ol.Coordinate