Skip to main content

Class: ChartViewLambertConformalConicProjection

Defined in: src/sdk/charts/LambertConformalConicProjection.ts:8

A Lambert Conformal Conic projection for use with chart viewing

Constructors

Constructor

new ChartViewLambertConformalConicProjection(): ChartViewLambertConformalConicProjection

Returns

ChartViewLambertConformalConicProjection

Properties

valid

readonly valid: Subscribable<boolean>

Defined in: src/sdk/charts/LambertConformalConicProjection.ts:13

Methods

project()

project(lat, lon, out): void

Defined in: src/sdk/charts/LambertConformalConicProjection.ts:83

Projects a lat/lon point using the current parameters to an array of x and y coordinates, in metres.

Parameters

ParameterTypeDescription
latnumberthe latitude of the point to project
lonnumberthe longitude of the point to project
outFloat64Arraythe array to output the projected x and y coordinates

Returns

void

Throws

if the projection parameters are not set


reset()

reset(): void

Defined in: src/sdk/charts/LambertConformalConicProjection.ts:67

Resets this LCC projection's parameters

Returns

void


setParameters()

setParameters(standardParallel1, standardParallel2, originLat, originLon): void

Defined in: src/sdk/charts/LambertConformalConicProjection.ts:30

Sets the parameters of this LCC projection, after which points can be projected

Parameters

ParameterTypeDescription
standardParallel1numberThe first standard parallel.
standardParallel2numberThe second standard parallel.
originLatnumberThe origin (central) latitude.
originLonnumberThe origin (central) longitude.

Returns

void


setParametersFromChartAreaProjection()

setParametersFromChartAreaProjection(projection): void

Defined in: src/sdk/charts/LambertConformalConicProjection.ts:55

Sets the parameters of this LCC projection from a chart area projection, after which points can be projected

Parameters

ParameterTypeDescription
projectionChartLambertConformalConicProjectionthe chart area projection to take the LCC parameters from

Returns

void