'Calculate distance from user current location to a specific location (latitude, longitude) in REACT NATIVE

IN REACT NATIVE:

  • Show a map that fit these markers on it:
    • User current location
    • Specific Location (24.41913107517948, 54.43699913714186)
  • Show green circle with radius 3km, around the specific location provided
  • If user current location is inside the radius, show success message, if the user outside the radius show an error message WITH THE REQUIRED DISTANCE TO THE GREEN RADIUS.


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source