Hi there

In the web I'm developing I have some markers that I move slightly
from its given position (some 30px) using the iconAnchor property. I
do this because the coordinates I get are over a motorway and
depending on whether I want to place the icon on the north or south
bound of the motorway, I move it up or down accordingly.

The problem is now I'd like to draw a line from the icon (either the
center or the iconAnchor) to the actual given coordinate (so that the
user may now exactly where in the motorway is the item described by te
icon) and I can't see how to do it.
        - I have the original lat/lng coordinate (GLatLng).
        - And I know the number of pixels that I've moved the icon (GPoint).
        --> So, how can I draw a line between that GLatLng and that
GPoint???? Somehow I need to get the coordinate that is at X/Y pixels
(that GPoint) from the original coordinate. How can I do that???

Thanks for your help.

Dani.

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