replace Size instances with simple object

This commit is contained in:
fredj
2012-01-09 09:51:13 +01:00
committed by Frederic Junod
parent 4844baf666
commit 07e3fa9624
4 changed files with 15 additions and 14 deletions

View File

@@ -41,7 +41,7 @@ OpenLayers.Control.OverviewMap = OpenLayers.Class(OpenLayers.Control, {
* class name olControlOverviewMapElement) may have padding or other style
* attributes added via CSS.
*/
size: new OpenLayers.Size(180, 90),
size: {w: 180, h: 90},
/**
* APIProperty: layers