[OpenLayers-Users] issue with AnchoredPopup...

John Cole john.cole at uai.com
Mon May 7 10:39:18 EDT 2007


I've created Ticket #698 with a patch for the AnchoredPopup.

The issue is that there is no option for a close box with the AnchoredPopup.
If you subclass the AnchoredPopup and override the initialize and add the
closeBox parameter, it doesn't work.

The reason it doesn't work is because the reRound function for creating the
rounded corners is hard coded to chop off [0] and [2] div tags from the
parent of the contentDiv.  

To solve this, I created a groupDiv in the popup class and put the
contentDiv and the close box inside this container.

I modified the test and tried to make everything OL'ish.  If someone could
review this and find it of merit, I would appreciate it.

Thanks,

John

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.6.5/792 - Release Date: 5/6/2007 9:01
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