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
|
||||
Philip Lindsay
|
||||
Corey Puffault
|
||||
Gregers Rygg
|
||||
Tim Schaub
|
||||
Christopher Schmidt
|
||||
Cameron Shorter
|
||||
|
||||
@@ -128,13 +128,11 @@ OpenLayers.Popup.AnchoredBubble =
|
||||
* opacity - {float}
|
||||
*/
|
||||
setOpacity:function(opacity) {
|
||||
if (opacity != undefined) {
|
||||
this.opacity = opacity;
|
||||
}
|
||||
OpenLayers.Popup.Anchored.prototype.setOpacity.call(this, opacity);
|
||||
|
||||
if (this.div != null) {
|
||||
if (this.contentDiv != null) {
|
||||
OpenLayers.Rico.Corner.changeOpacity(this.contentDiv,
|
||||
if (this.groupDiv != null) {
|
||||
OpenLayers.Rico.Corner.changeOpacity(this.groupDiv,
|
||||
this.opacity);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
<li>Marker/test_Box.html</li>
|
||||
<li>test_Popup.html</li>
|
||||
<li>Popup/test_Anchored.html</li>
|
||||
<li>Popup/test_AnchoredBubble.html</li>
|
||||
<li>test_Feature.html</li>
|
||||
<li>Feature/test_Vector.html</li>
|
||||
<li>test_Events.html</li>
|
||||
|
||||
Reference in New Issue
Block a user