Provided as a part of Microsoft’s Bing suite of search engines, Bing Maps is a web mapping service powered by the Bing Maps for Enterprise framework. The need for geospatial data has increased dramatically in the last few years. Adding a mapping context to any location-based data is becoming more and more common, and businesses are embracing it to improve their user experience with new data richness.
Comprising of simple, follow-along examples, Learning Bing Maps API will show you how to use the many features of Bing Maps, from dropping a simple map on a web page, to fetching geospatial data from the Microsoft servers. Through the course of this book you will build a solid foundation for creating your own geo-applications.
You will create a custom theme for the map, with your own controls. Taking advantage of the global reach of Bing Maps, you will learn how to build a route scheduler for a delivery company in Madrid, Spain, and then you will discover how to create jobs on the Bing Maps servers for geocoding addresses in California, USA.
By the end of the book you will have learned everything you need to know to embed a map on a web page, with your own geo-data, or data obtained by the Bing Map Services.
What you will learn from this book
- Place a map on a page and customize its look and feel
- Perform a query using the coordinates of a point on a map
- Display a shape, polyline, pin, or infobox when users click on the map
- Query for route information between two or more points and show it on the map
- Parse the response to the API requests in JSON and XML formats
- Set up and monitor jobs for address geocoding, as well as parsing the response when the job is complete
- Fetch geographical information in the form of polygon strings for different levels of administrative areas, from postcodes to regions or countries
- Display user data on the map, such as electoral results, over a period of time