I’m trying to leaflet to render about 30K points with their names. The text label should avoid overlapping, and important points should always be rendered firstly.
My strategy is:
- Use tippecanoe to make mbtiles file from geojson. (To make sure important points be rendered firstly, I have specified tippecanoe's minzoom and maxzoom for each point. )
- Use tileserver-gl to serve vector tile.
- Use VectorGrid plugin to render the vector tiles in leaflet.
I trying to use maputnik to make a style.json file, which seems very nice dealing with text label overlapping. However, I sadly find out leaflet VectorGrid plugin does not support style.json file. https://github.com/Leaflet/Leaflet.VectorGrid/issues/196
Now I'm stuck. What is my alternative to rendering those points with names?