GeoJsonConf class

Optional configuration parameters for formatting (and parsing) GeoJSON.

Constructors

GeoJsonConf({GeoRepresentation? crsLogic, bool singlePrecision = false, bool ignoreMeasured = false, bool ignoreForeignMembers = false, bool printNonDefaultCrs = false, bool compactNums = true})
Optional configuration parameters for formatting GeoJSON.
const

Properties

compactNums bool
When true and the number of decimals not set for output, then numbers outputted are compacted.
final
crsLogic GeoRepresentation?
Use this to set logic whether coordinate axis order should be authority-based (the default) or always lon-lat order.
final
hashCode int
The hash code for this object.
no setterinherited
ignoreForeignMembers bool
When ignoreForeignMembers is set to true, then such JSON elements that are not described by the GeoJSON specification, are ignored. See the section 6.1 of the specifcation (RFC 7946).
final
ignoreMeasured bool
When ignoreMeasured is set to true, then M coordinates are ignored from formatting.
final
printNonDefaultCrs bool
When printNonDefaultCrs, then "crs" attribute is printed to the "FeatureCollection".
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
singlePrecision bool
When true, coordinate values read when parsing are allowed to be stored on single-precision floating point numbers (Float32).
final
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

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