Hi.

I'm trying to put some colobars on my googlemap using screen overlay.
The colorbars are simple gif images. When you toggle on one of the
options on the menu, you'd get a tileoverlay and the screen overlay
located at the bottom of the map. When you toggle off the option then
all the overlays are removed. Everything works fine when I toggle on
the option for the first time, but if I toggle it off and toggle on
the option again I get the tileoverlay (as I expected) but the
colorbar is not shown again. I don't understand what's happening. This
is the URL: http://www.yv5fih.org.ve/sammet/sammet3.html
Please select an option only on the first panel (let's say CAPE) and
see what happens when you toggle it on for a second time.

This is the part of the code related to the screen overlay:

bar = new GScreenOverlay("./bars/"+dom+par+lev+".gif",
      new GScreenPoint(200, .90,'pixels', 'fraction'),  // screenXY
        new GScreenPoint(0, 450),  // overlayXY
        new GScreenSize(500, 30)  // size on screen
      );
      map.addOverlay(bar);

Thanks for your help.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to