Thanks Mike, I understand now that the z-index isn't the problem.

We can replicate this bug in FireFox 3.0.2 with a single Encoded
Polyline as follows:

<html>
  <head>
    <script src="http://maps.google.com/maps?
file=api&amp;v=2&amp;key=xxxxxxxxxx" type="text/javascript"></script>
  </head>
  <body>
    <div id="map" style="width:600px; height: 600px;"></div>
    <script type="text/javascript">
      var map = new GMap2(document.getElementById("map"));
      map.setCenter(new GLatLng(40,-100),3);
      var control = new GLargeMapControl() ;
      var topRight = new GControlPosition(G_ANCHOR_TOP_RIGHT, new
GSize(10,10));
      map.addControl( control,topRight );
      map.addOverlay(new GPolyline.fromEncoded({ color: "#FF0000",
                                        weight: "5",
                                        opacity: "1",
                                        points: "c|lnG|vn}L_pR?",
                                        levels: "BB",
                                        zoomFactor: 16,
                                        numLevels: 4}));
     </script>
  </body>
</html>

This map has a single Red polyline in Vermont.

by mouse clicks on the MapControl as follows, we can make the polyline
disappear

1. zoom in [+]
2. zoom in [+]
3. zoom right [>]
4. zoom right [>] polyline is still visible
5. zoom in [+]
6. zoom in [+]
7. zoom up [^]
8. zoom up [^]
9. zoom right [>]
10. zoom right [>]
11. zoom right [>]
12. zoom right [>]
13. zoom right [>] polyline is invisible
14. zoom down [v]
15. zoom out [-]
16. zoom out [-] polyline is visible again.

these 16 clicks on the map control affect the height of the SVG
polyline as follows
using FireFox FireBug DOM inspector on map.h[0].ca.height

on map load = 2405

1. 2091
2. 1480
3. 1480
4. 1480 (positive height: polyline is visible)
5. 251
6. -2228 (negative height: polyline is invisible)
7. -2228
8. -2228
9. -2228
10. -2228
11. -2228
12. -2228
13. -2228
14. -2228
15. -569
16. 265 (positive height: polyline is visible)


--~--~---------~--~----~------------~-------~--~----~
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