Companion
Functions
Link copied to clipboard
fun getAddressFromCoordinates(context: Context, coordinate: LatLng): CharSequence?
Content copied to clipboard
It is used to get address in readable format from the coordinates passed in parameters. It uses GeoCoder API to get address from latitude & longitude and return the same address
Link copied to clipboard
fun getDirectionFromHeading(context: Context, heading: Double): CharSequence?
Content copied to clipboard
It is used to manage the direction from the heading passed in parameter.
Link copied to clipboard
It is used to parse the JSONOject to MutableList
Link copied to clipboard
It is used to handle the Network errors and return State based on error.