Fixed some errors in "Implement way propogation"

This commit is contained in:
prqek 2012-08-30 15:11:41 +02:00
parent 8045f3892e
commit 0132035122
3 changed files with 3 additions and 1 deletions

View file

@ -102,6 +102,7 @@ public class IndexVectorMapCreator extends AbstractIndexPartCreator {
}
}
if(propogated != null) {
ctx.loadEntityRelation((Relation) e);
for(EntityId id : ((Relation) e).getMembersMap().keySet()) {
if(!propogatedTags.containsKey(id)) {
propogatedTags.put(id, new LinkedHashMap<String, String>());

View file

@ -122,6 +122,7 @@ public class MapRenderingTypes {
}
public boolean isRelationalTagValuePropogated(String tag, String val) {
Map<String, MapRulType> types = getEncodingRuleTypes();
MapRulType rType = types.get(constructRuleKey(tag, val));
if (rType == null) {
rType = types.get(constructRuleKey(tag, null));

View file

@ -700,4 +700,4 @@
<!-- Here user defined categories could be added -->
<!-- <type tag="user_defined" value="wsl" minzoom="10" /> -->
</category>
</osmand_types>
</osmand_types>