Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

235
Views
How to get the each coordinate with click event when using drawing library

I want to get the coordinates when each time I click to a point when I drawing the polygon. I know there is a method that used to get the coordinates of the points after the polygon drawn but that not what I looking for.

I'm looking for something when I execute the drawing Polygon event, each time I select the point I able to get the coordinates instantly when the drawing Polygon event is running.

google.maps.event.addListener(drawingManager, 'overlaycomplete', OverlayCompleteEvent => {
    const polygonPoints = OverlayCompleteEvent.overlay.getPath().getArray();
    
google.maps.event.addListener(drawingManager, 'click', function(){
     // get the points here...
    });

  
  });
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!