I've got a small Processing sketch that uses Unfolding to implement an interactive .mbtiles map. The sketch works fine within Processing, but when I export it and load up the applet I just get a white screen in the applet box. Any ideas how to fix this? I have a hunch it might have to do with the sqlite database that Unfolding uses. Code is below. Thanks!
println("In province " + k + " there are "+province.size()+ " polygons and "+verticesCount+" vertices.");
}
}
catch (JSONException e) {
println(e.toString());
println(idpoly);
}
//println(idpoly);
map = new de.fhpotsdam.unfolding.Map(this, new MBTilesMapProvider("jdbc:sqlite:" + dataPath("C:/Users/Eric/Documents/Processing/mapDemo2/data/indonesia_cf4fb2.mbtiles") + ""));