Annotation appears next to the road instead of the middle of it

I’m currently working on a taxi aggregator application (PWA). Within this application, users can order rides from multiple providers like Uber, Bolt or Freenow for instance.

Using Mapkit js, I’m implementing a feature that consists of “showing the movement, the direction and the path of the driver” after a user has ordered a ride and the driver is coming to pick him up.

I have access to the position of the driver (latitude and longitude) via the APIs from taxi providers, but when I place the coordinate on Mapkit js, it appears next to the road instead of the middle of it (please find attached some screenshots).

Example

I have this position from an API : latitude: 48.844837, longitude: 2.371858. On Google Maps, it shows well on the middle, but it appears next to the road on Mapkit js.

  1. How do you explain this behaviour and do you know how to fix this issue ?
  2. How to get (calculate) the direction of the driver since he doesn't use our application ?

Thank you very much ! Looking forward to hearing from you soon!

Annotation appears next to the road instead of the middle of it
 
 
Q