Class: GeoCirclePathRenderer
Renders arcs along geo circles to a path stream stack.
Constructors
constructor
• new GeoCirclePathRenderer(): GeoCirclePathRenderer
Returns
Methods
render
▸ render(circle
, startLat
, startLon
, endLat
, endLon
, streamStack
, continuePath?
): void
Renders an arc along a geo circle to a path stream stack.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
circle | GeoCircle | undefined | The geo circle containing the arc to render. |
startLat | number | undefined | The latitude of the start of the arc, in degrees. |
startLon | number | undefined | The longitude of the start of the arc, in degrees. |
endLat | number | undefined | The latitude of the end of the arc, in degrees. |
endLon | number | undefined | The longitude of the end of the arc, in degrees. |
streamStack | GeoProjectionPathStreamStack | undefined | The path stream stack to which to render. |
continuePath | boolean | false | Whether to continue the previously rendered path. If true, a discontinuity in the rendered path will not be inserted before the arc is rendered. This may lead to undesired artifacts if the previously rendered path does not terminate at the point where the projected arc starts. Defaults to false. |
Returns
void
Defined in
src/sdk/components/map/GeoCirclePathRenderer.ts:26