Bing blogs

This is a place devoted to giving you deeper insight
into the news, trends, people and technology behind Bing.

Maps Blog — Nov 2013

  • November
    20

    How to Extend Your App with Talking Maps

    In a previous blog post we had a lap around the new support for Custom Geospatial Data in the Bing Spatial Data Services (SDS). This time around we will build upon that tutorial and extend the app so that we can talk to it and have it talk back. Check out the video to see and hear what we’re going to build. In order to achieve this, we leverage the Bing Speech Recognition Control for Windows 8.1 as well as the Windows 8.1 SDK for speech synthesis. The documentation for the Bing Speech Recognition Control contains detailed instructions on how to register and install the control and how to enable a project for speech recognition so we won’t dive too deep into this. Instead we start with our previous project assuming that You signed up for the Bing Speech Recognition Control in the Windows Azure Marketplace You registered an application and created a Client ID and Client Secret in the Azure Marketplace You downloaded and installed the Bing Speech Recognition Control You downloaded and installed the Windows SDK for Windows 8.1 Speech-Enabling Our Project Once we are all set up, we open the project that we created for the previous blog post... Read More In a previous blog post we had a lap around the new support for Custom Geospatial Data in the Bing Spatial Data Services (SDS). This time around we will build upon that tutorial and extend the app so that we can talk to it and have it talk back. Check out the video to see and hear what we’re going to build. In order to achieve this, we leverage the Bing Speech Recognition Control for Windows 8.1 as well as the Windows 8.1 SDK for speech synthesis. The documentation for the Bing Speech Recognition Control contains detailed instructions on how to register and install the control and how to enable a project for speech recognition so we won’t dive too deep into this. Instead we start with our previous project assuming that You signed up for the Bing Speech Recognition Control in the Windows Azure Marketplace You registered an application and created a Client ID and Client Secret in the Azure Marketplace You downloaded and installed the Bing Speech Recognition Control You downloaded and installed the Windows SDK for Windows 8.1 Speech-Enabling Our Project Once we are all set up, we open the project that we created for the previous blog post... Read More
  • November
    13

    Introducing Support for Custom Geospatial...

    The Bing Spatial Data Services (SDS) have always supported the management and retrieval of your points of interest (POI). You can upload text or XML-files with addresses or GPS-locations and batch-geocode or reverse geocode them, you can store them in the cloud and query your points of interest in a radius around a location, in a bounding box, or along a route. The SDS also provides access to categorized POI in North America and Europe as well as traffic incidents . Back in June, we added a preview of a GeoData API , which allows the retrieval of boundaries for countries, administrative regions, postcodes, cities and neighborhoods. With the latest release, we have now added additional features that allow you to upload your own geospatial data of type POINT, MULTIPOINT, LINESTRING, MULTILINESTRING, POLYGON, MULTIPOLYGON and GEOMETRYCOLLECTION. We have also extended the Query API and added an additional spatial-filter parameter to retrieve geographies that intersect with another geography or just those parts that represent the intersections. These new features enable you to store and retrieve parcels, flood-plains, trails, power-lines, school-districts, sales-regions or other geospatial... Read More The Bing Spatial Data Services (SDS) have always supported the management and retrieval of your points of interest (POI). You can upload text or XML-files with addresses or GPS-locations and batch-geocode or reverse geocode them, you can store them in the cloud and query your points of interest in a radius around a location, in a bounding box, or along a route. The SDS also provides access to categorized POI in North America and Europe as well as traffic incidents . Back in June, we added a preview of a GeoData API , which allows the retrieval of boundaries for countries, administrative regions, postcodes, cities and neighborhoods. With the latest release, we have now added additional features that allow you to upload your own geospatial data of type POINT, MULTIPOINT, LINESTRING, MULTILINESTRING, POLYGON, MULTIPOLYGON and GEOMETRYCOLLECTION. We have also extended the Query API and added an additional spatial-filter parameter to retrieve geographies that intersect with another geography or just those parts that represent the intersections. These new features enable you to store and retrieve parcels, flood-plains, trails, power-lines, school-districts, sales-regions or other geospatial... Read More
  • November
    11

    Complex Polygons in Bing Maps

    In Bing Maps we can easily create simple polygons. Simple polygons consist of a single exterior ring of coordinates. However, in more advance applications it is useful to be able to draw more complex polygons. Take for instance the borders of Lesotho, which is a land locked country within the main exterior borders of South Africa. In this case to properly represent this country’s borders we would need to have a hole in the polygon. In this blog post we are going to see how you can create complex polygons such as MultiPolygons and polygons with holes using both JavaScript and .NET code in Windows Store Apps. Complex Polygons in the JavaScript API The Bing Maps JavaScript controls, both for the web and for Windows Store apps support complex polygons. To enable this support you first need to load the AdvancedShapes module into your application. This module updates the definition of the Polygon and EntityCollection classes. The new Polygon class is initialized with an array of rings, where each ring is an array of locations. The changes to the EntityCollection are simply to allow it to support the updated complex polygon class. To implement complex polygons, first create... Read More In Bing Maps we can easily create simple polygons. Simple polygons consist of a single exterior ring of coordinates. However, in more advance applications it is useful to be able to draw more complex polygons. Take for instance the borders of Lesotho, which is a land locked country within the main exterior borders of South Africa. In this case to properly represent this country’s borders we would need to have a hole in the polygon. In this blog post we are going to see how you can create complex polygons such as MultiPolygons and polygons with holes using both JavaScript and .NET code in Windows Store Apps. Complex Polygons in the JavaScript API The Bing Maps JavaScript controls, both for the web and for Windows Store apps support complex polygons. To enable this support you first need to load the AdvancedShapes module into your application. This module updates the definition of the Polygon and EntityCollection classes. The new Polygon class is initialized with an array of rings, where each ring is an array of locations. The changes to the EntityCollection are simply to allow it to support the updated complex polygon class. To implement complex polygons, first create... Read More