Open mojodna opened 10 years ago
I think this is an issue I've run into several times. If I try to change the order or rename a layer for a custom source I am currently working with in a style, I don't see those changes reflected in the layers panel of the style editor. Clicking refresh for the remote source doesn't help. I find that I instead have to create an entirely new style project, reference the sources as I was doing, and copy over my CartoCSS.
The layers do seem to eventually update, fixing the issue, after I've tried restarting Mapbox Studio, re-uploading the source, and changing the style sources multiple times. I can't say if there's a particular thing I do that updates the layers.
We've been re-ordering layers and changing zoom level availability without changing the source's URL. Refreshing the source deletes the cached data but not does currently update the metadata
Workaround: creating a newer source with
%3Fv%3D2
(?v=2
) appended and distinguish between it and prior versions by URL. It works, but it's not ideal.