Updates an ArcGIS JS API WebMap from the given web map JSON.
The JSON to apply.
The layer to update.
Optional
The Portal item definition if the web scene comes from Portal/AGOL.
Updates an ArcGIS JS API WebMap from the given web map JSON.