[OpenLayers-Users] issue with AnchoredBubble...

John Cole john.cole at uai.com
Fri May 4 09:35:02 EDT 2007


I'm trying to get the close button to appear in an anchored bubble, and I
*think* I have found the issue, but I’m unsure of the proper fix.

Online 77 of the AnchoredBubble.js:

this.setRicoCorners(!this.rounded);

this is called after the div.innerHTML has been set with the close box html,
but this.rounded is false, so setRicoCorners(firstTime) is true, which
overwrites the innerHTML, erasing the close box.

Is it necessary to call setRicoCorners(true) or can it always be false, to
preserve the close box?

Thanks,

John

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.6.2/787 - Release Date: 5/3/2007 2:11
PM
 
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.



More information about the Users mailing list