ChartMapViewport
ChartForgeX.Core
Defines the longitude and latitude window rendered by a dotted map.
Inheritance
- ValueType
- ChartMapViewport
Usage
Explore 20 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 13
- Property ChartMapDefinition.PolygonViewport
- Property ChartMapGeoJsonOptions.PolygonViewport
- Property ChartMapOptions.Viewport
- Method ChartMapViewport.AcrossAntimeridian
- Method ChartMapViewport.Africa
- Method ChartMapViewport.Asia
- Method ChartMapViewport.Europe
- Method ChartMapViewport.NorthAmerica
- Method ChartMapViewport.Oceania
- Method ChartMapViewport.Poland
- Method ChartMapViewport.SouthAmerica
- Method ChartMapViewport.World
- Property TopologyChart.MapViewport
Accepted by parameters 7
- Method ChartMapDefinition.WithPolygonViewport
- Extension method ChartMapGeoJsonOptions.PolygonViewport
- Method ChartMapGeoJsonOptionsFluent.PolygonViewport
- Extension method ChartMapOptions.Viewport
- Method ChartMapOptionsFluent.Viewport
- Extension method TopologyChart.MapViewport
- Method TopologyChartFluent.MapViewport
Constructors
public ChartMapViewport(string name, double minimumLongitude, double maximumLongitude, double minimumLatitude, double maximumLatitude) #Initializes a new instance of the ChartMapViewport struct.
Parameters
- name string
- minimumLongitude double
- maximumLongitude double
- minimumLatitude double
- maximumLatitude double
Methods
public static ChartMapViewport AcrossAntimeridian(string name, double westLongitude, double eastLongitude, double minimumLatitude, double maximumLatitude, ChartMapGeoJsonProjection projection = Equirectangular) #Creates an explicit eastward point/route window crossing +180/-180 without rewriting authored source coordinates.
Parameters
- name string
- The nonblank viewport name.
- westLongitude double
- Raw western boundary in [-180,180], strictly greater than the raw eastern boundary.
- eastLongitude double
- Raw eastern boundary in [-180,180]. The increasing span across the seam must be positive and less than one turn.
- minimumLatitude double
- Inclusive southern raw latitude in [-90,90].
- maximumLatitude double
- Inclusive northern raw latitude, greater than the southern boundary.
- projection ChartForgeX.Core.ChartMapGeoJsonProjection = Equirectangular
- A cylindrical geographic projection. Web Mercator keeps its existing polar latitude clamp; United States composites are rejected.
public static ChartMapViewport NorthAmerica() #Gets a North America-focused viewport.
Returns
ChartMapViewportpublic static ChartMapViewport SouthAmerica() #Gets a South America-focused viewport.
Returns
ChartMapViewportInherited Methods
Properties
public bool CrossesAntimeridian { get; } #Gets whether raw longitude bounds cross the antimeridian. Ordered constructor windows remain false.
public double LongitudeSpan { get; } #Gets the positive increasing unwrapped longitude span in degrees. Raw west/east values are unchanged.
public ChartMapGeoJsonProjection? GeographicProjection { get; } #Gets the explicit existing projection of a seam-crossing point/route window; null retains ordinary composition projection selection.