I have having trouble using custom icons when using a geocoding callback function. I worked around the problem by having a different callback function for each icon, but this is clearly inelegant. The link below shows two versions of my map, the first illustrates the correct output, but with the ugly code. The second shows the way I think it should work (but doesn't).
It seems to be a scope issue, as it is only showing the last value of the loop for all the icons. Is there a way to set the GMarkerOptions value when the getLatLng is run, not when it is called by the return? http://www.massenergy.org/secure/rad/maptest/index2.php Thank you in advance for any help you can provide, and please let me know if I can clarify anything. Sincerely, --jack romano --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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 -~----------~----~----~----~------~----~------~--~---
