How to draw straight lines inside google map polygon
I have created a google map using google map javascript API V3 . I am drawing number of zipcode polygons. The polygons are of different colors depending upon some condition. Now I want to draw straight lines/ hash marks inside some of the polygons depending upon certain criteria. How can we do it. Below is the code which I have written for drawing the polygons. {% if zip.zip_info.zip_polygon %} var path = [ {% for polycoord in zip.zip_info.zip_polygon %} new google.maps.LatLng({{polycoord.1}}, {{polycoord.0}}), {% endfor %} ]; var polygon_{{ forloop.counter }} = new google.maps.Polygon( { path