Fix marker position logic and zoom range calculation on Kzed and Flat
This commit is contained in:
parent
4bf9f9a978
commit
ee790f86ed
4 changed files with 3 additions and 3 deletions
|
|
@ -536,6 +536,7 @@ public class FlatMap extends MapType {
|
|||
s(o, "backgroundnight", c.getString("backgroundnight"));
|
||||
s(o, "bigmap", this.isBigWorldMap(world));
|
||||
s(o, "mapzoomin", c.getInteger("mapzoomin", 3));
|
||||
s(o, "mapzoomout", world.getExtraZoomOutLevels());
|
||||
s(o, "compassview", "S"); /* Always from south */
|
||||
a(worldObject, "maps", o);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -587,6 +587,7 @@ public class DefaultTileRenderer implements MapTileRenderer {
|
|||
s(o, "backgroundnight", c.getString("backgroundnight"));
|
||||
s(o, "bigmap", map.isBigWorldMap(world));
|
||||
s(o, "mapzoomin", c.getInteger("mapzoomin", 3));
|
||||
s(o, "mapzoomout", world.getExtraZoomOutLevels()+1);
|
||||
s(o, "compassview", "SE"); /* Always from southeast */
|
||||
a(worldObject, "maps", o);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue