Bing Maps SDK Adds Cardinal Splines |
Written by Kay Ewbank |
Thursday, 26 January 2017 |
There's a new version of the Bing Maps web control with support for cardinal splines and multiple map support. The release follows a code freeze over the last two months during which the Bing Maps team worked mainly on bug fixes and performance improvements. However, there are some new features in the new release. The Bing Maps V8 control SDK can be used within your apps to add mapping facilities. It includes administrative boundary data and a spatial math module. The main obvious improvement to the new version is support for cardinal splines. The Spatial Math module has a new function that will calculate a cardinal spline route if you provide it with an array of locations. A cardinal spline is a sequence of individual curves joined to form a larger curve, giving you a smooth route (though not necessarily the most direct route) through the locations specified . The spline is specified by an array of points and a tension parameter. The next improvement is support for multiple maps. If you want your app to display two or more maps on one page, this version lets you do it. You can also now use route path locations. This means that if you calculate a route using the directions manager, you can now get an array of locations that make up the route path. The developers say that the intention is that you could create a custom styled route line on the map, or you could search for data along or near a route. This can be combined with the Bing Maps REST elevation service to generate route elevation profiles so you could show the rise and fall in height along the route.
The final feature improvement is the addition of 2010 US Census data through the Bing Spatial Data Services. The data has been exposed through four different data sources, each containing census data based on a different type of geographical region; states, counties, ZCTA5 (Zip code tabulation area), and the 111th Congressional districts.
More InformationRelated ArticlesBing Maps Adds Spatial Maths Geometry Deep Learning Powers BING Voice Input SDK for Bing Spatial Data Services Bing Maps for Metro Style Apps Getting started wth Bing Maps (Virtual Earth) Where are you from? IP Geolocation To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |