Optionalfields: any = {}Deltas between two Stats of the same kind (this − other) over shared numeric fields.
Optionalname: string = "stats.csv"Approximate percentile p (0–100) from the histogram. Raster only.
StaticrasterRaster statistics over pixelData, optionally scoped by a Filter and classified by a ColorScale.
Optionalopts: {StaticvectorVector statistics over any feature source.
Accepts GeoJSON (a FeatureCollection, a single Feature, a Feature[], or the engine's
VectorFeatures) — what a headless caller and VectorLayer.getStats() have — or a
google.maps.Data-shaped layer.
GeoJSON FeatureCollection|Feature|Feature[]|VectorFeatures, or a google.maps.Data layer
Optionalopts: {Optionalclassify?: ColorScalebucket features into byClass
by the SAME scale that colours them. Needs classifyBy to know which property carries the
value; VectorLayer.getStats() passes both from the layer, so the buckets line up with the
legend exactly as they do for a raster.
OptionalclassifyBy?: stringthe feature property classify reads
Optionalfilter?: Function | any[] | Filter
Not usually called directly — use the
Stats.raster()/Stats.vector()factories.