Open mbostock opened 14 years ago
Currently, when the map's center or zoom is set, it always dispatches a "move" event. This is true even if the center or zoom did not change. The map should detect whether its state has changed before dispatching an event to avoid unnecessary work.
I am really wondering why this event is triggered onmouseup - without having moved the map at all.
Currently, when the map's center or zoom is set, it always dispatches a "move" event. This is true even if the center or zoom did not change. The map should detect whether its state has changed before dispatching an event to avoid unnecessary work.