fix from #8173
This commit is contained in:
parent
3fa17b5997
commit
b5f76f8126
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue