Yea, I decided to give that one a go and it appears to be working pretty
good.  Now I just need to see if I can figure out a way to read a string
value and reset the image for the marker based on heading so the vehicle
isn't always sitting sideways.

On Mon, May 10, 2010 at 7:04 PM, Barry Hunter
<[email protected]>wrote:

> Personally would do as you suggest and have a single icon you move along
> the path. It could also help avoid a flicker or other issue in case the
> required icon isn't visible (although I don't think mm should do that)
>
> On 10 May 2010 21:03, "Nathan Raley" <[email protected]> wrote:
>
> Is there a way to change the icon that is displayed for a marker once the
> marker has been added to MarkerManager?
>
> I have my markers all stored in an array which I then add all the markers
> to MarkerManager through the addMarkers(array):
>
> var BreadCrumb = new GMarker(point, {"icon": FinishPoint, "clickable":
> true, "draggable": false });
> BreadCrumbMarkersStartFinish.push(BreadCrumb);
> BreadCrumbMM = new MarkerManager(Map, BreadCrumbMMOptions);
> BreadCrumbMM.addMarkers(BreadCrumbMarkers, 17);
>
> Now is there any way to change the icon or image of a Marker at position x
> in my BreadCrumbMarkersStartFinish array which I have passed to my
> BreadCrumb MarkerManager?
>
> I am basically attempting to plot a path with markers and then show the
> drive along the path and am wanting to change my regular marker icons from a
> dot to like a vehicle or something as it cycles through the markers?
>
> I though MarkerManager would be the easiest way to attempt this or would it
> just be easier to add a regular marker and change the position of it?
>
> If so how can I pull my position from my breadcrumbs array that I have all
> the points saved to?
>
> Any advice is greatly welcome
>
> Thanks in advance.
>
>  --
> 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]<google-maps-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api?hl=en.
>
>  --
> 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]<google-maps-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api?hl=en.
>

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