Hi I've been able to solve my problem thanks to Martin function. As Martin said, what I've done is calculate the lat/lng for the 5 zoom levels I need and to get the proper coordinate I simply multiply this value by some pixels (depending on the movement/icon size). Of course, if anyone wants to try something like this, the zooms and movements may have to be different from mine, but I guess this could be easily adapted.
I've updated the link to my sample page (I'll keep the link active for as long as I can). The link is the same than before: http://www.lariereta.com/testCustomMarker/testCustomMarker.html To better test the site, I've done two more changes to the sample: - I've limited the zoom levels to the ones I need. - As I have eight possible movements, I've drawn 8 markers, one for each of the movements, so that I could test it thoroughly. Thanks to everyone. D. -- 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.
