MapChartDataSource class

Constructors

MapChartDataSource.geometries(List<MapGeometry> geometries)
Loads a MapChartDataSource from geometries. MapChartDataSource features will have no properties.
factory

Properties

bounds Rect
final
features UnmodifiableMapView<int, MapFeature>
final
hashCode int
The hash code for this object.
no setterinherited
pointsCount int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getPropertyLimits(String key) PropertyLimits?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromFeatures(List<MapFeature> features) MapChartDataSource
geoJSON({required String geojson, String? labelKey, List<String>? keys, List<String>? parseToNumber, String? colorKey, ColorValueFormat colorValueFormat = ColorValueFormat.hex}) Future<MapChartDataSource>
Loads a MapChartDataSource from GeoJSON. Geometries are always loaded. The keys argument defines which properties must be loaded. The parseToNumber argument defines which properties will have numeric values in quotes parsed to numbers.