From bfaf22f22d43693a736cac9ac741045a3e602192 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Sat, 28 Feb 2009 14:06:31 +0000 Subject: [PATCH] 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 --- lib/OpenLayers/Popup/FramedCloud.js | 30 ++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/lib/OpenLayers/Popup/FramedCloud.js b/lib/OpenLayers/Popup/FramedCloud.js index 39f98a45d3..68ee6f2c60 100644 --- a/lib/OpenLayers/Popup/FramedCloud.js +++ b/lib/OpenLayers/Popup/FramedCloud.js @@ -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) }