Cropping Image from Map Android Kotlin
I have a Google Map in my Android Kotlin App. I want to do something as follows :
The User should be able to cut out a rectangular portion from the map
This rectangular portion should be send as an image to an API (Here the API accepts requests in the form of image in multipart data)
The location of the cut-out area should also be send as a response to the API.
Any suggestions on how to do this?
Thanks in advance!