title: Google Maps JS API v3 - Simple Multiple Marker Example with Custom Markers
body: <p>Here is a great example of a simple Google Map:
  <a href="https://stackoverflow.com/questions/3059044/google-maps-js-api-v3-simple-multiple-marker-example">Google Maps JS API v3 - Simple Multiple Marker Example</a></p>
  
  <p>I am trying to add to this example the ability to assign each maker a custom Icon. 
  Given the linked example:</p>
  
  <pre><code>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] ]; 
  </code></pre>
  
  <p>I am thinking something like:</p>
  
  <pre><code>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' ] ]; 
  </code></pre>
  
  <p>Thanks in advance for your answers!</p>