Reputation: 4555
For example, I have three addresses in my 'myAddress' collection:
№, IdAddress, Address
1, 255, New York street1
2, 256, New York street2
3, 257, New York street3
Then I put them in directionsManager and call calculateDirections():
var waypoint = new Microsoft.Maps.Directions.Waypoint({address: myAddress[i].address });
mapObj.directionsManager.addWaypoint(waypoint);
mapObj.directionsManager.calculateDirections();
Question: how to put IdAddress in waypoint? I need to process response by IdAddress, not by Address description.
Upvotes: 0
Views: 529