Extend the maximum size of the FramedCloud popup to 1200px wide, instead of
600. Updated image and patch provided by adrian_gh.popa@romtelecom.ro, tested by me. r=me, (Closes #2742) git-svn-id: http://svn.openlayers.org/trunk/openlayers@10668 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -38,7 +38,7 @@ OpenLayers.Popup.FramedCloud =
|
||||
* APIProperty: imageSize
|
||||
* {<OpenLayers.Size>}
|
||||
*/
|
||||
imageSize: new OpenLayers.Size(676, 736),
|
||||
imageSize: new OpenLayers.Size(1276, 736),
|
||||
|
||||
/**
|
||||
* APIProperty: isAlphaImage
|
||||
@@ -71,7 +71,7 @@ OpenLayers.Popup.FramedCloud =
|
||||
{ //top-right
|
||||
size: new OpenLayers.Size(22, 'auto'),
|
||||
anchor: new OpenLayers.Bounds(null, 50, 0, 0),
|
||||
position: new OpenLayers.Pixel(-638, 0)
|
||||
position: new OpenLayers.Pixel(-1238, 0)
|
||||
},
|
||||
{ //bottom-left
|
||||
size: new OpenLayers.Size('auto', 19),
|
||||
@@ -81,7 +81,7 @@ OpenLayers.Popup.FramedCloud =
|
||||
{ //bottom-right
|
||||
size: new OpenLayers.Size(22, 18),
|
||||
anchor: new OpenLayers.Bounds(null, 32, 0, null),
|
||||
position: new OpenLayers.Pixel(-638, -632)
|
||||
position: new OpenLayers.Pixel(-1238, -632)
|
||||
},
|
||||
{ // stem
|
||||
size: new OpenLayers.Size(81, 35),
|
||||
@@ -102,7 +102,7 @@ OpenLayers.Popup.FramedCloud =
|
||||
{ //top-right
|
||||
size: new OpenLayers.Size(22, 'auto'),
|
||||
anchor: new OpenLayers.Bounds(null, 50, 0, 0),
|
||||
position: new OpenLayers.Pixel(-638, 0)
|
||||
position: new OpenLayers.Pixel(-1238, 0)
|
||||
},
|
||||
{ //bottom-left
|
||||
size: new OpenLayers.Size('auto', 19),
|
||||
@@ -112,7 +112,7 @@ OpenLayers.Popup.FramedCloud =
|
||||
{ //bottom-right
|
||||
size: new OpenLayers.Size(22, 19),
|
||||
anchor: new OpenLayers.Bounds(null, 32, 0, null),
|
||||
position: new OpenLayers.Pixel(-638, -631)
|
||||
position: new OpenLayers.Pixel(-1238, -631)
|
||||
},
|
||||
{ // stem
|
||||
size: new OpenLayers.Size(81, 35),
|
||||
@@ -133,7 +133,7 @@ OpenLayers.Popup.FramedCloud =
|
||||
{ //top-right
|
||||
size: new OpenLayers.Size(22, 'auto'),
|
||||
anchor: new OpenLayers.Bounds(null, 21, 0, 32),
|
||||
position: new OpenLayers.Pixel(-638, 0)
|
||||
position: new OpenLayers.Pixel(-1238, 0)
|
||||
},
|
||||
{ //bottom-left
|
||||
size: new OpenLayers.Size('auto', 21),
|
||||
@@ -143,7 +143,7 @@ OpenLayers.Popup.FramedCloud =
|
||||
{ //bottom-right
|
||||
size: new OpenLayers.Size(22, 21),
|
||||
anchor: new OpenLayers.Bounds(null, 0, 0, null),
|
||||
position: new OpenLayers.Pixel(-638, -629)
|
||||
position: new OpenLayers.Pixel(-1238, -629)
|
||||
},
|
||||
{ // stem
|
||||
size: new OpenLayers.Size(81, 33),
|
||||
@@ -164,7 +164,7 @@ OpenLayers.Popup.FramedCloud =
|
||||
{ //top-right
|
||||
size: new OpenLayers.Size(22, 'auto'),
|
||||
anchor: new OpenLayers.Bounds(null, 21, 0, 32),
|
||||
position: new OpenLayers.Pixel(-638, 0)
|
||||
position: new OpenLayers.Pixel(-1238, 0)
|
||||
},
|
||||
{ //bottom-left
|
||||
size: new OpenLayers.Size('auto', 21),
|
||||
@@ -174,7 +174,7 @@ OpenLayers.Popup.FramedCloud =
|
||||
{ //bottom-right
|
||||
size: new OpenLayers.Size(22, 21),
|
||||
anchor: new OpenLayers.Bounds(null, 0, 0, null),
|
||||
position: new OpenLayers.Pixel(-638, -629)
|
||||
position: new OpenLayers.Pixel(-1238, -629)
|
||||
},
|
||||
{ // stem
|
||||
size: new OpenLayers.Size(81, 33),
|
||||
@@ -195,7 +195,7 @@ OpenLayers.Popup.FramedCloud =
|
||||
* APIProperty: maxSize
|
||||
* {<OpenLayers.Size>}
|
||||
*/
|
||||
maxSize: new OpenLayers.Size(600, 660),
|
||||
maxSize: new OpenLayers.Size(1200, 660),
|
||||
|
||||
/**
|
||||
* Constructor: OpenLayers.Popup.FramedCloud
|
||||
|
||||
Reference in New Issue
Block a user