Ok, after many try it dont work for me. I have try to create the image object for each one image, and also to display each image into a display:none div.
But, now I have understand the problem : 1. my page is loaded html 2. my script is generated by php for displaying the map 3. my XML that contains the data is is generated by php 4. a function to parse the xml and to push the markers on the map is send Then I know the images list only in step 4, and if I send the images to DOM (preloadImg = new Image(); preloadImg.src = path;), is too late to preload them. Then I am back with my case. How can I resize (scale) my marker images ? I dont work if image not in cache ? Probabely a maps bug ? Sample map : http://www.myjoom.com/index.php?Itemid=188&option=com_geocode_factory&view=mapcb&idMap=5 Thanks. On 18 jan, 00:03, Rossko <[email protected]> wrote: > > Do you have a working sample of this ? > > No, but there are hundreds out there. It's not a map > issue.http://www.google.com/search?q=javascript+image+onload -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
