while i was in here i finally figured out what was going on with the broken v2 basemaps. the problem wasn't anything in the code. there were issues in a few of the style files that trigger mapbox-gl-js validation errors.
to workaround the issue, i made copies of two and patched them manually.
while i was in here i finally figured out what was going on with the broken
v2
basemaps. the problem wasn't anything in the code. there were issues in a few of the style files that triggermapbox-gl-js
validation errors.to workaround the issue, i made copies of two and patched them manually.
World Topographic Map
i fixed this one by changing the second one to
"id": "ParcelFill"
.World Street Map (Night)
i fixed this one by reordering the stops to ensure the zoom levels continually increase.
Human Geography Detail
a simplified repro case can be found below: http://jsbin.com/hulibat/edit?html,output