> my work around is to keep adding different URLRequests and loading the
> same image...must be a better way...

on second thoughts, there should be little overhead when
using separate imageLoaderS for each marker. Browser's cache
will deal with it. Different URLRequests I don't think would
help... :) The code might look like this then:

                        var requestS:URLRequest;
                        requestS = new URLRequest(".../images/
school.png");
                        var imageLoaderS_1:Loader= new Loader();

                        var marker1:Marker= new Marker(new LatLng
(42.1673090,-87.867118),new MarkerOptions({fillStyle:{color:
0xed2024},label: "S", title: "", icon:imageLoaderS_1,content: "",
tooltip: "Wilmot Elementary K-5"}));
                        map.addOverlay(marker1);
                        imageLoaderS_1.load(requestS);

                        var imageLoaderS_2:Loader= new Loader();

                        var marker2:Marker= new Marker(new LatLng
(42.169105,-87.871555),new
MarkerOptions({fillStyle:{color:0xed2024},label: "S", title: "",
icon:imageLoaderS_2,content: "", tooltip: "Caruso Middle School
6-8"}));
                        map.addOverlay(marker2);
                        imageLoaderS_2.load(requestS);
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to