Hi
I am trying to use an image for a Marker icon, my code is;
private function createMarker(latlng:LatLng):void {
var img:Image = new Image();
img.source = "assets/marker.png";
var options:MarkerOptions = new MarkerOptions();
options.icon = img;
var marker:Marker = new Marker( latlng, options );
map.addOverlay(marker);
}
But it doesnt seem to work. Can anyone point me to what I am doing
wrong?
regards
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---