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

@ -289,12 +289,12 @@ public class KzedMap extends MapType {
return false;
}
public List<String> baseZoomFilePrefixes() {
ArrayList<String> s = new ArrayList<String>();
public List<ZoomInfo> baseZoomFileInfo() {
ArrayList<ZoomInfo> s = new ArrayList<ZoomInfo>();
for(MapTileRenderer r : renderers) {
s.add("z" + r.getPrefix());
s.add(new ZoomInfo("z" + r.getPrefix(), 0));
if(r.isNightAndDayEnabled())
s.add("z" + r.getPrefix() + "_day");
s.add(new ZoomInfo("z" + r.getPrefix() + "_day", 0));
}
return s;
}