Fix background colors when rendering zoomout with JPEG format

This commit is contained in:
Mike Primm 2011-09-06 14:15:07 +08:00 committed by mikeprimm
parent e7f30153b8
commit 771059bf5a
5 changed files with 43 additions and 18 deletions

View file

@ -143,11 +143,11 @@ public class HDMap extends MapType {
}
@Override
public List<String> baseZoomFilePrefixes() {
ArrayList<String> s = new ArrayList<String>();
s.add(prefix);
public List<ZoomInfo> baseZoomFileInfo() {
ArrayList<ZoomInfo> s = new ArrayList<ZoomInfo>();
s.add(new ZoomInfo(prefix, getBackgroundARGBNight()));
if(lighting.isNightAndDayEnabled())
s.add(prefix + "_day");
s.add(new ZoomInfo(prefix + "_day", getBackgroundARGBDay()));
return s;
}
@ -259,6 +259,7 @@ public class HDMap extends MapType {
v = 0xFF000000 | (v & 0xFFFFFF);
}
}
return v;
}