Google Maps V3 geocoding and markers in loop
问题 I have some problems with my code, I have a list of airports in a sql database, and I want to create markers for each 1 of those airports. For the address i got ICAO-codes for each airport, an ICAO is unique for each airport I get the data from the Database as array it's is saved in "temp" with an split function and with the for-loop it get them 1 by 1 Geocoding is not the problem, but I don't know why for the TITLE and the on click event it is always the last one from the array which is used