Class: FlatMapSampler
Defined in: flatmap/FlatMapSamplingPlan.ts:81
Geometry/depth snapshot, reused across data frames, tiles and presentation changes.
Constructors
Constructor
new FlatMapSampler(source): FlatMapSampler;Defined in: flatmap/FlatMapSamplingPlan.ts:89
Parameters
source
Returns
FlatMapSampler
Properties
domain
readonly domain: SurfaceDomain;Defined in: flatmap/FlatMapSamplingPlan.ts:82
sourceCount
readonly sourceCount: number;Defined in: flatmap/FlatMapSamplingPlan.ts:83
sampleCount
readonly sampleCount: number;Defined in: flatmap/FlatMapSamplingPlan.ts:84
slots
readonly slots: number;Defined in: flatmap/FlatMapSamplingPlan.ts:85
kind
readonly kind: "vertex-scalar" | "volume-scalar";Defined in: flatmap/FlatMapSamplingPlan.ts:86
revision
readonly revision: string;Defined in: flatmap/FlatMapSamplingPlan.ts:87
Accessors
byteLength
Get Signature
get byteLength(): number;Defined in: flatmap/FlatMapSamplingPlan.ts:88
Returns
number
Methods
describe()
describe(): FlatMapSource;Defined in: flatmap/FlatMapSamplingPlan.ts:122
Returns
prepare()
prepare(raster, budgetBytes?): PreparedFlatMapTile;Defined in: flatmap/FlatMapSamplingPlan.ts:124
Parameters
raster
budgetBytes?
number
Returns
prepareSteps()
prepareSteps(raster, budgetBytes?): Generator<void, PreparedFlatMapTile, void>;Defined in: flatmap/FlatMapSamplingPlan.ts:128
Parameters
raster
budgetBytes?
number
Returns
Generator<void, PreparedFlatMapTile, void>
inspect()
inspect(
location,
frame,
policy?
): FlatMapInspection;Defined in: flatmap/FlatMapSamplingPlan.ts:159
Parameters
location
frame
policy?
FlatMapMissingPolicy = {}