ol. ol.proj

Source:
  • proj.jsdoc, line 1

Methods

<static> addCommonProjections

FIXME empty description for jsdoc

Source:
  • common.js, line 11

<static> addProjection

Parameters:
Name Type Description
projection ol.Projection

Projection.

Source:
  • proj.js, line 363

<static> configureProj4jsProjection

Parameters:
Name Type Description
options ol.Proj4jsProjectionOptions

Proj4js projection options.

Source:
  • proj.js, line 702
Returns:

Proj4js projection.

Type
ol.Projection

<static> get

Parameters:
Name Type Description
projectionLike ol.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 460
Returns:

Projection.

Type
ol.Projection

<static> getTransform

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
source ol.ProjectionLike

Source.

destination ol.ProjectionLike

Destination.

Source:
  • proj.js, line 541
Returns:

Transform.

Type
ol.TransformFunction

<static> getTransformFromProjections

Searches a function that can be used to convert coordinates from the source projection to the destination projection.

Parameters:
Name Type Description
sourceProjection ol.Projection

Source projection.

destinationProjection ol.Projection

Destination projection.

Source:
  • proj.js, line 557
Returns:

Transform.

Type
ol.TransformFunction

<static> transform

Parameters:
Name Type Description
point ol.Coordinate

Point.

source ol.ProjectionLike

Source.

destination ol.ProjectionLike

Destination.

Source:
  • proj.js, line 676
Returns:

Point.

Type
ol.Coordinate

<static> transformWithProjections

Transforms the given point to the destination projection.

Parameters:
Name Type Description
point ol.Coordinate

Point.

sourceProjection ol.Projection

Source projection.

destinationProjection ol.Projection

Destination projection.

Source:
  • proj.js, line 690
Returns:

Point.

Type
ol.Coordinate