• Polygon Creator Class (For Google Map API v3)
  • Document

Demo Instruction: Left click on the map to create markers, when last marker meets first marker, it will form a polygon. Right click on the polygon to change its color.