From d611d517a75dcbd91493bd3f896149214119a8b8 Mon Sep 17 00:00:00 2001 From: ivanPyrohivskyi Date: Fri, 26 Mar 2021 10:18:12 +0200 Subject: [PATCH] Live update: relations ignored? --- .../src/main/java/net/osmand/binary/BinaryMapDataObject.java | 2 +- .../src/main/java/net/osmand/osm/MapRenderingTypes.java | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/OsmAnd-java/src/main/java/net/osmand/binary/BinaryMapDataObject.java b/OsmAnd-java/src/main/java/net/osmand/binary/BinaryMapDataObject.java index 8966256ea5..8352114212 100644 --- a/OsmAnd-java/src/main/java/net/osmand/binary/BinaryMapDataObject.java +++ b/OsmAnd-java/src/main/java/net/osmand/binary/BinaryMapDataObject.java @@ -154,7 +154,7 @@ public class BinaryMapDataObject { this.id = id; } - protected void setTypes(int[] types) { + public void setTypes(int[] types) { this.types = types; } diff --git a/OsmAnd-java/src/main/java/net/osmand/osm/MapRenderingTypes.java b/OsmAnd-java/src/main/java/net/osmand/osm/MapRenderingTypes.java index bcbcbfc2b0..124db3f20b 100644 --- a/OsmAnd-java/src/main/java/net/osmand/osm/MapRenderingTypes.java +++ b/OsmAnd-java/src/main/java/net/osmand/osm/MapRenderingTypes.java @@ -717,7 +717,10 @@ public abstract class MapRenderingTypes { return false; return true; } - + + public Map getRelationNames() { + return relationNames; + } }