GeoJsonSourceOptions class final
Options for a GeoJSON [source](https://maplibre.org/maplibre-style-spec/sources/#geojson).
Zoom levels are whole numbers.
See mln_geo_json_source_options in the
C API reference.
Constructors
Properties
- buffer → int?
-
final
- cluster → bool?
-
final
- clusterMaxZoom → double?
-
The last zoom level that has clusters, at most 30.
final
- clusterMinPoints → int?
-
At most 4294967295 on a 32-bit target.
final
- clusterProperties → Object?
-
The
clusterPropertiesobject, or empty for none.final - clusterRadius → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lineMetrics → bool?
-
final
- maxZoom → double?
-
final
- minZoom → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tolerance → double?
-
final
Methods
-
copyWith(
{double? minZoom, double? maxZoom, double? tolerance, double? clusterMaxZoom, Object? clusterProperties = _unchanged, int? buffer, int? clusterRadius, int? clusterMinPoints, bool? lineMetrics, bool? cluster}) → GeoJsonSourceOptions - A copy of this value with the given members replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited