Fix TileLayer infinite error loop (#5783)
Fix TileLayer infinite error loop (#5783)

* fix eslint errors

* fix errorTileUrl comparison

* fix getting wrong attribute

Leaflet/Leaflet,stefanocudini/Leaflet,CapeSepias/Leaflet,stefanocudini/Leaflet,Leaflet/Leaflet,Leaflet/Leaflet,stefanocudini/Leaflet,CapeSepias/Leaflet,msiadak/Leaflet,msiadak/Leaflet,msiadak/Leaflet,CapeSepias/Leaflet