Issue #1605188 by acbramley: Fixed 'OpenLayers layers failed the sanity check. when editing default map provided.