Re: [R-sig-Geo] viewing locally hosted mbtiles vector tiles using leaflet.mapboxgl?

2020-03-11 Thread nevil amos
Hi Tim, Thanks for you suggestions. I have looked at the leafgl package, and yes it does speed the rendering of my polygons, however it still has to render them all, rather than using the tiling option, so is not as quick as tiles would be ( if they worked!). I have no problem locally serving

Re: [R-sig-Geo] viewing locally hosted mbtiles vector tiles using leaflet.mapboxgl?

2020-03-11 Thread Tim Salabim
Hi Nevil, while not being able to help with mbtiles, maybe you want to try leafgl to view your polygons. https://github.com/r-spatial/leafgl It should have no problems with 40k polygons. Regarding RStudio's leaflet.mapboxgl, I don't think it is intended for local use (though I might be wrong).