i am using custom icons and only one marker is showing up ( i think
the last one).
this is what i did
var requestS:URLRequest;
requestS = new URLRequest(".../images/school.png");
var imageLoaderS:Loader= new Loader();
var marker1:Marker= new Marker(new LatLng
(42.1673090,-87.867118),new MarkerOptions({fillStyle:{color:
0xed2024},label: "S", title: "", icon:imageLoaderS,content: "",
tooltip: "Wilmot Elementary K-5"}));
map.addOverlay(marker1);
imageLoaderS.load(requestS);
var marker2:Marker= new Marker(new
LatLng(42.169105,-87.871555),new
MarkerOptions({fillStyle:{color:0xed2024},label: "S", title: "",
icon:imageLoaderS,content: "", tooltip: "Caruso Middle School 6-8"}));
map.addOverlay(marker2);
imageLoaderS.load(requestS);
my work around is to keep adding different URLRequests and loading the
same image...must be a better way...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---