Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

244
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda