merkaartor icon indicating copy to clipboard operation
merkaartor copied to clipboard

TMS: TmsServersList.xml server fields move on each exit

Open Totor2015 opened this issue 9 years ago • 1 comments

Tms field order of each server listed in TmsServersList.xml file move on each exit of Merkaartor For example:

1.) <TmsServer name="OSM.org Mapnik" minzoom="0" tilesize="256" maxzoom="17" address="http://tile.openstreetmap.org" path="/%1/%2/%3.png" projection="EPSG:900913"/>
2.) <TmsServer tilesize="256" maxzoom="17" address="http://tile.openstreetmap.org" projection="EPSG:900913" name="OSM.org Mapnik" path="/%1/%2/%3.png" minzoom="0"/>
3.) <TmsServer address="http://tile.openstreetmap.org" minzoom="0" projection="EPSG:900913" name="OSM.org Mapnik" tilesize="256" maxzoom="17" path="/%1/%2/%3.png"/>

I don't think the file should be saved on every exit, even if there is no change. The movement is confusing when trying to add tms servers directly in the file (workaround for bug #88).

Seen on 0.18.2-74-g2bc386b-32bit (win xp 32 ) and 0.18.2-73-g223ee66-64bit.exe (win7 64 ) (tms server is displayed normally as background every time)

Totor2015 avatar Feb 24 '16 05:02 Totor2015

I'm kicking this can down the road, as it will get major rewrite in the near future and it isn't worth fixing now.

Krakonos avatar May 28 '16 17:05 Krakonos