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

95
Visualizações
Manualy drawn bounding box is not draggable when using leaflet

The bounding box is created after you put in lat/lon and select draw. After drawing bounding box, the custom box is not drag-able. If you select the drawing rectangle from the map's menu the bounding boxes are drag-able. How do I make the manually created bounding box drag-able? Thanks in advance. Manually Created Bounding Box

function drawRectangle()
{
var lat_lon_array = [];
var north = document.getElementById("north").value;
var west = document.getElementById("west").value;
var east = document.getElementById("east").value;
var south = document.getElementById("south").value;
var lat_lon = [[north,east],[south,west]];
var rectangle = L.rectangle(lat_lon);
rectangle.addTo(map);
map.fitBounds(rectangle.getBounds());
}
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