Optional
params: JProjectLoadThumbnailsParamswidth (0 < width < 1280) and height (0 < height < 720) for the thumbnails
if params are not correct
// Will load all projects thumbnail images
JMap.Project
.loadAllProjectThumbnails({
width: 200,
height: 200
})
.then(() => console.info("All project images has been loaded"))
.catch(error => console.error("Cannot load project images"))
// Then you can get current project thumnail like that
const thumbnail = JMap.Project.getBase64ImageThumbnail()
// Or you can get the project id=3 thumbnail like this
const otherThumbnail = JMap.Project.getById(3).base64ImageThumbnail
JMap.Project.loadAllProjectThumbnails
Load all project thumbnails in the data store.
Default width is 348 and height 190.
Image is a base 64 formatted string.