Map canvas
jvaldezch opened this issue · 2 comments
jvaldezch commented
Is it possible to access the map canvas?
I'm getting this error:
map.getCanvas is not a function
jgravois commented
Is it possible to access the map canvas?
yes.
the README contains information about accessing the underlying Mapbox GL JS map instance.
https://github.com/mapbox/mapbox-gl-leaflet/#code-example
gl.getMapboxMap()....
jvaldezch commented
Thanks, that works!