Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

228
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda