We expose the symbols in a stylx file to our users for them to pick from when customizing the symbology for their data. We've noticed that if you have a MultilayerSymbol with at least 2 layers with at least one of those layers being a VectorMarkerSymbolLayer, then if you edit the Size property on that VectorMarkerSymbolLayer it seems to scale the layer differently relative to the other layers?
For example, let's say you have a MultiLayerSymbol with 2 VectorMarkerSymbolLayers on it. The first layer is a circle with size 30 and the second is an arrow with size 15. The result looks something like this:
This is how the symbol looks on the map when applying directly from the stylx file with no additional changes/modifications.
Then if you change the size of the circle to 31 it will rescale the symbols relative to one another such that the circle is much larger now. Even if you then change the size back to its original value of 30 it will still be much larger. The result looks something like this:
This seemingly only happens with MultilayerSymbols that have multiple SymbolLayers on them, so I can only assume it is resizing the SymbolLayers relative to one another on update and since the circle had twice the Size of the arrow it made it much larger? It's still weird it doesn't initially load with the correct size.
We are producing these symbols in a stylx file exported from ArcGIS Pro, but most of the symbols were provided by Esri through their military symbols style file.
Is this a known issue or is there an issue with the symbols in our stylx file? Is there some workaround we could try either when creating our symbols in the stylx or in our code to ensure consistency?