Calculate the area covered by a polygon in a google map in an Android App

前端 未结 3 813
南方客
南方客 2021-01-03 12:37

I\'ve got a series of Location / GeoPoint objects that form a polygon in my Android app. I wonder if there\'s any way to calculate the area covered

3条回答
  •  鱼传尺愫
    2021-01-03 13:18

    If you want to do it yourself, the way to calculate any polygn area knowing the corrdinates is explained in Polygon.

    You can find a more comprehensive explanation in How to Calculate the Area of a Polygon under the topic Irregular Polygons

提交回复
热议问题