The speedLimit element speedLimit always returned in m / s , so you need to use the conversion factor to get typical units of road signs. Multiply by 3.6 for km / h or 2.23 for mph . If speedLimit not present, the national speed limit is applied.
Why did you choose m / s that you can ask? I believe that this was done in order to avoid rounding errors in the calculations, sequentially using the smallest unit of distance (meter) and the smallest unit of time (second) on the platform HERE. I assume that the data underlying getlinkinfo is used in calculating routes.
A working example can be found in the HERE Maps community on GitHub.
Jason fox
source share