Skip to main content

<map-datalist>

The <map-datalist> element is an extension of HTML <datalist>. It is a child of the <map-extent> element and is used by the list attribute of the <map-input> element by linking the id of <map-datalist>:

The <map-datalist> element contains one or more <map-option> elements.

Attributes​

id​

Sets the id of the <map-datalist> element. This id is used by the list attribute of the <map-input> element, allowing it to link to the datalist.


Child Elements​

<map-option>​

This element contains the values for the datalist. A <map-datalist> element can contain one or more <map-option> elements.

Attributes​

  • value
    • This allows you to set the value of the the datalist option.

Specifications​

Specification
MapML datalist element
HTML datalist element