I have a map with an abundance of dynamically generated data.
I'd wish to keep the styling for this data inside mapbox studio itself - but would like to position it manually (programmatically).
The best example I've found is this: https://www.mapbox.com/mapbox-gl-js/example/data-driven-circle-colors/ however the positioning stems from mapbox studio as well.
mapInstance.getPaintProperty("hidden layer name", "fill-color");
and set it with
setPaintProperty("visible layer id", "fill-color", valueFromTheGetMethod);
It's only good for a single property, so you need to 'manually' collect everything you need.