[OpenLayers-Users] FrameClould setOpacity does not seem to work

François Van Der Biest f.vanderbiest at gmail.com
Fri Apr 11 04:55:22 EDT 2008


Hi David,

FramedCloud Popup extends Framed Popup, and inside this class, you'll find
the answer to your question :

setOpacity:function(opacity) {
   //does nothing since we suppose that we'll never apply an opacity
   // to a framed popup
}

Regards,
F.


2008/4/11, David Martin <David at itbeyond.com.au>:
>
> Hi,
>
>
>
> I have just tried to setOpacity on a framedcloud and cannot seem to make
> it work the command is as follows:
>
>
>
> function registerPopUp() {
>
>       popup = new OpenLayers.Popup.FramedCloud("ppnt_p", newOpenLayers.LonLat(0,0),
> new OpenLayers.Size(300,300), 'This is a test', null, true, onPopupClose);
>
>       popup.setOpacity(0.7);
>
>       ppnt.map.addPopup(popup);
>
> }
>
>
>
> It does not seem to do anything at all. Is this support in Framedcloud?
>
> Regards
> David Martin
> Managing Director
> I.T. Beyond Pty Ltd
>
> Postal:
>
> PO BOX 967
> HILLARYS WA 6923
>
> Ph:
>
> (08) 9403 3737
>
> Mobile:
>
> 0417 677 275
>
> Fax:
>
> (08) 9403 3738
>
> Skype:
>
> itbeyond_david
> ------------------------------
>
> Check out our websites: www.ExplorOz.com <http://www.exploroz.com/> and
> www.itbeyond.com.au
> ------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080411/30ea0917/attachment.html


More information about the Users mailing list