css classes
if given classes param is not a string array
// dom elements that having "my-class-that-is-visible-on-screen-but-want-to-hide-in-preview"
// css class will be hidden in the preview image
JMap.MapContext.addCssClassesToIgnoreForPreviewImage([
"my-class-that-is-visible-on-screen-but-want-to-hide-in-preview"
])
JMap.MapContext.addCssClassesToIgnoreForPreviewImage
Add css classes in the list of css class to ignore/hide when processing the preview image.