clusterEach
Takes a FeatureCollection, a dynamic property key/value used to create clusters,
and a ClusterEachCallback method that takes (cluster, clusterValue, currentIndex) and
Returns void.
For example:
Reduces clusters in Features, similar to Iterable.reduce
Takes a geojson, a dynamic porperty, a GeoJSONObject's property key/value
used to create clusters, a ClusterReduceCallback method, and an initialValue to
use as the first argument to the first call of the callback.
Returns the value that results from the reduction.
For example:
createBins
Takes a FeatureCollection geojson, and dynamic property key whose
corresponding values of the Features will be used to create bins.
Returns Map<String, List
Reduces flattened features in any GeoJSONObject, similar to Iterable.reduce.
Takes a FeatureCollection, Feature, or Geometry
a FlattenReduceCallback method that takes (previousValue, currentFeature, featureIndex, multiFeatureIndex),
an initialValue Value to use as the first argument to the first call of the callback.
Returns the value that results from the reduction.
For example:
Get Cluster
Takes a FeatureCollection<Feature> and a dynamicfilter used on GeoJSON properties
to get Cluster.
Returns a FeatureCollection single cluster filtered by GeoJSON Properties
For example:
Properties contains filter (does not apply deepEqual operations)
Takes a Mapproperties value, and a Map filter and
Returns bool if filter does equal the properties
For example
Reduces properties in any GeoJSONObject into a single value,
similar to how Iterable.reduce works. However, in this case we lazily run
the reduction, so List of all properties is unnecessary.
Iterates over 2-vertex line segment in any GeoJSON object, similar to Iterable.forEach
(Multi)Point geometries do not contain segments therefore they are ignored during this operation.
Reduces 2-vertex line segment in any GeoJSON object, similar to Iterable.reduce
(Multi)Point geometries do not contain segments therefore they are ignored during this operation.
ClusterEachCallback
Takes a FeatureCollection, the cluster being processed, a clusterValue
used to create cluster being processed, and the currentIndex, the index of
current element being processed in the List. Starts at index 0
Returns void.
ClusterReduceCallback
The first time the callback function is called, the values provided as arguments depend
on whether the reduce method has an initialValue argument.
Callback for flattenReduce
The first time the callback function is called, the values provided as
arguments depend on whether the reduce method has an initialValue argument.
If an initialValue is provided to the reduce method: