The marker's image can be changed after it's created, and that's what
you're wanting. You are seeing that the MarkerImage *object* is what
can't be changed after creation. So in your case, you'd create a set
of a few MarkerImages (any/all icons you want to use for your Marker's
image), then set one of them at a time, as needed, to your Marker
Object via .setImage(). Think of the the MarkerImage object as the
actual picture, and the Marker object as the slot that the MarkerImage
object can be set into.
http://code.google.com/apis/maps/documentation/v3/reference.html#Marker

var markerImageCircle =
google.maps.MarkerImage(optionsForCircleImage);
var markerImageSquare =
google.maps.MarkerImage(optionsForSquareImage);

var myMarker = google.maps.Marker(objMarkerOptions);
// Initial setting
myMarker.setImage(markerImageCircle);
...
// User has done something and we set it to a square
myMarker.setImage(markerImageSquare);


All is not lost, you can still do what you wanted to do.

On Mar 6, 6:24 pm, regalia <[email protected]> wrote:
> The V3 documentation says the MarkerImage object cannot be changed
> once constructed.
>
> In V2, I took advantage of GMarker's setImage method to create a
> dynamic draggable marker that updates its own icon to acknowledge the
> direction of a drag event, much like google map's draggable
> pedestrian.
>
> Am i going to be able to implement this crucial aspect of my program
> in future versions of V3?
>
>  - regalia

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