Palats / mapshot

Factorio mod to export maps as zoomable html
Apache License 2.0
77 stars 12 forks source link

Thin lines visibles between tiles #4

Closed Palats closed 3 years ago

Palats commented 3 years ago

When using fractional zooms level, there are some lines which can be visible between tiles. This comes from https://github.com/Leaflet/Leaflet/issues/3575 . There are some workaround in the bug which might work.

cengbrecht commented 3 years ago

Might upload to a webserver if you're curious. Its a 10Gb folder now, :P Figured out the quality settings and such that I like, but it does show the thin lines. image

cengbrecht commented 3 years ago

Another guy in that thread mentioned that Leaflet is not really super good at support any more. And suggested https://openlayers.org/ openlayers as a strong alternative. Any thoughts?

cengbrecht commented 3 years ago

Also, this post has an interesting workaround: https://github.com/ngageoint/mapcache-electron/commit/53dcfa608f477d1ccd088320cf76de7b8ce8bc5f

Palats commented 3 years ago

Fix is not great - issues are still visible when unzooming a lot without reloading. Though it seems that it mostly does the trick when zoomed it, so we will go with that for now.

Palats commented 3 years ago

Release 0.0.11 has the workaround.