JMap.Application.Measure.deleteAllPolygons
Deletes all measures having type === "polygon".
Returns deleted measure count.
// delete all polygon measures (if exist)const deletedMeasuresCount = JMap.Application.Measure.deleteAllPolygons() Copy
// delete all polygon measures (if exist)const deletedMeasuresCount = JMap.Application.Measure.deleteAllPolygons()
JMap.Application.Measure.deleteAllPolygons
Deletes all measures having type === "polygon".
Returns deleted measure count.