docsby gkjohnson
On this page

Properties

needsUpdate: boolean

performSettleRaycast: ( ray: Ray, lat: number, lon: number, target: Vector3 ) => boolean | null

sampleCartographicElevation: ( lat: number, lon: number ) => number | null | null

Methods

filterAnnotation(
	// The MVT layer name the feature belongs to.
	layer: string,

	// The feature's property map.
	properties: Object,

	// The MVT geometry type: `1` = point, `2` = line.
	type: number
): boolean
getAnnotationRank(
	// The annotation to prioritize.
	annotation: Object
): number
measureChar(
	// The character to measure.
	char: string,

	// The layer associated with the text.
	layer: layer,

	// The properties associated with the text.
	properties: Object
): number
getText(
	// The feature's property map.
	properties: Object
): string
isAnnotationEnabled(
	// The MVT layer name the feature belongs to.
	layer: string,

	// The feature's property map.
	properties: Object,

	// The MVT geometry type: `1` = point, `2` = line.
	type: number
): boolean
onPointsUpdate(
	// Point annotations that became visible this frame.
	added: Array<Object>,

	// Point annotations that became hidden this frame.
	removed: Array<Object>
): void
onLabelsUpdate(
	// Label annotations that became visible this frame.
	added: Array<Object>,

	// Label annotations that became hidden this frame.
	removed: Array<Object>
): void
dispose(): void