API Reference
ChartMapGeoJsonOptions
Configures how GeoJSON features are converted into map regions.
Inheritance
- Object
- ChartMapGeoJsonOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- 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
Methods
IncludeFeaturePropertyValues(System.String propertyName, System.String[] values) #Limits 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.
WithCoordinateBounds(System.Double minimumLongitude, System.Double maximumLongitude, System.Double minimumLatitude, System.Double maximumLatitude, System.Boolean includeIntersections) #Configures 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
- Whether features crossing the window are included.
Returns
The current options instance.
Properties
CodePropertyNames #Gets or sets property names searched for canonical region codes.
NamePropertyNames #Gets or sets property names searched for region display names.
AliasPropertyNames #Gets or sets property names searched for alternate region aliases.
GeneratedCodePrefix #Gets or sets the prefix used when a feature has no code-like property.
Projection #Gets or sets the coordinate projection used for longitude/latitude coordinates.
SkipUnsupportedGeometries #Gets or sets a value indicating whether unsupported non-polygon geometries are skipped.
IncludeFeatureIdAsAlias #Gets or sets a value indicating whether a top-level GeoJSON feature ID should be added as an alias.
MinimumLongitude #Gets or sets the minimum longitude used to include GeoJSON features. Leave unset to include every longitude.
MaximumLongitude #Gets or sets the maximum longitude used to include GeoJSON features. Leave unset to include every longitude.
MinimumLatitude #Gets or sets the minimum latitude used to include GeoJSON features. Leave unset to include every latitude.
MaximumLatitude #Gets or sets the maximum latitude used to include GeoJSON features. Leave unset to include every latitude.
IncludeFeaturesIntersectingCoordinateBounds #Gets or sets a value indicating whether partially overlapping features are included when coordinate bounds are configured.
CoordinatePrecision #Gets or sets the maximum decimal places written to generated SVG path coordinates.