mapbox-gl-js
mapbox-gl-js copied to clipboard
Console warnings for Mapbox Standard Style
mapbox-gl-js version: 3.17.0
Question
Displaying a map with Mapbox Standard Style triggers warnings in browser console.
see https://docs.mapbox.com/map-styles/standard/guides/ =>
I understand those warnings are mostly inconsequential, but they are nevertheless annoying and not present with any other style.
Agreed, I've been annoyed by those warnings myself but never got to investigating their removal. Will try to get to the bottom of this.
I found it on https://github.com/mapbox/mapbox-gl-js/blob/main/src/data/usvg/usvg_pb_renderer.ts#L25 But I don't know why this line of console.warn needs to be added🤔