Leaflet / Leaflet.VectorGrid

Display gridded vector data (sliced GeoJSON or protobuf vector tiles) in Leaflet 1.0.0
598 stars 194 forks source link

Basemap with fonts #187

Open wadclapp opened 5 years ago

wadclapp commented 5 years ago

Hi

Are there any plans to add the drawing of fonts to the basemaps? So place names etc get displayed on the map?

Unless I'm missing something, the only solution I've found currently to achieve this with Vector Tiles in Leaflet is by using mapbox-gl-leaflet (which appears to be losing support) with mapbox-gl (which isn't ideal).

perliedman commented 5 years ago

Hi!

Labeling is quite a complex area, and so far we have avoided it. I know @tomchadwin and someone else made some attempts with this, but AFAIK they stalled, perhaps partly because the lack of time from the maintainers of this project.

As it stands now, no one is actively working f Leaflet.VectorGrid AFAIK, so it is not likely that it will be added any time soon. Any help with the project, like adding labelling, is of course welcome.

wadclapp commented 5 years ago

Hi @perliedman, thanks for the reply and info! Unfortunately, I wouldn't have the expertise to help in this area.

I would imagine Vector Tiles are soon becoming the preferred standard for tiling? It would be great if some sort of clean solution could be reached for it in Leaflet.

tomchadwin commented 5 years ago

Yeah, it's https://github.com/Leaflet/Leaflet.VectorGrid/pull/131, based on https://github.com/Leaflet/Leaflet.VectorGrid/pull/68.