Plot direction on map from collection of latitude and longitude

Balasaheb Molawade 136 Reputation points
2021-04-06T14:01:15.623+00:00

Hi

We have collection of Latitude and longitude, say suppose users location history. We have almost 200-300 records and we want to plot route from those records. That has latitude and longitude but not proper direction so we want to generate direction from those points. Is there any way to do that. We are using Bingmap V8 API.

Waiting for your reply.

Thanks!

Balasaheb

Windows for home | Windows 11 | Apps
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. IoTGirl 3,621 Reputation points Microsoft Employee Moderator
    2021-04-06T22:55:21.3+00:00

    Are you expecting all those points on one route? Were they collected from a drive? Maybe the Snap to road API is what you need?

    Note: If you know the order of the points, you can pass a GeoXML file with the points to create a line as shown in https://www.bing.com/api/maps/sdkrelease/mapcontrol/isdk/geoxmlreadfromurl


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.