title: Drawing multiple holes into a polygon - google maps api
body: <p>I am using the same method as this example <a href="http://www.geocodezip.com/v3_polygon_example_donut.html" rel="nofollow">http://www.geocodezip.com/v3_polygon_example_donut.html</a> to draw my initial whole in the polygon. I now want to draw multiple wholes in the same polygon after the initial whole so I thought I could just do this:</p>
  
  <pre><code>var p = new google.maps.Polygon({
          paths: [drawCircle(getPosition(), 100, 1),
          drawCircle(getPosition(), .02, -1), 
          drawCircle(new google.maps.LatLng((45.345573,-71.09909500000003),
          10, -1))],
          strokeColor: "#040102",
          map: map
      });
  </code></pre>
  
  <p>But that doesn't work. The first 2 paths in the array will be drawn (which will look exactly like the donut example) but it won't render the last path. Any ideas why?</p>
  
  <p>Thanks!</p>