API Reference
ChartMapGeoJsonOptions
Configures how GeoJSON features are converted into map regions.
Inheritance
- Object
- ChartMapGeoJsonOptions
Usage
Explore 13 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 3
Accepted by parameters 10
- Method ChartMapCatalog.FromAssetDirectory
- Method ChartMapCatalog.FromGeoJson
- Method ChartMapCatalog.FromGeoJsonFile
- Method ChartMapCatalog.Load
- Constructor ChartMapCatalogEntry.ChartMapCatalogEntry
- Method ChartMapCatalogEntry.FromAssetDirectory
- Method ChartMapCatalogEntry.FromGeoJson
- Method ChartMapCatalogEntry.FromGeoJsonFile
- Method ChartMapDefinition.FromGeoJson
- Method ChartMapGeoJson.ToMapDefinition
Constructors
public ChartMapGeoJsonOptions() #Methods
public ChartMapGeoJsonOptions IncludeFeaturePropertyValues(String propertyName, params String[] values) #ChartMapGeoJsonOptionsLimits imported features to those whose property value matches one of the supplied values.
Parameters
- propertyName System.String
- The GeoJSON feature property name.
- values System.String[]
- The accepted property values.
Returns
The current options instance.
public ChartMapGeoJsonOptions WithCoordinateBounds(Double minimumLongitude, Double maximumLongitude, Double minimumLatitude, Double maximumLatitude, Boolean includeIntersections = true) #ChartMapGeoJsonOptionsConfigures a longitude/latitude window used to include imported GeoJSON features.
Parameters
- minimumLongitude System.Double
- The minimum longitude in degrees.
- maximumLongitude System.Double
- The maximum longitude in degrees.
- minimumLatitude System.Double
- The minimum latitude in degrees.
- maximumLatitude System.Double
- The maximum latitude in degrees.
- includeIntersections System.Boolean = true
- Whether features crossing the window are included.
Returns
The current options instance.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public String[] CodePropertyNames { get; set; } #Gets or sets property names searched for canonical region codes.
public String[] NamePropertyNames { get; set; } #Gets or sets property names searched for region display names.
public String[] AliasPropertyNames { get; set; } #Gets or sets property names searched for alternate region aliases.
public String GeneratedCodePrefix { get; set; } #Gets or sets the prefix used when a feature has no code-like property.
public ChartMapGeoJsonProjection Projection { get; set; } #Gets or sets the coordinate projection used for longitude/latitude coordinates.
public Boolean SkipUnsupportedGeometries { get; set; } #Gets or sets a value indicating whether unsupported non-polygon geometries are skipped.
public Boolean IncludeFeatureIdAsAlias { get; set; } #Gets or sets a value indicating whether a top-level GeoJSON feature ID should be added as an alias.
public Double? MinimumLongitude { get; set; } #Gets or sets the minimum longitude used to include GeoJSON features. Leave unset to include every longitude.
public Double? MaximumLongitude { get; set; } #Gets or sets the maximum longitude used to include GeoJSON features. Leave unset to include every longitude.
public Double? MinimumLatitude { get; set; } #Gets or sets the minimum latitude used to include GeoJSON features. Leave unset to include every latitude.
public Double? MaximumLatitude { get; set; } #Gets or sets the maximum latitude used to include GeoJSON features. Leave unset to include every latitude.
public Boolean IncludeFeaturesIntersectingCoordinateBounds { get; set; } #Gets or sets a value indicating whether partially overlapping features are included when coordinate bounds are configured.
public Int32 CoordinatePrecision { get; set; } #Gets or sets the maximum decimal places written to generated SVG path coordinates.