This commit is contained in:
MadWasp79 2020-01-08 11:52:52 +02:00
parent 3fa17b5997
commit b5f76f8126

View file

@ -481,7 +481,10 @@ public class OsmandRenderer {
mapObj.typeInd = j; mapObj.typeInd = j;
mapObj.obj = o; mapObj.obj = o;
if(objectType == 3) { if(objectType == 3) {
MapDataObjectPrimitive pointObj = mapObj; MapDataObjectPrimitive pointObj = new MapDataObjectPrimitive();
pointObj.order = order;
pointObj.typeInd = j;
pointObj.obj = o;
pointObj.objectType = 1; pointObj.objectType = 1;
double area = polygonArea(mapObj, mult); double area = polygonArea(mapObj, mult);
mapObj.area = area; mapObj.area = area;