'HERE Search parameter 'r' not functioning
I am calling the public transit v8 like this
https://transit.hereapi.com/v8/stations?in=51.492597,-0.156927;r=1000&return=transport&apiKey=my_key
However, no matter what i change the r
value to it continues search the default distance, whether i put it higher or lower than 500
, it returns the same.
Documentation states - {lat},{lng}[;r={radius}]
and all example show lat,long;r=x
I am sure I am using the correct formatting
Does anyone know why this may be?
Solution 1:[1]
The delimiter between query params is an ampersand (&
) not a semicolon (;
).
Maybe change ;r=1000
to &r=1000
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Roslan Amir |