I'm aiming to represent a huge geojson file (around 250Mb) using leaflet, therefore, I need to render my data before displaying it. I want to only load data that is in the bounds of my leaflet frame. Also, I want, as long as the map load the quality of the polygon bounderies increases. I think the same process is used in loading tiles.


1 Answer 1


From " I need to render my data before displaying it" I assume that you do not need to draw GeoJSON as vector. In such a case you may publish your data using GeoServer etc as wms. This will take load from client to the server in cost of incresed bandwidth usage in your server.

In case you need to render map on client side you may check GeoServer Vector Tiles and Leaflet vector tiles

  • Actually, I want to make some modifications on the polygons that will be displayed, like for example Merge two polygons. Therefore I don't think tiles is what I'm looking for.
    – Zak
    Jul 31, 2017 at 13:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.