XmlThemeBuilder: support Mapsforge hillshading no-op rule (#887)

This commit is contained in:
Emux 2021-11-13 16:17:59 +02:00 committed by GitHub
parent b3f18a92d2
commit cd90e95a4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -400,6 +400,10 @@ public class XmlThemeBuilder {
checkState(qName, Element.TAG_TRANSFORM);
tagTransform(qName);
} else if ("hillshading".equals(qName)) {
checkState(qName, Element.RULE);
// no-op
} else {
log.error("unknown element: {}", qName);
throw new XmlPullParserException("unknown element: " + qName);