function readLegendUrl(node, objectStack) {
  const legend = {};
  legend['format'] = node.getAttribute('format');
  legend['href'] = readHref(node);
  return legend;
}
@param {Element} node Node.
@param {Array<*>} objectStack Object stack.
@return {Object|undefined} Legend object.