We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
findStreetsSource
setLanguage
findStreetsSource should check the actual version instead of the URL.
It fails with bright-v9 (https://api.mapbox.com/styles/v1/mapbox/bright-v9) and satellite-v9 (https://api.mapbox.com/styles/v1/mapbox/satellite-v9). Both styles are version: 8, but neither match the check (return url && url.indexOf('mapbox.mapbox-streets-v8') > -1 || /mapbox-streets-v[1-9][1-9]/.test(url);).
bright-v9
satellite-v9
version: 8
return url && url.indexOf('mapbox.mapbox-streets-v8') > -1 || /mapbox-streets-v[1-9][1-9]/.test(url);
This check should probably be as follows:
return (style.version && style.version == 8) || (url && url.indexOf('mapbox.mapbox-streets-v8') > -1 || /mapbox-streets-v[1-9][1-9]/.test(url));
The text was updated successfully, but these errors were encountered:
Roll back mapbox-gl-language
a702a32
See mapbox/mapbox-gl-language#62 Signed-off-by: Taylor Smock <tsmock@meta.com>
c265847
ec1c60d
No branches or pull requests
findStreetsSource
should check the actual version instead of the URL.It fails with
bright-v9
(https://api.mapbox.com/styles/v1/mapbox/bright-v9) andsatellite-v9
(https://api.mapbox.com/styles/v1/mapbox/satellite-v9). Both styles areversion: 8
, but neither match the check (return url && url.indexOf('mapbox.mapbox-streets-v8') > -1 || /mapbox-streets-v[1-9][1-9]/.test(url);
).This check should probably be as follows:
The text was updated successfully, but these errors were encountered: