Patch from Gregers Rygg to fix setOpacity for AnchoredBubble popups.
(Closes #1204) git-svn-id: http://svn.openlayers.org/trunk/openlayers@5415 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -13,6 +13,7 @@ Andreas Hocevar
|
|||||||
Eric Lemoine
|
Eric Lemoine
|
||||||
Philip Lindsay
|
Philip Lindsay
|
||||||
Corey Puffault
|
Corey Puffault
|
||||||
|
Gregers Rygg
|
||||||
Tim Schaub
|
Tim Schaub
|
||||||
Christopher Schmidt
|
Christopher Schmidt
|
||||||
Cameron Shorter
|
Cameron Shorter
|
||||||
|
|||||||
@@ -128,13 +128,11 @@ OpenLayers.Popup.AnchoredBubble =
|
|||||||
* opacity - {float}
|
* opacity - {float}
|
||||||
*/
|
*/
|
||||||
setOpacity:function(opacity) {
|
setOpacity:function(opacity) {
|
||||||
if (opacity != undefined) {
|
OpenLayers.Popup.Anchored.prototype.setOpacity.call(this, opacity);
|
||||||
this.opacity = opacity;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.div != null) {
|
if (this.div != null) {
|
||||||
if (this.contentDiv != null) {
|
if (this.groupDiv != null) {
|
||||||
OpenLayers.Rico.Corner.changeOpacity(this.contentDiv,
|
OpenLayers.Rico.Corner.changeOpacity(this.groupDiv,
|
||||||
this.opacity);
|
this.opacity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
<li>Marker/test_Box.html</li>
|
<li>Marker/test_Box.html</li>
|
||||||
<li>test_Popup.html</li>
|
<li>test_Popup.html</li>
|
||||||
<li>Popup/test_Anchored.html</li>
|
<li>Popup/test_Anchored.html</li>
|
||||||
|
<li>Popup/test_AnchoredBubble.html</li>
|
||||||
<li>test_Feature.html</li>
|
<li>test_Feature.html</li>
|
||||||
<li>Feature/test_Vector.html</li>
|
<li>Feature/test_Vector.html</li>
|
||||||
<li>test_Events.html</li>
|
<li>test_Events.html</li>
|
||||||
|
|||||||
Reference in New Issue
Block a user