javascript - program google maps undo button behaviour -


my program putting markers on points of polylines.

i'm using insert_at & set_at listeners update markers when user moving these points new location.

google maps api v3 provides undo button when drawing polyline.

it works fine set_at (repositioning marker it's original position); not work insert_at.

enter image description here enter image description here enter image description here

is there way program behaviour of undo button can remove marker when using undo button?

observe remove_at-event, fire when usage of undo-button remove point of path


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -