pub enum PickableLayerKind {
Fill,
Line,
Circle,
Heatmap,
FillExtrusion,
Symbol,
Model,
}Expand description
Native layer families that participate in normal feature picking.
This enum explicitly encodes the v1.0 picking contract so that
unsupported layer kinds are never silently included.
Variants§
Fill
Vector fill polygons.
Line
Vector line features.
Circle
Vector circle / point features.
Heatmap
Heatmap source-point features.
Queries hit the underlying source points, not the blended heatmap visual.
FillExtrusion
Extruded polygon features.
Hit-testing uses the 2D footprint in v1.0 (not height-aware
geometric or renderer-exact).
Symbol
Placed symbol features (text / icon).
Hit-testing uses the placed collision box.
Model
3D model instances.
Hit-testing uses a bounding-radius approximation around the model anchor, with terrain-aware altitude resolution.
Implementations§
Source§impl PickableLayerKind
impl PickableLayerKind
Sourcepub fn is_queryable(&self) -> bool
pub fn is_queryable(&self) -> bool
Whether this layer kind is queryable in v1.0.
Trait Implementations§
Source§impl Clone for PickableLayerKind
impl Clone for PickableLayerKind
Source§fn clone(&self) -> PickableLayerKind
fn clone(&self) -> PickableLayerKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PickableLayerKind
impl Debug for PickableLayerKind
Source§impl Hash for PickableLayerKind
impl Hash for PickableLayerKind
Source§impl PartialEq for PickableLayerKind
impl PartialEq for PickableLayerKind
impl Copy for PickableLayerKind
impl Eq for PickableLayerKind
impl StructuralPartialEq for PickableLayerKind
Auto Trait Implementations§
impl Freeze for PickableLayerKind
impl RefUnwindSafe for PickableLayerKind
impl Send for PickableLayerKind
impl Sync for PickableLayerKind
impl Unpin for PickableLayerKind
impl UnsafeUnpin for PickableLayerKind
impl UnwindSafe for PickableLayerKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more