Don't update the map size on 'movestart'
This commit is contained in:
@@ -539,9 +539,6 @@ OpenLayers.Map = OpenLayers.Class({
|
|||||||
this.events.on(this.eventListeners);
|
this.events.on(this.eventListeners);
|
||||||
}
|
}
|
||||||
|
|
||||||
// update the map size and location before the map moves
|
|
||||||
this.events.register("movestart", this, this.updateSize);
|
|
||||||
|
|
||||||
// Because Mozilla does not support the "resize" event for elements
|
// Because Mozilla does not support the "resize" event for elements
|
||||||
// other than "window", we need to put a hack here.
|
// other than "window", we need to put a hack here.
|
||||||
if (OpenLayers.String.contains(navigator.appName, "Microsoft")) {
|
if (OpenLayers.String.contains(navigator.appName, "Microsoft")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user