• Serializes an ArcGIS JS API Map or WebMap to JSON.

    Parameters

    • map: WebMap

      The map to serialize.

    Returns WebMapJson