map.setThumbnail(thumbWidth);
map.setShowLargeGrid(false);
map.setShowThings(true);
map.setShowAreas(true);
map.setShowFeatures(true);
map.saveImage(imageDir.getPath()+"/"+path, scale, false);
} catch (Exception e) {
e.printStackTrace();
}
return "../../images/"+path;