Hello.
Yes, this is a bug on Mapbox's end.
The problem is that Mapbox changed how their engine works, and now layers aren't populated when creating a style.
Because of this, their own official Static Tiles API isn't working correctly.
This can be fixed by creating a style based on the old JSON, which contains layers.
I’ve attached an example of such a JSON file.
Create a style based on this JSON, and it will work correctly.
P.S. Please contact Mapbox support and let them know that their Static Tiles API isn’t working because of the layers.
The more people who report this, the better the chances are that they’ll fix it soon.
Kind Regards,
Infinity Code Team.
Boost your productivity a lot and immediately using
Ultimate Editor Enhancer.
Trial and non-commerce versions available.