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.
BING MAP NEAREST ALL STREET NAME
gss.italy sal21
86
Reputation points
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 for home | Windows 11 | Apps
Developer technologies | Visual Basic for Applications
Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
1 answer
Sort by: Most helpful
-
IoTGirl 3,841 Reputation points Microsoft Employee Moderator2022-06-15T23:24:06.293+00:00