new Projection
Parameters:
| Name | Type | Description |
|---|---|---|
code |
string | Code. |
units |
ol.ProjectionUnits | Units. |
extent |
ol.Extent | Extent. |
- Source:
- projection.js, line 34
Members
-
<static, constant> EPSG_3857_EXTENT :ol.Extent
-
- Source:
- projection.js, line 447
-
<static, constant> EPSG_3857_HALF_SIZE :number
-
- Source:
- projection.js, line 440
-
<static, constant> EPSG_3857_RADIUS :number
-
- Source:
- projection.js, line 409
-
<static, constant> EPSG_4326_LIKE_PROJECTIONS :Array.<ol.Projection>
-
- Source:
- projection.js, line 504
Methods
-
<static> addProj4jsProjection
-
Parameters:
Name Type Description proj4jsProjectionol.Proj4jsProjection Proj4js projection. - Source:
- projection.js, line 171
-
<static> addProjection
-
Parameters:
Name Type Description projectionol.Projection Projection. - Source:
- projection.js, line 182
-
<static> addProjections
-
Parameters:
Name Type Description projectionsArray.<ol.Projection> Projections. - Source:
- projection.js, line 195
-
<static> addTransform
-
Parameters:
Name Type Description sourceol.Projection Source. destinationol.Projection Destination. transformFnol.TransformFunction Transform. - Source:
- projection.js, line 224
-
<static> cloneTransform
-
Parameters:
Name Type Description pointol.Coordinate Point. - Source:
- projection.js, line 374
Returns:
Point.- Type
- ol.Coordinate
-
<static> createProjection
-
Parameters:
Name Type Description projectionol.Projection | string | undefined Projection. defaultCodestring Default code. - Source:
- projection.js, line 207
Returns:
Projection.- Type
- ol.Projection
-
<static> equivalent
-
Parameters:
Name Type Description projection1ol.Projection Projection 1. projection2ol.Projection Projection 2. - Source:
- projection.js, line 277
Returns:
Equivalent.- Type
- boolean
-
<static> forwardSphericalMercator
-
Parameters:
Name Type Description pointol.Coordinate Point. - Source:
- projection.js, line 416
Returns:
Point.- Type
- ol.Coordinate
-
<static> getFromCode
-
Parameters:
Name Type Description codestring Code. - Source:
- projection.js, line 242
Returns:
Projection.- Type
- ol.Projection
-
<static> getTransform
-
Parameters:
Name Type Description sourceol.Projection Source. destinationol.Projection Destination. - Source:
- projection.js, line 294
Returns:
Transform.- Type
- ol.TransformFunction
-
<static> getTransformFromCodes
-
Parameters:
Name Type Description sourceCodestring Source code. destinationCodestring Destination code. - Source:
- projection.js, line 346
Returns:
Transform.- Type
- ol.TransformFunction
-
<static> identityTransform
-
Parameters:
Name Type Description pointol.Coordinate Point. - Source:
- projection.js, line 365
Returns:
Point.- Type
- ol.Coordinate
-
<static> inverseSphericalMercator
-
Parameters:
Name Type Description pointol.Coordinate Point. - Source:
- projection.js, line 428
Returns:
Point.- Type
- ol.Coordinate
-
<static> isProj4jsSupported
-
- Source:
- projection.js, line 356
Returns:
Has Proj4js.- Type
- boolean
-
<static> transform
-
Parameters:
Name Type Description pointol.Coordinate Point. sourceol.Projection Source. destinationol.Projection Destination. - Source:
- projection.js, line 385
Returns:
Point.- Type
- ol.Coordinate
-
<static> transformWithCodes
-
Parameters:
Name Type Description pointol.Coordinate Point. sourceCodestring Source code. destinationCodestring Destination code. - Source:
- projection.js, line 397
Returns:
Point.- Type
- ol.Coordinate
-
getCode
-
- Source:
- projection.js, line 60
Returns:
Code.- Type
- string
-
getExtent
-
- Source:
- projection.js, line 68
Returns:
Extent.- Type
- ol.Extent
-
getUnits
-
- Source:
- projection.js, line 76
Returns:
Units.- Type
- ol.ProjectionUnits