Has anyone had success using this approach within an Android app? An android app launching leaflet with Webkit? It works connecting to the net, but not with the offline tiles:
//this works, but is online:
/*
maxZoom: 18
}).addTo(map);
*/
// None of the approaches to reference the downloaded png tiles work...I have tried adding the tiles to assets directory in my app and also directly onto the device's internal storage.
L.tileLayer('map/Mapnik/{z}/{x}/{y}.png', {
maxZoom: 10
}).addTo(map);
Anybody had success with this?
Thanks.