API Reference
Class
ChartMapDefinition
Describes reusable map geometry that can be rendered with different map visual styles.
Inheritance
- Object
- ChartMapDefinition
Usage
Explore 19 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
- Method ChartMapCatalog.All
- Method ChartMapCatalog.FromAssetDirectory
- Method ChartMapCatalog.FromGeoJson
- Method ChartMapCatalog.FromGeoJsonFile
- Method ChartMapCatalog.Get
- Method ChartMapCatalog.Load
- Method ChartMapCatalogEntry.FromAssetDirectory
- Method ChartMapCatalogEntry.FromGeoJson
- Method ChartMapCatalogEntry.FromGeoJsonFile
- Method ChartMapDefinition.FromGeoJson
- Method ChartMapGeoJson.ToMapDefinition
- Property ChartMapLayer.Definition
- Property ChartOptions.RegionMapDefinition
Accepted by parameters 6
- Method Chart.AddMapBaseLayer
- Method Chart.AddMapBoundaryLayer
- Method Chart.AddRegionHeatmap
- Method Chart.AddRegionMap
- Method ChartMapCatalog.TryGet
- Constructor ChartMapLayer.ChartMapLayer
Constructors
ChartMapDefinition 2 overloads
public ChartMapDefinition(String id, String name, Double width, Double height, IEnumerable<ChartMapRegion> regions) #Initializes a new instance of the ChartMapDefinition class with bounds starting at zero.
Parameters
- id System.String
- The stable map identifier.
- name System.String
- The display name.
- width System.Double
- The map coordinate width.
- height System.Double
- The map coordinate height.
- regions System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartMapRegion>
- The drawable regions.
public ChartMapDefinition(String id, String name, ChartRect bounds, IEnumerable<ChartMapRegion> regions) #Initializes a new instance of the ChartMapDefinition class.
Parameters
- id System.String
- The stable map identifier.
- name System.String
- The display name.
- bounds ChartForgeX.Primitives.ChartRect
- The coordinate bounds occupied by the map paths.
- regions System.Collections.Generic.IEnumerable<ChartForgeX.Core.ChartMapRegion>
- The drawable regions.
Methods
public static ChartMapDefinition FromGeoJson(String id, String name, String geoJson, ChartMapGeoJsonOptions? options = null) #Returns:
ChartMapDefinitionCreates a map definition from a GeoJSON FeatureCollection or Feature.
Parameters
- id System.String
- The stable map identifier.
- name System.String
- The display name.
- geoJson System.String
- The GeoJSON document.
- options ChartForgeX.Core.ChartMapGeoJsonOptions? = null
- Optional import settings.
Returns
A reusable map definition.
public Boolean TryResolveRegion(String region, out String code) #Returns:
BooleanResolves a caller-provided region code or alias to the canonical region code.
Parameters
- region System.String
- The code, name, or alias to resolve.
- code System.String
- The canonical region code.
Returns
true when the region can be resolved; otherwise false.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?