Types
import type { SaveOptions, SaveAsOptions, ThumbnailSize } from "@arcgis/core/webdoc/support/types.js";

Type definitions

SaveOptions

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

ignoreUnsupported

Property
Type
boolean | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

Allow the WebMap / WebLinkChart to be saved even in the case it contains unsupported content (layers, renderers, symbols). Any content that is not supported will not be saved and the webmap may appear different when reloaded from its portal item.

SaveAsOptions

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0
Supertypes
SaveOptions

folder

Property
Type
PortalFolder | undefined
Since
ArcGIS Maps SDK for JavaScript 5.0

The folder in which to save the item.

ThumbnailSize

Type definition
Since
ArcGIS Maps SDK for JavaScript 5.0

width

Property
Type
number
Since
ArcGIS Maps SDK for JavaScript 5.0

The width of the thumbnail.

height

Property
Type
number
Since
ArcGIS Maps SDK for JavaScript 5.0

The height of the thumbnail.