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

278
Vistas
Leaflet load more geoJSON data on zoom

I have a leaflet map loading geoJSON data via a search input that queries an api. The data set contains 1300 rows and each row has a field that stores a geoJSON collection object.

My map search returns a few hundred results which are then pushed into a geoJSON feature collection, i then call map.fitBounds(geoMap.getBounds()); and the map zooms nicely to show the polygon areas from the search for geoJSON with the correct zoom level.

When the users moves or zooms the map out I need to load more of the adjacent geoJSON from the source data set.

Does leaflet.js have any in built functions to assist with this? Do I need to manually calculate the search results values and the search through the remaining data to get the 'nearest' adjacent?

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