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
MVT tile with one or more symbols referring to a delay-loaded image ID. In code, respond to styleimagemissing event, and inject the image through the map.addImage API.
symbol_layout.ts does a strict comparison to ensure all referenced images for a bucket use the same value for the SDF property. Thus flags false as different than undefined.
Result: Warning logged to JS console: "Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer".
The text was updated successfully, but these errors were encountered:
Fixes#303
* Default handling for image.sdf
Treats null/undefined the same as false for the image sdf property, eliminating a console warning in the process.
* Update CHANGELOG.md
Fixes#303
* Default handling for image.sdf
Treats null/undefined the same as false for the image sdf property, eliminating a console warning in the process.
* Update CHANGELOG.md
maplibre-gl-js version: some
browser: all
Steps to Trigger Behavior
MVT sprite data with one or more images not specifying the SDF property. SDF is left as undefined, treated the same as 'false'. https://maplibre.org/maplibre-gl-js-docs/style-spec/sprite/
MVT tile with one or more symbols referring to a delay-loaded image ID. In code, respond to
styleimagemissing
event, and inject the image through themap.addImage
API.symbol_layout.ts does a strict comparison to ensure all referenced images for a bucket use the same value for the SDF property. Thus flags
false
as different thanundefined
.Result: Warning logged to JS console: "Style sheet warning: Cannot mix SDF and non-SDF icons in one buffer".
The text was updated successfully, but these errors were encountered: