Web-Map-Custom-Element
Web-Map-Custom-Element copied to clipboard
tileloadstart event causes error
Steps to reproduce:
According to the documentation, the following layer should be able to provide tileloadstart events for you to populate a map with custom tiles.
If you paste that layer into the example viewer on this page as a second layer, it produces the following error:

<layer- label="Custom Tiles" checked>
<map-meta name="zoom" content="min=0,max=23" ></map-meta>
<map-extent units="OSMTILE">
<map-input name="zoomLevel" type="zoom" min="0" max="23" value="1" ></map-input>
<map-input name="row" type="location" axis="row" units="tilematrix" min="0" max="2" ></map-input>
<map-input name="col" type="location" axis="column" units="tilematrix" min="0" max="2" ></map-input>
<!-- listen for the tileloadstart event on this element -->
<map-link rel="tile" title="" tref="" ></map-link>
</map-extent>
</layer->