Bing Maps Routing Engine, a new API lets you show up to three alternative routes on Bing Maps. The new routing engine is called Customizable Route Planning. Also the team announced a brand new algorithm for computing driving-direction queries, include reduced latency and higher performance.
So, how does it work? Well, it's 3 major steps: Preprocessing. More preprocessing. Then, real time query calculation. Easy, right?!
"The CRP routing engine comes with some special sauce too. We exposed a feature in the API for alternate routes, so when you'd like to see additional options for the route you can request up to 3 routes in one request using the maxSolutions method. You can then display them on the map for visual reference," informed Chris Pendleton.
To learn more about Bing Maps New Routing Engine, you can read the full paper on the Microsoft Research web site.
Also, launched today is "Bing Maps Windows Presentation Foundation Control, Version 1."
"The control was built atop of the beta, so we still have all of the touch enabled greatness for Surface v 2's Pixel Sense, inertia and full rotation. We've kept most of the classes, methods and properties in place from the beta - requiring little work to install and register v1," informs Pendleton.
Here are the features added:
- Support for tile layers - you can now overlay your own tile layers atop the map control.
- Turning off the base tile layer - this is useful for when you don't need/want to use our base map tiles and instead would prefer to use your own without overlaying them atop of ours. The control won't request the tiles which reduces downloads and improves rendering performance.
- SSL Support - since many of you are using the WPF control in secure applications, you can now make tile and service request over SSL without issue.
- Hiding the scale bar - if you don't want a scale bar (perhaps your map is small and the scale bar clutters the map) you can turn it off. In fact, the only elements you can't turn off are the Bing logo and the copyrights.
- New copyright service - provides accurate copyright for our data vendors.
- Additional inertia - inertia is now enabled for the mouse and is on by default for touch.
- Miscellaneous bug fixes - thanks for the feedback on the MSDN Forums, the Bing Maps Blog, e-mail and Twitter. Good finds people.