title: Draw polygons in Gmap(Primefaces)?
body: <p>I read this article(<a href="https://www.primefaces.org/showcase/ui/data/gmap/polygons.xhtml" rel="nofollow noreferrer">https://www.primefaces.org/showcase/ui/data/gmap/polygons.xhtml</a>) about making polygons with cordinates and add them as a layer on gmap,but how to make something like a button and when it is pressed the user can draw a polygon on the map and save it with it's cordinates.</p>
  
  <p>I want the cordinates not to be hardcoded they must be taken when the user draw it on the map.</p>
  
  <p>Thanks you a lot!</p>