Merge pull request #94 from fredj/movestart-updateSize

Don't update the map size on 'movestart'. r=elemoine
This commit is contained in:
Frédéric Junod
2011-12-07 01:11:21 -08:00

View File

@@ -539,9 +539,6 @@ OpenLayers.Map = OpenLayers.Class({
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
// other than "window", we need to put a hack here.
if (OpenLayers.String.contains(navigator.appName, "Microsoft")) {