Summarize the issue:
I need to place some markers after google map is loaded. So I do this
in onload() method:
=========================================
mymarker = new GMarkert(latlng, {icon:myicon});
map.addOverlay(mymarkert);
=========================================
However, the outcoming marker is blank, only infoWindow is displayed.
Moreover, when the same method is called later, the display is
correct, my icon got displayed.
I tried to preload the images before add marker to map:
var iconTemp = new GIcon();
iconTemp.image = imageSrc;
or
var imgTemp = new Image();
imgTemp.src=imageSrc;But neither works!Strange~ Link to the map or business listing in question : my site is : http://tennis.funnywall.cn The call sequence is onload()->loadMap()->playTalk()->listPlayer()- >addPlayer (where I add the marker) function 'addPlayer' get called some time later and everything is fine then. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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?hl=en.
