I want to fetch top 5 markers that are closest to the users location (in order) and put that into a useState object. How can I achieve that? My map screen loadflow: Load map Get user location (stored in location useState) HTTP Get request for markers location (each marker got lat and ltd) Fetch markers around user (if agreed to