Return a random coordenate anywhere in the world
Parameters:
None
https://dummy-coordinate.vercel.app/api/random/anywhereReturns a random coordinate in a specific circular area, based on the input coordinate and the radius limit
Parameters:
| Name | Description | Values |
|---|---|---|
latitude | The origin latitude | A number between -90 and +90 |
longitude | The origin longitude | A number between -180 and +180 |
maxDistance | The maximum distance between the coordenate and the origin point | A number followed by the unit ("km" or "miles") |
https://dummy-coordinate.vercel.app/api/random/circular/origin-point/=?&latitude=25&longitude=50&maxDistance=200milesReturns a random coordinate in a specific circular area, based on the input Address, the radius limit, and on Google API Key (that convert the address into a coordinate)
Parameters:
| Name | Description | Values |
|---|---|---|
addres | The address/city refernce to be in reference center | Text |
googleCloudKey | The google cloud key that allows the search (with geocode enabled) | A text |
maxDistance | The maximum distance between the coordenate and the origin point | A number followed by the unit ("km" or "miles") |
https://dummy-coordinate.vercel.app/api/random/circular/by-local-name/=?&addres=Rio de Janeiro&googleCloudKey=YOUR_API_KEY&maxDistance=100kmReturns a moving coordinate based orbiting one specific point, based on the input coordinate and the radius
Parameters:
| Name | Description | Values |
|---|---|---|
latitude | The origin latitude | A number between -90 and +90 |
longitude | The origin longitude | A number between -180 and +180 |
radius | The distance of the origin (the point will be allways at the same distance, only changing the position) | A number and a unit "km" or "miles" |
velocity | The velocity in your distance unit per hour that this point will 'run' | A number |
https://dummy-coordinate.vercel.app/api/tracking/circular/origin-point//=?&latitude=25&longitude=50&radius=100km&velocity=200It is not a endpoint, but a Tool where you can check your current Latitude and Longitude (to use in another endpoints using your location as reference)
Click here to visit the tool