Hello,

I think that there is a bug with the polyline drawing feature while
it's being used along a TileLayerOverlay. In the example below, you'll
be able to see that the dots between the last point of the line and
the mouse pointer appears under the overlay.

Here this is not critical because our overlay is translucent, but with
an opaque overlay, the user basically has no feedback to help him
drawing the line.

The diagnostic :
The TileLayerOverlay is drawn in a container that have a zIndex of at
least 100 and the dots have a zIndex set to '1', and they have the
same parent therefore they are displayed under the overlay.

To check that, it tried a little hack that sets the zIndex of the
overlay container to 1, and we have now the dots over the overlay. But
that's not an acceptable solution : it breaks some rendering features.
(eg. mouse grab pointer behavior is sometimes broken and the
transparent map shows over the overlay in the hybrid mode after a
zoom).

A real solution would be to fix the zIndex of the dots themselves but
they are put directly in the map container, not grouped and with no
easy way to identify or select them.

The following example will shows to maps :
 * the bug on the left map
 * the hack that check the z order problem on the right
http://nicolas.cherel.free.fr/samples/polylinedrawingoverlay/polyline_overlay_draw_ui_bug.html


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