function getNewLayerName (existingLayerNames) {
  let i = 1
  while (existingLayerNames.includes(`Layer ${i}`)) {
    i++
  }
  return `Layer ${i}`
}
Given a set of names, return a new unique name.
@param {string[]} existingLayerNames - Existing layer names.
@returns {string} - The new name.