Edit on the first one I posted there think you'd have to do:
[CODE]
var m:Marker = new Marker(new LatLng(latArray[markerpoint],
lonArray[markerpoint]), new MarkerOptions({icon:new hotspotBox(), hasShadow:
false}));
map.addOverlay(m);
markersArray[0] = m;
//I tried this code below and some variations on it but no luck
markersArray[0].getOptions().icon.datetext.
text = "test text";
Basically I think the problem is you were trying to set the property on a
Marker a marker has a MarkerOptions and really that marker options has an
icon which is the instance of the object you want to modify, so it's a
matter of digging up that instance through a couple of layers of objects.
Good luck,
Shaun
--
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.