This method returns the distance from the current position, in latitude/longitude, to the given stop.
name | description | type | default | type |
---|---|---|---|---|
latitude | the latitude of the current position | query | Double | |
longitude | the longitude of the current position | query | Double | |
stopId | the ID of the stop for which to get distance to | query | String |
a string value representing the distance from the current position to the given stop