XmlMapsforgeThemeBuilder: use tags #411
This commit is contained in:
parent
1be12b2700
commit
c46548d15e
@ -28,6 +28,7 @@ import org.oscim.backend.canvas.Color;
|
||||
import org.oscim.backend.canvas.Paint.Cap;
|
||||
import org.oscim.backend.canvas.Paint.FontFamily;
|
||||
import org.oscim.backend.canvas.Paint.FontStyle;
|
||||
import org.oscim.core.Tag;
|
||||
import org.oscim.renderer.atlas.TextureAtlas;
|
||||
import org.oscim.renderer.atlas.TextureAtlas.Rect;
|
||||
import org.oscim.renderer.atlas.TextureRegion;
|
||||
@ -1243,7 +1244,7 @@ public class XmlMapsforgeThemeBuilder extends DefaultHandler {
|
||||
b.colorLine(0xffd9d8d6);
|
||||
b.colorSide(0xeaecebe9);
|
||||
b.colorTop(0xeaf9f8f6);
|
||||
RuleBuilder rule = new RuleBuilder(RuleBuilder.RuleType.POSITIVE, new String[]{"building", "building:part"}, new String[]{});
|
||||
RuleBuilder rule = new RuleBuilder(RuleBuilder.RuleType.POSITIVE, new String[]{Tag.KEY_BUILDING, Tag.KEY_BUILDING_PART}, new String[]{});
|
||||
rule.element(Rule.Element.WAY).zoom((byte) 17, Byte.MAX_VALUE).style(b);
|
||||
return rule;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user