diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index a572692798..5cde31043c 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -9,6 +9,8 @@ 1. All your modified/created strings are in the top of the file (to make easier find what's translated). PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy --> + + Routing data Osmand offline navigation is temporarily not available. Left-Hand Driving Select for countries with left-hand traffic diff --git a/OsmAnd/src/net/osmand/plus/activities/LocalIndexHelper.java b/OsmAnd/src/net/osmand/plus/activities/LocalIndexHelper.java index b977216f81..0f1437c5f0 100644 --- a/OsmAnd/src/net/osmand/plus/activities/LocalIndexHelper.java +++ b/OsmAnd/src/net/osmand/plus/activities/LocalIndexHelper.java @@ -25,6 +25,7 @@ import net.osmand.binary.BinaryMapIndexReader; import net.osmand.binary.BinaryMapIndexReader.MapIndex; import net.osmand.binary.BinaryMapIndexReader.MapRoot; import net.osmand.binary.BinaryMapPoiReaderAdapter.PoiRegion; +import net.osmand.binary.BinaryMapRouteReaderAdapter.RouteRegion; import net.osmand.binary.BinaryMapTransportReaderAdapter.TransportIndex; import net.osmand.data.IndexConstants; import net.osmand.map.TileSourceManager; @@ -376,6 +377,13 @@ public class LocalIndexHelper { String box = formatLatLonBox(mi.getLeftLongitude(), mi.getRightLongitude(), mi.getTopLatitude(), mi.getBottomLatitude()); builder.append(box).append("\n"); + } else if(part instanceof RouteRegion){ + RouteRegion mi = ((RouteRegion) part); + builder.append(app.getString(R.string.local_index_routing_data)).append(": "). + append(mi.getName()).append("\n"); + String box = formatLatLonBox(mi.getLeftLongitude(), mi.getRightLongitude(), + mi.getTopLatitude(), mi.getBottomLatitude()); + builder.append(box).append("\n"); } else if(part instanceof TransportIndex){ TransportIndex mi = ((TransportIndex) part); int sh = (31 - BinaryMapIndexReader.TRANSPORT_STOP_ZOOM);