You should only use DivPixel for things that are appended to a draggable
Pane within the map.
In your case, the tooltip is attached to the map container, so you
should use ContainerPixel.
The nomenclature is a bit confusing because, in this group, we sometimes
refer to the <div> that contains the map as the "map div". For the
purpose of map.fromLatLngTo...() calls you need to make the distinction
between the "map Container" ('#map') on the one hand and the "map Div"
(map.getDragObject()) and the Panes that it contains (e.g.
map.getPane(G_MAP_FLOAT_PANE )) on the other.
--
Mike Williams
http://econym.org.uk/gmap
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---