I am using this module for move, resize in google map marker but it's not working.
https://jsfiddle.net/abinhho/bcfw5rv0/6/
@abinhho
Each time Google Map calls draw, it creates a moveable instance. Try the following:
var moveable;
gm.prototype.onAdd = function() {
moveable = new Moveable(......);
}
gm.prototype.draw = function() {
moveable.updateRect();
}
@daybrush Thanks you !
I try your solution but I face with other problem. When I drag rectangle, the map also moved.
I think something wrong at container and I tried to change this setting but not luck.
https://jsfiddle.net/abinhho/2bo0k5ye/6/
@abinhho
I provide inputEvent on all events that can stopProppagation
@abinhho
moveable 0.10.0 is released.
All events in moveable have inputEvent to stopPropagation.
https://github.com/daybrush/moveable/blob/master/handbook/handbook.md#toc-events
moveable.on("dragStart", ({ inputEvent }) => {
inputEvent.stopPropagation();
});
thank you :)
@daybrush
It's worked like champ.
https://jsfiddle.net/abinhho/2bo0k5ye/23/
Thanks you so much!
Most helpful comment
@abinhho
I provide inputEvent on all events that can stopProppagation