-
-
Notifications
You must be signed in to change notification settings - Fork 932
Open
Labels
need more infoFurther information is requestedFurther information is requested
Description
maplibre-gl-js version: 5.13.0
browser: chrome 141.0.7390.77
Steps to Trigger Behavior
- Add feature with
properties: { value: undefined} - Call queryRenderedFeatures
- Map throws "Error: unknown feature value"
Bonus: if instead of map.on('mousemove') I use map.on("move"), I'm also getting
- Map throws Uncaught Error: Attempting to run(), but is already running.
Link to Demonstration
https://jsbin.com/ledoqawefo/1/edit?html,output
Expected Behavior
No error
Actual Behavior
Error :( and possibly freeze
Turf.js for example has type:
export declare type Properties = {
[name: string]: any;
} | null;
which accepts anything in properties, not sure if I should use something else or maplibre should just discard such values 🤔
Danysan1 and lavaturtle
Metadata
Metadata
Assignees
Labels
need more infoFurther information is requestedFurther information is requested