Is there a way to create a button that increases the y value of a
icon?
For instance,
function onMapReady(e:MapEvent):
{
var markerOption:MarkerOptions = new MarkerOptions();
markerOptions.iconAlignment =
MarkerOptions.ALIGN_HORIZONTAL_CENTER;
markerOptions.iconOffset = new Point(0,0);
var marker:Marker = new Marker(map.getCenter(), markerOptions);
map.addOverlay(marker);
}
function buttonpress(e:ButtonEvent):
{
markerOptions.iconOffset.y += 10;
}
Thanks in advance
--
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.