diff --git a/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java b/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java index 38c3011b15..9d600c4c1f 100644 --- a/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java +++ b/OsmAnd/src/net/osmand/plus/render/OsmandRenderer.java @@ -481,7 +481,10 @@ public class OsmandRenderer { mapObj.typeInd = j; mapObj.obj = o; if(objectType == 3) { - MapDataObjectPrimitive pointObj = mapObj; + MapDataObjectPrimitive pointObj = new MapDataObjectPrimitive(); + pointObj.order = order; + pointObj.typeInd = j; + pointObj.obj = o; pointObj.objectType = 1; double area = polygonArea(mapObj, mult); mapObj.area = area;