ChartMapConnector
ChartForgeX.Core
Represents a connector line between two longitude/latitude positions on a map chart.
Inheritance
- ValueType
- ChartMapConnector
Usage
Explore 10 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 5
- Method ChartMapConnector.WithEndpointClearance
- Method ChartMapConnector.WithFeature
- Method ChartMapGeoJson.ToMapConnectors
- Property ChartMapOptions.Connectors
- Property ChartSeries.MapConnectors
Accepted by parameters 5
- Extension method ChartMapOptions.Connector
- Extension method ChartMapOptions.Connectors
- Method ChartMapOptionsFluent.Connector
- Method ChartMapOptionsFluent.Connectors
- Method ChartSeries.ReplaceMapConnectors
Constructors
public ChartMapConnector(string label, double fromLongitude, double fromLatitude, double toLongitude, double toLatitude, ChartColor? color = null) #Initializes a new instance of the ChartMapConnector struct.
Parameters
- label string
- fromLongitude double
- fromLatitude double
- toLongitude double
- toLatitude double
- color ChartForgeX.Primitives.ChartColor? = null
public ChartMapConnector(string label, IEnumerable<ChartMapPoint> routePoints, ChartColor? color = null) #Initializes a new instance of the ChartMapConnector struct with ordered longitude/latitude route points.
Parameters
- label string
- routePoints System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartMapPoint>
- color ChartForgeX.Primitives.ChartColor? = null
Methods
public ChartMapConnector WithEndpointClearance(double? gap) #Returns the same source route with opt-in endpoint-disk clipping of its native line and halo.
Parameters
- gap double?
- Nonnegative finite additional gap in logical units, or null to restore legacy geometry.
public ChartMapConnector WithFeature(ChartMapFeature? feature) #Returns the same route and paint with replacement immutable feature metadata.
Parameters
- feature ChartForgeX.Core.ChartMapFeature?
- The snapshot, or null to clear it. No series observation ID is assigned.
Returns
ChartMapConnectorInherited Methods
Properties
public ChartMapFeature? Feature { get; } #Gets optional immutable feature metadata, independent of series observation IDs.
public double? EndpointClearance { get; } #Gets optional additional endpoint clearance in logical scene units. Null retains the legacy route geometry.
public IReadOnlyList<ChartMapPoint> RoutePoints { get; } #Gets the optional ordered route points. When empty, renderers use the source and target coordinates as a simple connector.