Closed markschroeder77 closed 1 year ago
I dont get it. I tried to drawing manager, but i dont see any undo. Small demo to reporduce?
Sorry it actually has nothing to do with DrawingManager, it's a Polyline option. (I was just using it with DrawingManager at the time) It allows one to hide the undo button that comes up when a polyline is user edited. I think it may only work with the beta version of Google Maps.
To demo:
Now it make sense. Screenshot helped a lot.
This PS allows one to hide the undo button in the drawing manager by adding the undocumented suppressUndo parameter to the PolygonOptions class.