projectVisiblePoint
projectVisiblePoint(
projection,coordinates): [number,number] |null
Defined in: geo/geo-layer.ts:37
Project a Point’s [lon, lat] to screen coords, or return null when it isn’t
visible. A raw projection(point) returns coordinates even for back-facing points
(they fold onto the front disc). An azimuthal projection reports a positive
clipAngle (e.g. orthographic ≈ 90°); others report 0 (no angular clip). When
azimuthal, cull points whose great-circle distance from the view centre exceeds
that angle. Shared by geoLayer and the pass-through path so both cull
identically.
Parameters
Section titled “Parameters”projection
Section titled “projection”GeoProjection
coordinates
Section titled “coordinates”[number, number]
Returns
Section titled “Returns”[number, number] | null