title: GoogleMaps "SyntaxError: missing ) after for-loop control"
body: <p>I use this code to display a Google Map with Markers. But now it throws an error. <strong>"SyntaxError: missing ) after for-loop control"</strong> Knows someone why?</p>
  
  <pre><code>  for (var i = 0; i &lt; locations.length; i++) {
      var beach = locations[i];
      var myLatLng = new google.maps.LatLng(beach[1], beach[2]);
      var marker = new google.maps.Marker({
          position: myLatLng,
          map: map,
          icon: image,
          shape: shape,
          title: beach[0],
          zIndex: beach[3]
      });
    }
  </code></pre>