My favorites | Sign in
Project Home Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 113: Traffic button remains visible above Info bubbles or using the Tabbed Max Content extension in Maximized size
1 person starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  ----


Sign in to add a comment
 
Reported by mynameis...@gmail.com, May 20, 2009
What steps will reproduce the problem?
1. (Using FF, not verified in other browsers) use the Tabbed Max Content
extension with the ExtMapTypeControl extension with traffic enabled.
2. Enlarge/maximize an info bubble and noticed how the traffic button
remains visible and on top of the maximized bubble. All other controls on
page correctly hide when something is maximized.

The traffic button's visibility style rule is interfering with it's parent
container's visibility rule.

How to fix:
1. remove this line:
trafficDiv.style.visibility = 'hidden';

2. Modify the next declared listener to use display instead of visibility:
GEvent.addListener(me.trafficInfo, "changed", function(hasTrafficInView) {
   if (hasTrafficInView) {
     trafficDiv.style.display = 'block';
   } else {
     trafficDiv.style.display = 'none';
   }
});

May 25, 2009
#1 pamela.fox
Thanks for the report!
Status: Accepted
Labels: Type-Defect Class-ExtMapTypeControl
Sign in to add a comment

Powered by Google Project Hosting