alexandre-melard / leaflet.TileLayer.WMTS

Add WMTS layering for leaflet
Other
78 stars 84 forks source link

Error while reproducing sample code #23

Open ekleiman22 opened 5 years ago

ekleiman22 commented 5 years ago

I have copied all sample code into my page say index.html. When I try to browse this page I got no map and in console I see error message:
leaflet-tilelayer-wmts.js:1 Uncaught TypeError: Cannot read property 'identifier' of undefined And error is here var h = this.matrixIds[e].identifier
because e = this._tileZoom is not defined. How could it be fixed?