Fix broken positionBlocks, which cuased overlaps. This is neccesary to easily

handle semi-transparent alternatives to the main framedcloud image.

r=me, (Closes #1737) 



git-svn-id: http://svn.openlayers.org/trunk/openlayers@8904 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2009-02-28 14:06:31 +00:00
parent 5a68638971
commit bfaf22f22d

View File

@@ -74,19 +74,19 @@ OpenLayers.Popup.FramedCloud =
position: new OpenLayers.Pixel(-638, 0)
},
{ //bottom-left
size: new OpenLayers.Size('auto', 21),
anchor: new OpenLayers.Bounds(0, 32, 80, null),
position: new OpenLayers.Pixel(0, -629)
size: new OpenLayers.Size('auto', 19),
anchor: new OpenLayers.Bounds(0, 32, 22, null),
position: new OpenLayers.Pixel(0, -631)
},
{ //bottom-right
size: new OpenLayers.Size(22, 21),
size: new OpenLayers.Size(22, 18),
anchor: new OpenLayers.Bounds(null, 32, 0, null),
position: new OpenLayers.Pixel(-638, -629)
position: new OpenLayers.Pixel(-638, -632)
},
{ // stem
size: new OpenLayers.Size(81, 54),
size: new OpenLayers.Size(81, 35),
anchor: new OpenLayers.Bounds(null, 0, 0, null),
position: new OpenLayers.Pixel(0, -668)
position: new OpenLayers.Pixel(0, -688)
}
]
},
@@ -105,19 +105,19 @@ OpenLayers.Popup.FramedCloud =
position: new OpenLayers.Pixel(-638, 0)
},
{ //bottom-left
size: new OpenLayers.Size('auto', 21),
size: new OpenLayers.Size('auto', 19),
anchor: new OpenLayers.Bounds(0, 32, 22, null),
position: new OpenLayers.Pixel(0, -629)
position: new OpenLayers.Pixel(0, -631)
},
{ //bottom-right
size: new OpenLayers.Size(22, 21),
size: new OpenLayers.Size(22, 19),
anchor: new OpenLayers.Bounds(null, 32, 0, null),
position: new OpenLayers.Pixel(-638, -629)
position: new OpenLayers.Pixel(-638, -631)
},
{ // stem
size: new OpenLayers.Size(81, 54),
size: new OpenLayers.Size(81, 35),
anchor: new OpenLayers.Bounds(0, 0, null, null),
position: new OpenLayers.Pixel(-215, -668)
position: new OpenLayers.Pixel(-215, -687)
}
]
},
@@ -146,7 +146,7 @@ OpenLayers.Popup.FramedCloud =
position: new OpenLayers.Pixel(-638, -629)
},
{ // stem
size: new OpenLayers.Size(81, 54),
size: new OpenLayers.Size(81, 33),
anchor: new OpenLayers.Bounds(null, null, 0, 0),
position: new OpenLayers.Pixel(-101, -674)
}
@@ -177,7 +177,7 @@ OpenLayers.Popup.FramedCloud =
position: new OpenLayers.Pixel(-638, -629)
},
{ // stem
size: new OpenLayers.Size(81, 54),
size: new OpenLayers.Size(81, 33),
anchor: new OpenLayers.Bounds(0, null, null, 0),
position: new OpenLayers.Pixel(-311, -674)
}