From 0c1018f09b1a84e1959bbe7d0461164b902e1166 Mon Sep 17 00:00:00 2001 From: crimean Date: Sat, 13 Jul 2019 18:07:51 +0300 Subject: [PATCH] Added fileOffset to TransportRoute --- .../java/net/osmand/binary/BinaryMapTransportReaderAdapter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/OsmAnd-java/src/main/java/net/osmand/binary/BinaryMapTransportReaderAdapter.java b/OsmAnd-java/src/main/java/net/osmand/binary/BinaryMapTransportReaderAdapter.java index ac30268fb8..f381966332 100644 --- a/OsmAnd-java/src/main/java/net/osmand/binary/BinaryMapTransportReaderAdapter.java +++ b/OsmAnd-java/src/main/java/net/osmand/binary/BinaryMapTransportReaderAdapter.java @@ -253,6 +253,7 @@ public class BinaryMapTransportReaderAdapter { int routeLength = codedIS.readRawVarint32(); int old = codedIS.pushLimit(routeLength); net.osmand.data.TransportRoute dataObject = new net.osmand.data.TransportRoute(); + dataObject.setFileOffset(filePointer); boolean end = false; long rid = 0; int rx = 0;