whole_func_string: function updateMetadata(state, action) {
    return Object.assign({}, state, {
      metadata: Object.assign({}, state.metadata, action.metadata),
    });
  }
func_code_string: function updateMetadata(state, action) {
    return Object.assign({}, state, {
      metadata: Object.assign({}, state.metadata, action.metadata),
    });
  }
func_documentation_string: Update the map's metadata.
  @param {Object} state The redux state.
  @param {Object} action The selected action object.
  
  @returns {Object} The new state object.