MapPolygonPointsDraw

Draw a polygon shape and calculate its area on the Mapbox map.

Features

  • Draw polygon shapes
  • Calculate the center location of a polygon area
  • Calculate the area of a polygon in square meters
  • Save the drawn polygon to the database

Libraries Used

  • MapBox
  • Flow
  • ViewModel
  • Hilt
  • Coroutine
  • JUnit
  • Room

Demo(Click to Play)

demo

Opening in Android Studio

Clone the repository:

git clone git@github.com:arash-jahani/MapPolygonPointsDraw.git

Then sync project with Gradle file.

**Note:**Android Gradle plugin requires Java 11 to run.