I have a requirement to enable a user to Rotate a single feature they've added to the map. The feature is part of a geojson FeatureCollection and styled as a symbol with layout properties.
Obviously i can set the layers icon rotation globally but that's not the requirement. The requirement is per feature rotation. Data driven styling isn't supported for the layout properties so i'm wondering if anyone has found a way to do this that doesn't involve creating a layer definition for each rotation option and moving the features to the right layer to render the correct rotation?