Web-Map-Custom-Element icon indicating copy to clipboard operation
Web-Map-Custom-Element copied to clipboard

tileloadstart event causes error

Open prushforth opened this issue 2 years ago • 1 comments

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:

image

  <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->

prushforth avatar Mar 11 '23 13:03 prushforth

Related?

prushforth avatar Mar 11 '23 13:03 prushforth