BING MAP NEAREST ALL STREET NAME

gss.italy sal21 81 Reputation points
2022-06-05T10:32:15.313+00:00

I use this in vb6.
now i need to get all street address nearest the point from lat and lng, possible?

Private Function GetHTML() As String

Dim html As IXMLHTTPRequest
Set html = CreateObject("Microsoft.XMLHTTP")
With html
    .Open "GET", "http://dev.virtualearth.net/REST/v1/Locations/" & LAT & "," & LNG & "?o=xml&C=IT&key=" & BINGKEY, False
    .send
    GetHTML = .responseText
End With
Set html = Nothing

End Function

Windows Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
246 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. IoTGirl 2,976 Reputation points Microsoft Employee
    2022-06-15T23:24:06.293+00:00

    No, this is not possible with the location API. It will return the closest valid address but not all along a street. You could look at https://learn.microsoft.com/en-us/bingmaps/rest-services/locations/location-recognition but again, it just returns location infomation.

    0 comments No comments