Relative Content

Tag Archive for pythongithub-pagesflet

Can’t load TileLayer from local file in web mode

I have own raster tiles created from QGIS. They are okey, and work on windows app mode by starting python server at http://localhost:8000 and attribute looks like this url_template="http://localhost:8000/{z}/{x}/{y}.jpg",, but this solution doesn’t work at web mode and i am putting my script on github pages. It will be perfect to use local path like in leafmap "./{z}/{x}/{y}.jpg", but this also not working.