Hi Stuart,

You would reference it as markerArray[0], markerArray[1], etc.
Alternatively, you can store them in an object (var markers = new
Object(); markers[key] = new Marker()), and reference it like
markers["a"], markers["b"], etc.

- pamela

On Fri, Oct 3, 2008 at 8:13 AM, Stuart <[EMAIL PROTECTED]> wrote:
>
> Hi Guys,
>
> I'm a bit of a novice when it comes to AS and I'd appreciate a point
> in the right direction on this particular problem.  I've got an
> application that creates markers on click and pushes them into an
> array using:
>
> // place waypoint on the map
>  map.addOverlay(marker);
>  markerArray.push(marker);
>
> However I'm not sure exactly how to reference this marker in the
> future should I need to change it - e.g. drag it to a new location and
> obtain the new co-ordinates.
>
> Any help would be appreciated - thanks in advance for your time.
>
> Stuart.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" 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-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to