cvalenzuela/Mappa

Example of using mappa without p5.js

nPellejero opened this issue · 0 comments

Hi, I am trying to use mappa using plain javascript canvas, without using p5.js, as I can't follow the setup and draw pattern due to some restrictions. I am running into some issues, specially related to many of the functions of leaflet used after mappa.tileMap('leaflet'); not working, or giving errors.

Would you mind to upload an example using plain canvas, or another canvas plugin differen from p5.js ?
Also, which API version of Leaflet should I use ? For example I am using these function to disable zoom control on my map, and they work with plain leaflet, but they don't work with mappa:

map.touchZoom.disable();
map.doubleClickZoom.disable();
map.scrollWheelZoom.disable();
map.boxZoom.disable();
map.keyboard.disable();
$(".leaflet-control-zoom").css("visibility", "hidden");