On Jan 14, 2:20 am, Iam Anonymous <[email protected]> wrote:
Building & destroying CANVAS or SVG or VML tiles for every mouse
movement is time consuming. Your best bet is to use a separate DIV
not attached to the map's container DIV. You will have to reposition
it yourself in response to "mousemove" events attached to the DIV
rather than API events.
You can use pixel offsets rather than Lat/Lon coordinates.
x=window.event ? window.event.x : e.layerX;
y=window.event ? window.event.y : e.layerY;
The DIV can contain a transparent PNG which every browser except IE6
understands or you can build a circle from scratch with CANVAS (arc)
or SVG (circle) or VML (oval) elements depending on which browser is
in use.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.