I am trying to convert a layer back to its original drawing,after changing it.
the service include the layer in json form(i think) i tried both the fromJSON func and rewriting it manually but I think there is something wrong with the way i wrote it.
heres a codepen:
https://codepen.io/segev-salman/pen/MdEbwv
*is there a function to revertback to the original drawing or do i have to change the renderer with the full info inside?