Only returns console warning about deprecated Studio Classic styles for non-GL styles
Fixes type error t.getTileJSON is not a function.
Checked all the manual test pages (that are still working), and the console warnings look like what we'd expect.
I think there was also a regression where the mapbox logo was not being added to maps referencing GL style layers. Now the mapbox logo should be added for all mapbox styles. I tried adding a test for this but haven't been successful. Maybe someone more familiar with this codebase has suggestions :)
Fixes #1327
Changes
t.getTileJSON is not a function
.Checked all the manual test pages (that are still working), and the console warnings look like what we'd expect.
I think there was also a regression where the mapbox logo was not being added to maps referencing GL style layers. Now the mapbox logo should be added for all mapbox styles. I tried adding a test for this but haven't been successful. Maybe someone more familiar with this codebase has suggestions :)
cc @mapbox/static-apis @katydecorah