Thanks for your reply.
The Ajax.Request("/pivrain3/...) url returns a string /images/
rain_sensors/0.03.png (in single quotes)
so newImageIcon should be that url as a string, right?
when i do this, the marker is not updating but if i copy the image url
into the browser, it does load the image.

unless i am mistaking your answer.

thanks


On Jan 21, 1:31 pm, Rossko <ros...@culzean.clara.co.uk> wrote:
> >                 newImageIcon   = new Ajax.Request("/pivrain3/ ..
> ...
> >                 markers_array_a[index].setIcon(newImageIcon);
> ...
> > i cannot tell what i am doing wrong,
>
> Setting the marker's .setIcon() to some strange object instead of
> either (a) a string representing a url or (b) a MarkerImage object 
> ?http://code.google.com/apis/maps/documentation/javascript/reference.h...
>
> You don't need to fetch the image ; that's the API's job.  Just
> set .setIcon() to a url.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to