Incoming model config is being "deep merged" with existing model config, allowing deleted properties to remain in externalLayers property.
I've noticed while trying to update external layers. The quick fix was to add delete dbModel.map.externalLayers; before this line.
Incoming model config is being "deep merged" with existing model config, allowing deleted properties to remain in
externalLayersproperty.I've noticed while trying to update external layers. The quick fix was to add
delete dbModel.map.externalLayers;before this line.