I am building a website using React JS. I need to get the user\'s location for API call.
I used navigator.geolocation.
navigator.geolocation.
navigator.geolocati