Google Maps API JS v3 - Multiple Simple Marqueur Exemple avec des Marqueurs Personnalisés

Ici est un excellent exemple d'un simple Google Map:
Google Maps API JS v3 - Multiple Simple Marqueur Exemple

Je suis en train d'ajouter à cet exemple, la capacité à attribuer à chaque maker une Icône personnalisée.
Compte tenu de la lié exemple:

var locations = [   
['Bondi Beach', -33.890542, 151.274856, 4],   
['Coogee Beach', -33.923036, 151.259052, 5],   
['Cronulla Beach', -34.028249, 151.157507, 3],   
['Manly Beach', -33.80010128657071, 151.28747820854187, 2],   
['Maroubra Beach', -33.950198, 151.259302, 1] ]; 

Je pense à quelque chose comme:

var locations = [   
['Bondi Beach', -33.890542, 151.274856, 4,'images/icon1.png'],   
['Coogee Beach', -33.923036, 151.259052, 5,'images/icon2.png' ],   
['Cronulla Beach', -34.028249, 151.157507, 3,'images/icon3.png' ],   
['Manly Beach', -33.80010128657071, 151.28747820854187, 2,'images/icon4.png' ],   
['Maroubra Beach', -33.950198, 151.259302, 1,'images/icon5.png' ] ]; 

Merci d'avance pour vos réponses!

bienvenue!!!

OriginalL'auteur blh | 2011-04-14