From 88edf800d0fc3e28835fbbf514161dd0335315c6 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Thu, 19 Nov 2020 16:37:00 +0100 Subject: [PATCH] Refactor & hide internal method about additional info --- OsmAnd-java/src/main/java/net/osmand/data/MapObject.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OsmAnd-java/src/main/java/net/osmand/data/MapObject.java b/OsmAnd-java/src/main/java/net/osmand/data/MapObject.java index f9f9187223..d3700896b2 100644 --- a/OsmAnd-java/src/main/java/net/osmand/data/MapObject.java +++ b/OsmAnd-java/src/main/java/net/osmand/data/MapObject.java @@ -368,6 +368,10 @@ public abstract class MapObject implements Comparable { } br.close(); str = bld.toString(); + // ugly fix of temporary problem of map generation + if(isContentZipped(str)) { + str = unzipContent(str); + } } catch (IOException e) { e.printStackTrace(); }