You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue was originally raised and resolved in mapbox (see mapbox/mapbox-gl-js#8497) but is still an issue in maplibre.
maplibre-gl-js version: 1.15.3
browser: Google Chrome
Steps to Trigger Behavior
Set source data with a GeoJson FeatureCollection
The collection contains at least one feature with a property with a null value
When the feature is returned by map.queryRenderedFeatures(), the properties that originally had null values now have the literal "null" string as their value.
Expected Behavior
The value should remain as null.
Actual Behavior
The value became "null" as a literal string.
The text was updated successfully, but these errors were encountered:
Can you check if this is still the case with the latest version?
Seems like this issue is with a dependency package and I believe the latest version has all the packages up-to-date.
This issue was originally raised and resolved in mapbox (see mapbox/mapbox-gl-js#8497) but is still an issue in maplibre.
maplibre-gl-js version: 1.15.3
browser: Google Chrome
Steps to Trigger Behavior
null
valuemap.queryRenderedFeatures()
, the properties that originally hadnull
values now have the literal"null"
string as their value.Expected Behavior
The value should remain as
null
.Actual Behavior
The value became
"null"
as a literal string.The text was updated successfully, but these errors were encountered: