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

245
Visualizações
Filter data from database in Leaflet

My problem is a bit tricky : I'm trying to create a filter (ideally a checkbox list, or even Leaflet.control.layer) that works with attributes instead of layers in Leaflet.

Bascially, I have six layers, and all of them have a common attribute (a type). They are split in six layers because I need to do other things with each seaparately. However, I'd like to have a control that allows me to mask/show features from all of these layers at the same time when their respective checkbox is checked.

Also, it's worth specifying that my data is fetched from a postgresql database, and that I already have a list of all the values in the common attribute.

Is there an easy way to do this? A plugin ? I've been looking for a while but can't find anything relatively easy... Thanks!

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