Andi,
Create an empty array, then add each marker object to the array as it (the
marker object) is created. Something like:
*private** **var** overlayObjects:Array=[];***
*
*
As each marker object is created, push it into the array. The following
example is for a polygon marker not a point marker:
*overlayObjects.push({name:obj.name,marker:polygon});***
*
*
The lat, lng will be in the marker itself, and you can create ROLL_OUT and
ROLL_OVER events for the markers.
The above example is from chapter 7 of a free tutorial on mapping with
Google Maps and Flex. It is available at //
http://tnatlas2.geog.utk.edu/tutorhome/
<http://tnatlas2.geog.utk.edu/tutorhome/>Hope this helps.
Bruce
On Wed, May 4, 2011 at 10:05 AM, Andi <[email protected]> wrote:
> I want to add the markers to an array , I want to add to my array all the
> markers ex(lat,lng,title,year) the lat, lng , title , year I get them from
> my csv file that I have allready loaded in my movie
>
> --
> 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.
>
--
Bruce Ralston
Professor Emeritus
Department of Geography
University of Tennessee
Knoxville, TN 37996-0925
Phone: 865-974-6043
FAX: 865-974-6025
--
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.