Hacker News new | ask | show | jobs
by kabes 1824 days ago
no, openlayers supports vector tiles out-of-the-box and leaflet with a plugin
2 comments

True, OpenLayers and Leaflet have some support for vector tiles. However, you cannot rely on it because the performance is not there to render a normal map. Alternatively, you can use maplibre-gl-leaflet to integrate the two but it's experimental with some significant caveats.
You can use vector tiles with openlayers but they draw it on the canvas and not via web GL i.e. it is slower.