Routing in Visual Business
I would like to do routing in Visual business. It seems the only way to draw a path is to use polygon class and provide lat long for all the points where road turns (intermediate points also in case of an arc so that it's rendered realistically). Most routing service provide turn by turn navigation which are not suitable for drawing polygon as the actual road and the polygon line would be way off the mark between two points which are good distance apart.
For ex the following manuevre from mapquest
"narrative": "Take Eastern Freeway.",
would result in straight line for a distance of 8.2 miles whereas the actual road has lots of bends.
How do we get around this problem?
Is there any free service which would give long list of lat longs which are say 100 metres apart?
It depends on the map provider service which polygone you receive. Some map providers provide only points where you as a driver have to leave the current road. Some have additional points which follow the actual road and provide a realistic route on a map.
It depends in most cases of a parameter which type of return polygone you get.
Some vendors provide a different routing service for getting more points.
Visual Business itself doesn't include an own routing service - we have an oData service as an single access point for applications and this service calls an external map provider.
So it depends on your map service provide and the parameter of your service call.
Since each provider has their own format, you have to look into their documentation how to achieve this.