im i am doing a api request for direction from loactioniq api and user is entering the location of origin and destination and im handling that in states and im log the ouput it is correct but in api request latitude and logitude is getting undefined how can i resolve this in expo project
i tried all the possible ways but getting this
Request URL: https://us1.locationiq.com/v1/directions/driving/undefined,undefined;undefined,undefined?key=pk.1e7d05bd54091e3fa470945698290b45&geometries=polyline&overview=full&alternatives=true&annotations=true
Request Method: GET
Status Code: 400
user24893378 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.