Revert "Removing camelize method."

This reverts commit 43ef0920c2.
This commit is contained in:
Éric Lemoine
2012-03-04 23:22:21 +01:00
parent 55a52008d6
commit c58f093615
7 changed files with 63 additions and 14 deletions

View File

@@ -493,14 +493,14 @@ OpenLayers.Control.OverviewMap = OpenLayers.Class(OpenLayers.Control, {
this.ovmap.zoomToMaxExtent();
// check extent rectangle border width
this.wComp = parseInt(OpenLayers.Element.getStyle(this.extentRectangle,
'borderLeftWidth')) +
'border-left-width')) +
parseInt(OpenLayers.Element.getStyle(this.extentRectangle,
'borderRightWidth'));
'border-right-width'));
this.wComp = (this.wComp) ? this.wComp : 2;
this.hComp = parseInt(OpenLayers.Element.getStyle(this.extentRectangle,
'border-top-width')) +
parseInt(OpenLayers.Element.getStyle(this.extentRectangle,
'borderBottomWidth'));
'border-bottom-width'));
this.hComp = (this.hComp) ? this.hComp : 2;
this.handlers.drag = new OpenLayers.Handler.Drag(