tiles are visible! the tileserver works! they're the right way up! they have colours!
This commit is contained in:
parent
6fe3132f23
commit
a557c437cc
4 changed files with 72 additions and 35 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue