tiles are visible! the tileserver works! they're the right way up! they have colours!

This commit is contained in:
Adam 2022-01-19 22:42:22 +01:00
parent 6fe3132f23
commit a557c437cc
4 changed files with 72 additions and 35 deletions

View file

@ -30,11 +30,13 @@ fun createFactorioMap() = Maps {
// DefaultTileLayers.OpenStreetMap.addTo(this)
L.tileLayer(
"""http://localhost:9073/tiles/s1/z1/x{x}/y{y}.png"""
"""http://localhost:9073/tiles/s1/z{z}/x{x}/y{y}.png"""
) {
attribution = "kafkatorio"
tms = true
minZoom = 1
// maxZoom = 1
maxNativeZoom = 1
}.addTo(this)
with(options) {