I am extending Leaflet getTileUrl for some sort of caching tiles. I use Vue but it shouldn\'t affect anything. It currently looks like this: