Hello!
So i have created a widget that Saves Graphics in KML and GeoJSON format, and i can also import the file and it will re-draw all the graphics back into the built-in draw widgets sub shape layer. Now something that was a bit hard to solve was the fact that saving rotation on text symbols is really weird. When using the draw widget and placing text 0 in rotation is east and 90 degrees is north and it rotates counter-clockwise when using the slider for rotation. Now I save the value that is set, so for example if you set it to 90 degrees the value 90 is saved in the heading tag of the KML file and/or the angel property in GeoJSON. Now when loading the graphics/text experience builder uses a different way of translating the heading/angle from the file, instead of 0degrees being east, instead it's north and the rotation is now clockwise instead of counter-clockwise, just if there is anyone out there struggling with this use this formula to load textSymbols correctly:
(450 - savedValue) % 360
450 is to offset the value by 90 degrees since the saved 0 is east and the loaded zero is north then just subtract the saved value you have in your file, and afterwards use modulo to get the remainder.
Best
Anders