Sorry for being unclear, let me try again…
Basically, I let the user draw on the map using TrackInteractiveOverlay. When drawing a shape, the user can select the line color/thickness and fill color, which we store in the database as XML. We then display those shapes in a custom FeatureLayer which reads the XML associated with each drawing and draws it accordingly. All this logic is done in the DrawCore(…) method. This allows us to draw all shapes in a single layer regardless of style, but by using XML (and WKT for shape definition) allows the drawing to be consumable by other applications. All this works perfectly.
I would now like to give the users the ability to edit the shapes that they have drawn, which I can do by moving all the Features from my layer to the EditInteractiveOverlay. The only problem is that I would like each of the shapes to be drawn with their same styles (as defined in the XML). At the moment, every shape in the EditInteractiveOverlay is drawn according to the default styles defined on the EditShapesLayer.
That is what I want to do. I thought the easiest way to achieve this would be to create my own custom layer to use in place of the EditShapesLayer that has the logic to style based off XML, however there is no setter on the EditShapesLayer property, so there is no way for me to use my layer instead.
I hope this is more clear. It would be difficult for me to make a demo as I have a lot of other stuff going on that I would have to strip out, but if necessary, I suppose I could do that.
Thanks,
.Ryan.