From 93dde790b9560ee7c25d1a6833f5f7c34e94af09 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Mon, 28 May 2012 19:41:16 +0200 Subject: [PATCH] Fix issue with polygons --- .../net/osmand/binary/BinaryMapIndexReader.java | 1 + .../src/net/osmand/render/default.render.xml | 14 ++++++++------ Osmand-kernel/osmand/src/binaryRead.cpp | 1 + 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/DataExtractionOSM/src/net/osmand/binary/BinaryMapIndexReader.java b/DataExtractionOSM/src/net/osmand/binary/BinaryMapIndexReader.java index d56f874da3..25e4a8a9dc 100644 --- a/DataExtractionOSM/src/net/osmand/binary/BinaryMapIndexReader.java +++ b/DataExtractionOSM/src/net/osmand/binary/BinaryMapIndexReader.java @@ -1039,6 +1039,7 @@ public class BinaryMapIndexReader { dataObject.additionalTypes = new int[0]; } dataObject.id = id; + dataObject.area = area; dataObject.mapIndex = root; return dataObject; } diff --git a/DataExtractionOSM/src/net/osmand/render/default.render.xml b/DataExtractionOSM/src/net/osmand/render/default.render.xml index 83a016be79..51e86c72ba 100644 --- a/DataExtractionOSM/src/net/osmand/render/default.render.xml +++ b/DataExtractionOSM/src/net/osmand/render/default.render.xml @@ -108,6 +108,7 @@ + @@ -136,9 +137,9 @@ - - - + + + @@ -783,7 +784,7 @@ - + @@ -793,8 +794,8 @@ - - + + @@ -1351,6 +1352,7 @@ + diff --git a/Osmand-kernel/osmand/src/binaryRead.cpp b/Osmand-kernel/osmand/src/binaryRead.cpp index 4331f299df..25782d2743 100644 --- a/Osmand-kernel/osmand/src/binaryRead.cpp +++ b/Osmand-kernel/osmand/src/binaryRead.cpp @@ -502,6 +502,7 @@ MapDataObject* readMapDataObject(CodedInputStream* input, MapTreeBounds* tree, S dataObject->additionalTypes = additionalTypes; dataObject->types = types; dataObject->id = id; + dataObject->area = area; dataObject->stringIds = stringIds; dataObject->polygonInnerCoordinates = innercoordinates;