replace Pixel argument with simple object (Util.createDiv)
This commit is contained in:
@@ -97,8 +97,9 @@ OpenLayers.Handler.Box = OpenLayers.Class(OpenLayers.Handler, {
|
||||
*/
|
||||
startBox: function (xy) {
|
||||
this.callback("start", []);
|
||||
this.zoomBox = OpenLayers.Util.createDiv('zoomBox',
|
||||
new OpenLayers.Pixel(-9999, -9999));
|
||||
this.zoomBox = OpenLayers.Util.createDiv('zoomBox', {
|
||||
x: -9999, y: -9999
|
||||
});
|
||||
this.zoomBox.className = this.boxDivClassName;
|
||||
this.zoomBox.style.zIndex = this.map.Z_INDEX_BASE["Popup"] - 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user