[OpenLayers-Users] issue with AnchoredBubble...
John Cole
john.cole at uai.com
Fri May 4 10:06:39 EDT 2007
Upon further investigation, the close box is getting removed in the
Corner.js reRound function. It seems that reRound is assuming that there
are only three children, the first being the top rico corners and the last
being the bottom ones, but with the close button on there
theDiv.parentNode.childNodes[2]; is the close button and not the bottom rico
corners.
Any suggestions for attacking this problem :-) Is the close button getting
placed at the wrong level? Or should the popup keep up with how many
children it's got when it rounds the corners?
Thanks,
John
-----Original Message-----
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] On
Behalf Of John Cole
Sent: Friday, May 04, 2007 8:35 AM
To: openlayers
Subject: [OpenLayers-Users] issue with AnchoredBubble...
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.
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.467 / Virus Database: 269.6.2/787 - Release Date: 5/3/2007 2:11
PM
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