Send zoomChanged value when triggering movestart event
This commit is contained in:
@@ -1908,7 +1908,9 @@ OpenLayers.Map = OpenLayers.Class({
|
||||
|
||||
// if neither center nor zoom will change, no need to do anything
|
||||
if (zoomChanged || centerChanged || dragging) {
|
||||
dragging || this.events.triggerEvent("movestart");
|
||||
dragging || this.events.triggerEvent("movestart", {
|
||||
zoomChanged: zoomChanged
|
||||
});
|
||||
|
||||
if (centerChanged) {
|
||||
if (!zoomChanged && this.center) {
|
||||
|
||||
Reference in New Issue
Block a user