Has

class Has(val key: String) : MvtFilter

True when key is present in the map (regardless of value, including null).

Constructors

Link copied to clipboard
constructor(key: String)

Properties

Link copied to clipboard
val key: String

Functions

Link copied to clipboard
open override fun matches(properties: Map<String, Any?>, geomType: MvtGeometryType? = null): Boolean

Evaluate this filter against a feature's inflated property map. geomType surfaces the feature's geometry kind so GeometryTypeEq can compare against it; other filters ignore it.