Large dataset of markers or dots in Leaflet

前端 未结 5 1428
感动是毒
感动是毒 2020-11-27 13:15

I want to render about 10.000 markers or dots on a leaflet map. I already did it the regular way and I found it is way slower compared to Google Maps. I\'m looking for a way

5条回答
  •  难免孤独
    2020-11-27 13:47

    You should check https://github.com/robertleeplummerjr/Leaflet.glify. It provides way of rendering leaflet points and polygons using web gl, allowing to scale more easily.

    It's also available for the people that uses R to produce their leaflet: https://github.com/tim-salabim/leaflet.glify

    The R version is super easy.

提交回复
热议问题