Hi, i'm new here and I need help with the code of a map please!  I
need to place an image (An arrow) in the map, and I need to be able to
turn this image. The first thing works but then I don't know how to
call the function for apply the changes. Here's the line code I need
to modify :

onload=function(){
    rotate.call(document.getElementById('im'),50);
}

As you can see I'm colling this line :

<img id="im" src="http://www.sl2o.com/tc/picture/Fleche.PNG";
width="97" height="100" />

but that I realy need it's to modify the marker who contains the
image, here:

  sURL    =  'Image.jpg';
  iWidth  =  97;
  iHeight =  100;


  mImage = new google.maps.MarkerImage(sURL, new
google.maps.Size(iWidth,iHeight), new google.maps.Point(0,0), new
google.maps.Point(Math.round(iWidth/2),Math.round(iHeight/2)));


          var oMarker = new google.maps.Marker({
    'position': new google.maps.LatLng(iStartLat,iStartLon),
    'map': map,
    'title': 'mon point',
    'icon': mImage

Thank you in avance !!

PS: And sory for my bad english xD

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

Reply via email to