It projects the point using the projection array and finds the first one for which it falls inside of the viewProjection extent.
A coordinates in the view's projection if it matches in one of the given projections, or null else.
The point to test.
Limits in which coordinates can be valid.
Target projection the point.
Optional
opt_projections: (string | Projection)[]optional array of projections. The point is tested in each projection, in the order of the array.
Same as AutoProjection.tryProjections but if tryProjections return null, re-call it with coordinates in reverse order.
A coordinates in the view's projection if it matches in one of the given projections, or null else.
The point to test.
Limits in which coordinates can be valid.
Target projection the point.
Optional
opt_projections: (string | Projection)[]optional array of projections. The point is tested in each projection, in the order of the array.
Generated using TypeDoc
Get an array of projections corresponding to their EPSG codes. Log an error for each code that are not defined in ol projections.
Returns
An array of projections.