Fix zoom out processing for kzed maps - used name not prefix

This commit is contained in:
Mike Primm 2011-07-31 22:30:02 -05:00
parent 05f09f7bb4
commit 4d285b475a

View File

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