<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Ricky's Microsoft Maps Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/rbrundritt/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/rbrundritt/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:27:19 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Geocoding and Routing improvements added to Bing Maps</title>
      <link>https://docs.microsoft.com/archive/blogs/rbrundritt/geocoding-and-routing-improvements-added-to-bing-maps</link>
      <pubDate>Wed, 03 Jan 2018 17:55:22 GMT</pubDate>
      <dc:creator><![CDATA[Ricky_Brundritt]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rbrundritt/?p=1245</guid>
      <description><![CDATA[Geocoding and Routing are core services in mapping platforms. Today, the Bing Maps team is happy to...]]></description>
      <content:encoded><![CDATA[Geocoding and Routing are core services in mapping platforms. Today, the Bing Maps team is happy to announce improved algorithms and increased coverage support for these services, which also directly improve the coverage of many of the <a href="https://blogs.bing.com/maps/2017-12/bing-maps-launches-three-new-fleet-management-apis">new Bing Maps Fleet Management APIs</a>, such as the Isochrone and Distance Matrix APIs which rely on routing data.
<h3>Geocoder Improvements</h3>
The Bing Maps team has spent several years developing a new backend geocoder, which provides improved matching logic and the ability to make faster data updates. This new geocoder went into production earlier this year, and the Bing Maps developer APIs were seamlessly updated on the backend, thus instantly migrating all users to the new geocoder without any code changes required by them.

In addition to creating a new backend geocoder, the team has been working hard on increasing the support for geocoding globally. Bing Maps ranks the level of geocoding support for each country using the following criteria:
<ul>
 	<li><b>Rooftop</b> – Addresses are resolved to the latitude/longitude coordinate at the center of the address parcel (property boundary). Rooftop has the highest level of accuracy support. Its coverage varies by country.<s></s></li>
 	<li><b>Address</b> – Addresses are interpolated to a latitude/longitude coordinate on the street.</li>
 	<li><b>Street</b> <b>Name</b> – Addresses are resolved to the latitude/longitude coordinate of the street that contains the address. The address number is not processed.</li>
 	<li><b>Basic</b> – Geocoding support is limited and primarily only accurate to the city level. If an address is valid, Bing Maps attempts to resolve it, but a result is not guaranteed.</li>
</ul>
The number of countries in which Bing Maps has Rooftop or Address level detailed coverage has grown from 82 to 109 countries.
<table border="1" cellspacing="0" cellpadding="0" style="width:600px;margin-left: auto;margin-right: auto">
<tbody>
<tr>
<td width="150" style="text-align: center" rowspan="2">Highest Level Support</td>
<td width="348" valign="top" style="text-align: center" colspan="2"># of Countries</td>
</tr>
<tr>
<td width="168" valign="top" style="text-align: center">Old Coverage</td>
<td width="180" valign="top" style="text-align: center">New Coverage</td>
</tr>
<tr>
<td width="150" valign="top" style="text-align: center">Rooftop</td>
<td width="168" valign="top" style="text-align: center">17</td>
<td width="180" valign="top" style="text-align: center">46</td>
</tr>
<tr>
<td width="150" valign="top" style="text-align: center">Address</td>
<td width="168" valign="top" style="text-align: center">65</td>
<td width="180" valign="top" style="text-align: center">63</td>
</tr>
<tr>
<td width="150" valign="top" style="text-align: center">Street Name</td>
<td width="168" valign="top" style="text-align: center">12</td>
<td width="180" valign="top" style="text-align: center">46</td>
</tr>
<tr>
<td width="150" valign="top" style="text-align: center">Basic</td>
<td width="168" valign="top" style="text-align: center">159</td>
<td width="180" valign="top" style="text-align: center">98</td>
</tr>
</tbody>
</table>
<a href="https://msdnshared.blob.core.windows.net/media/2018/01/GeocodeCoverage.png"><img width="642" height="433" class="size-full wp-image-1256 aligncenter" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/GeocodeCoverage.png" /></a>

Detailed geocoding coverage information can be found <a href="https://msdn.microsoft.com/en-us/library/dd435699.aspx">here</a>.
<h3>Routing Service Improvements</h3>
Bing Maps provides routing for the following modes of transportation: cars, trucks, walking and public transit. Bing Maps provides both real-time and predictive traffic based routing. The team is constantly tweaking and improving the algorithms and data to provide more efficient and accurate routes. Bing Maps ranks the level of standard routing support for each country using the following criteria:
<ul>
 	<li><b>Good</b> - The country/region has detailed road data available in most populated centers and most of these have been verified for accuracy. Coverage is updated frequently. Remote areas may lack some road information.</li>
 	<li><b>Fair</b> - At a minimum, the country/region has major road data available as well as some detailed road data. Most often, these roads have not been verified for accuracy. Coverage is updated over time. Please visit the map to assess if the current version meets the needs of your application.</li>
 	<li><b>Major Roads Only</b> - At a minimum, the country/region coverage includes major roads. These roads have not been verified for accuracy. Coverage is updated over time. Please visit the map to assess if the current version meets the needs of your application.</li>
</ul>
The number of countries in which Bing Maps has good routing coverage has grown from 58 to 116 countries.
<table border="1" cellspacing="0" cellpadding="0" style="width:600px;margin-left: auto;margin-right: auto">
<tbody>
<tr>
<td width="144" valign="top" style="text-align: center" rowspan="2"></td>
<td width="294" valign="top" style="text-align: center" colspan="2"># of Countries</td>
</tr>
<tr>
<td width="144" valign="top" style="text-align: center">Old Coverage</td>
<td width="150" valign="top" style="text-align: center">New Coverage</td>
</tr>
<tr>
<td width="144" valign="top" style="text-align: center">Good</td>
<td width="144" valign="top" style="text-align: center">58</td>
<td width="150" valign="top" style="text-align: center">116</td>
</tr>
<tr>
<td width="144" valign="top" style="text-align: center">Fair</td>
<td width="144" valign="top" style="text-align: center">82</td>
<td width="150" valign="top" style="text-align: center">54</td>
</tr>
<tr>
<td width="144" valign="top" style="text-align: center">Major Roads Only</td>
<td width="144" valign="top" style="text-align: center">113</td>
<td width="150" valign="top" style="text-align: center">83</td>
</tr>
</tbody>
</table>
<a href="https://msdnshared.blob.core.windows.net/media/2018/01/RoutingCoverage.png"><img width="648" height="438" class="size-full wp-image-1266 aligncenter" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/RoutingCoverage.png" /></a>

Detailed routing coverage information can be found <a href="https://msdn.microsoft.com/en-us/library/dd435699.aspx">here</a>.

<b>Truck Routing</b>

Truck routing support was just recently added to Bing Maps and is supported in 80 countries.

<a href="https://msdnshared.blob.core.windows.net/media/2018/01/TruckRoutingCoverage.png"><img width="700" height="400" class="size-full wp-image-1255 aligncenter" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/TruckRoutingCoverage.png" /></a>

Detailed truck routing coverage information can be found <a href="https://msdn.microsoft.com/en-us/library/mt814925.aspx">here</a>.

If you have any questions or feedback about Bing Maps, please let us know on the <a href="https://social.msdn.microsoft.com/Forums/en-US/home?forum=bingmapsajax&amp;filter=alltypes&amp;sort=lastpostdesc">Bing Maps forums</a> or visit the <a href="https://www.microsoft.com/maps/v8control.aspx">Bing Maps website</a> to learn more about the Bing Maps platform.

- Bing Maps Team
<h3>Related Posts</h3>
<ul>
 	<li><a href="https://blogs.bing.com/maps/2017-12/bing-maps-launches-three-new-fleet-management-apis">Bing Maps Launches Three New Fleet Management APIs</a></li>
 	<li><a href="https://blogs.bing.com/maps/January-2017/55-countries-with-Real-Time-Traffic-in-Bing-Maps">55 countries with Real Time Traffic in Bing Maps</a></li>
 	<li><a href="https://blogs.bing.com/maps/2017-10/bing-maps-distance-matrix-api-launches-today">Bing Maps Distance Matrix API Launches Today</a></li>
 	<li><a href="http://blogs.bing.com/maps/January-2017/Bing-Maps-NET-REST-Toolkit-Made-Open-Source">Bing Maps .NET REST Toolkit Made Open Source</a></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>Bing Maps Launches new Fleet Management APIs</title>
      <link>https://docs.microsoft.com/archive/blogs/rbrundritt/bing-maps-launches-new-fleet-management-apis</link>
      <pubDate>Fri, 15 Dec 2017 00:56:11 GMT</pubDate>
      <dc:creator><![CDATA[Ricky_Brundritt]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rbrundritt/?p=1235</guid>
      <description><![CDATA[The Bing Maps team just announced three new fleet management API’s; Truck Routing, Isochrones, and...]]></description>
      <content:encoded><![CDATA[The Bing Maps team <a href="https://blogs.bing.com/maps/2017-12/bing-maps-launches-three-new-fleet-management-apis">just announced</a> three new fleet management API’s; Truck Routing, Isochrones, and Snap to Road. This is in addition to the Distance Matrix API they <a href="https://blogs.bing.com/maps/2017-10/bing-maps-distance-matrix-api-launches-today">released in October</a>. Read the full announcement on the Bing Maps blog here: <a href="https://blogs.bing.com/maps/2017-12/bing-maps-launches-three-new-fleet-management-apis" title="https://blogs.bing.com/maps/2017-12/bing-maps-launches-three-new-fleet-management-apis">https://blogs.bing.com/maps/2017-12/bing-maps-launches-three-new-fleet-management-apis</a>

<a href="https://msdnshared.blob.core.windows.net/media/2017/12/BingMapsIsochroneAPI.png"><img width="1024" height="679" class="alignnone size-large wp-image-1236" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/12/BingMapsIsochroneAPI-1024x679.png" /></a>]]></content:encoded>
    </item>
    <item>
      <title>Bing Maps V8 Web Control SDK November 2017 Update</title>
      <link>https://docs.microsoft.com/archive/blogs/rbrundritt/bing-maps-v8-web-control-sdk-november-2017-update</link>
      <pubDate>Thu, 16 Nov 2017 17:54:04 GMT</pubDate>
      <dc:creator><![CDATA[Ricky_Brundritt]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rbrundritt/?p=1217</guid>
      <description><![CDATA[The Bing Maps V8 Web Control has been updated in November with one key feature which lets you...]]></description>
      <content:encoded><![CDATA[The Bing Maps V8 Web Control has been updated in November with one key feature which lets you provide your Bing Maps key as a URL parameter of the map script URL rather than as a map option when loading the map. This provides two key benefits:
<ul>
 	<li><b>Load multiple map instances under a single session on a page.</b> Normally, when loading two or more maps on a page, each map instance generates a billable transaction and its own session. By specifying your Bing Maps key in the map script URL, all map instances on a page will use the same map session, and thus reduce the number of billable transactions your application generates.</li>
 	<li><b>Faster live site issue migration.</b> If an issue occurs due to a release, apps which use this new way of specifying a Bing Maps key can have this issue resolved quicker.</li>
</ul>
<b>Before</b>:

In the past a Bing Maps key would be specified in the map options when loading the map. This will continue to work, but is no longer recommended.
<pre>function GetMap()
{
	var map = new Microsoft.Maps.Map('#myMap', {
		credentials: '[YOUR_BING_MAPS_KEY]',
		zoom: 1
	});
}

&lt;script type='text/javascript' src='https://www.bing.com/api/maps/mapcontrol?callback=GetMap' async defer&gt;&lt;/script&gt;
</pre>
<b>After</b>:

It is now recommended to specify your Bing Maps key as part of the map script URL.
<pre>function GetMap()
{
	var map = new Microsoft.Maps.Map('#myMap', {
		zoom: 1
	});
}

&lt;script type='text/javascript' src='https://www.bing.com/api/maps/mapcontrol?callback=GetMap&amp;key=[YOUR_BING_MAPS_KEY]' async defer&gt;&lt;/script&gt;
</pre>
<div></div>
<h3>Seasonal Code Freeze</h3>
The main release branch of the Bing Maps V8 Web Control will be in a code freeze until early January 2018 to reduce the chances of a service interruption during the holiday season. We will however, continue to push regular updates to the experimental branch of Bing Maps V8.

For more information about Bing Maps V8 and our other APIs, go to <a href="https://www.microsoft.com/en-us/maps">https://www.microsoft.com/en-us/maps</a>.

- Bing Maps Team]]></content:encoded>
    </item>
    <item>
      <title>Bing Maps V8 Web Control SDK October 2017 Update</title>
      <link>https://docs.microsoft.com/archive/blogs/rbrundritt/bing-maps-v8-web-control-sdk-october-2017-update</link>
      <pubDate>Wed, 18 Oct 2017 18:34:00 GMT</pubDate>
      <dc:creator><![CDATA[Ricky_Brundritt]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rbrundritt/?p=1207</guid>
      <description><![CDATA[In this update to the Bing Maps V8 Web Control, we have added several smaller but highly requested...]]></description>
      <content:encoded><![CDATA[In this update to the Bing Maps V8 Web Control, we have added several smaller but highly requested features.
<h3>Bird’s Eye map type now in dropdown</h3>
Bird’s eye imagery has been available in the Bing Maps V8 Web Control since May, but it could only be displayed programmatically. Now Bird’s eye is available in the map type dropdown just like all of the other map types. This option will be disabled (appear faded) when the map is centered over a location that does not have Bird’s eye imagery.

<a href="https://msdnshared.blob.core.windows.net/media/2017/10/BirdseyeButton.png"><img width="754" height="548" class="alignnone size-full wp-image-1215" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/10/BirdseyeButton.png" /></a> <a href="https://msdnshared.blob.core.windows.net/media/2017/10/CityCenterBirdseye.png"><img width="750" height="542" class="alignnone size-large wp-image-1216" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/10/CityCenterBirdseye.png" /></a><u><span style="color: #000120"></span></u>
<h3>Limit Autosuggest suggestions to a single country</h3>
The Autosuggest manager now lets you specify a country to limit suggestions to using the new <i>countryCode</i> option. This takes in <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2 country region codes</a>. See <a href="https://msdn.microsoft.com/en-US/library/mt712667.aspx">Autosuggest options</a> for more details.
<h3>Enable CORs on tile layers</h3>
This new map option enables CORs (Cross Resource Sharing) on the base map tiles, as well as on all tile layers. This allows accessing the pixel data of the map canvas without any browser security issues. Check out <a href="http://bingmapsv8samples.azurewebsites.net/#Map%20Image%20Generator">this demo</a> that uses this and the map canvas to generate a static image of the map. See <a href="https://msdn.microsoft.com/en-us/library/mt712646.aspx">map options</a> for more details.
<h3>Customize the Drawing toolbar</h3>
You can now limit which toolbar options appear in the drawing toolbar. <a href="http://bingmapsv8samples.azurewebsites.net/#Custom%20Drawing%20Toolbar">Try it now</a>
<h3>GeoXmlLayer Events</h3>
The GeoXmlLayer class now supports all of the same events as the Layer class. If you are not familiar with the GeoXmlLayer, it was released as part of the GeoXml module in July and makes it easy to import and export common spatial file formats such as KML, KMZ, GeoRSS, GML (via GeoRSS) and GPX. <a href="https://bingmapsv8samples.azurewebsites.net/#GeoXmlLayer%20-%20Local%20Data">Try it now</a> | <a href="https://msdn.microsoft.com/library/mt825057.aspx">Documentation</a>
<h3>Access Direction Pushpins</h3>
Access the pushpins of all waypoints rendered by the directions manager using the new <i>getAllPushpins</i>() function. Customize their look and feel or add events to them. See the <a href="https://msdn.microsoft.com/en-US/library/mt750375.aspx">DirectionsManager</a> class for more details.
<h3>Upgrade your old Bing Maps apps to V8</h3>
Bing Maps versions 6.3 and 7 are both retired and are no longer supported. Be sure to upgrade your app to Bing Maps V8 Web Control and take advantage of all the great new features. Here are some useful resources:
<ul>
 	<li><a href="https://social.technet.microsoft.com/wiki/contents/articles/34563.bing-maps-v7-to-v8-migration-guide.aspx">Bing Maps V7 to V8 Migration Guide</a></li>
 	<li><a href="https://social.technet.microsoft.com/wiki/contents/articles/34568.bing-maps-v6-3-to-v8-migration-guide.aspx">Bing Maps V6.3 to V8 Migration Guide</a></li>
 	<li><a href="https://github.com/rbrundritt/BingMapsV63ToV8Shim">Bing Maps V6.3 to V8 Shim</a></li>
</ul>
<h3>In Summary</h3>
A complete list of the new features added in this release can be found on the <a href="https://msdn.microsoft.com/en-us/library/mt770019.aspx">What’s New</a> page in the documentation on MSDN. We have many other features and functionalities on the roadmap for the Bing Maps V8 Web Control, so watch our blog for more exciting updates and announcements. If you have any questions or feedback about the Bing Maps V8 Web Control, please let us know on the <a href="https://social.msdn.microsoft.com/Forums/en-US/home?forum=bingmapsajax&amp;filter=alltypes&amp;sort=lastpostdesc">Bing Maps forums</a> or visit the <a href="https://www.microsoft.com/maps/v8control.aspx">Bing Maps website</a> to learn more about our Bing Maps V8 Web Control features.

- Bing Maps Team]]></content:encoded>
    </item>
    <item>
      <title>Bing Maps .NET Spatial Data Services Toolkit Made Open Source</title>
      <link>https://docs.microsoft.com/archive/blogs/rbrundritt/bing-maps-net-spatial-data-services-toolkit-made-open-source</link>
      <pubDate>Wed, 20 Sep 2017 18:29:29 GMT</pubDate>
      <dc:creator><![CDATA[Ricky_Brundritt]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rbrundritt/?p=1206</guid>
      <description><![CDATA[Earlier this year we released the Bing Maps .NET REST Toolkit as an open source project on Github....]]></description>
      <content:encoded><![CDATA[Earlier this year we released the <a href="https://blogs.bing.com/maps/January-2017/Bing-Maps-NET-REST-Toolkit-Made-Open-Source">Bing Maps .NET REST Toolkit</a> as an open source project on Github. Since then we have seen had a lot of positive feedback from developers and are seeing over 200M requests made each month to the REST services with this toolkit. Today we would like to announce the release of the <a href="https://github.com/Microsoft/BingMapsSDSToolkit">Bing Maps .NET Spatial Data Services Toolkit</a> on Github.

The <a href="https://msdn.microsoft.com/en-us/library/ff701734.aspx">Bing Maps Spatial Data Services</a> (SDS) is another type of REST based service provided Bing Maps that provides the following key features:
<ul>
 	<li><b>Batch forward and reverse Geocoding</b> of up to 200,000 rows of data in a single request.</li>
 	<li><b>Spatial data hosting and services</b>: Upload a two-dimensional table of data as a data source and expose it as a spatial REST service.
<ul>
 	<li>Perform spatial queries against data sources using:
<ul>
 	<li>Find Nearby (radial)</li>
 	<li>Find in bounding box</li>
 	<li>Find by Property</li>
 	<li>Find along a route</li>
 	<li>Intersection search (i.e. search within a custom shape.)</li>
</ul>
</li>
</ul>
</li>
 	<li><b>Public Data sources</b>: Access public data sources that contain information such as points of interest and census data.</li>
 	<li><b>Boundary Data</b>: Access to administrative boundary data via the Geodata API. Boundary data types available vary from country to country. Supported boundary types; zip/postal codes, neighborhoods, cities, counties, states/provinces, countries, and continents.</li>
</ul>
The Bing Maps Spatial Data Services are very powerful and fast, however, using them from a .NET application used to require a decent amount of work. The Bing Maps .NET Spatial Data Services Toolkit aims to make it easy to use these services from your .NET application by providing a portable class library which wraps the Bing Maps Spatial Data Services and implements best practices to ensure good performance and the most accurate results are returned. In the past, uploading a data source using the APIs was a lot of work as you first needed to geocode it, then merge the geocoded results back into the data set before finally uploading. It could easily take several hours just to implement these services into your application. Now, with the aid of a NuGet package you can implement the Bing Maps Spatial Data Services in minutes. You can find this project on GitHub <a href="https://github.com/Microsoft/BingMapsSDSToolkit">here</a>.

Here are some of the key features this library provides:

<b>Data Source API:</b>
<ul>
 	<li>Easily geocode and upload a data source with just a few lines of code.</li>
 	<li>Automatically compresses data before uploading.</li>
 	<li>Supports uploading of delimited (pipe, tab, comma), XML (as per SDS schema), KML, KMZ and ESRI Shape files.</li>
 	<li>Local data source validation. Reduces the number of invalid data sources that are uploaded, thus reduce the number of wasted SDS jobs that are created.</li>
</ul>
<b>Geocode Data Flow API:</b>
<ul>
 	<li>Easily forward or reverse geocode up to 200,000 entities in a single request.</li>
 	<li>Combines like addresses as a single request. This allows rows with the same addresses to only create a single row in the geocode process. This helps to maximize the 1M free batch geocode limit.</li>
</ul>
<b>Geodata API:</b>
<ul>
 	<li>Easily access the boundary data from the GeoData API and search for zip/postal codes, neighborhoods, cities, counties, states/provinces, countries, and continent boundaries.</li>
 	<li>Provides compression tools for handling the encoded polygon data.</li>
</ul>
<b>Query API:</b>
<ul>
 	<li>Classes for easily creating queries for a data source.</li>
 	<li>Parses response from any data source into a common QueryResult object.</li>
 	<li>Support for multiple distance units (km, miles, feet, meters, yards)</li>
 	<li>Support for filters.</li>
 	<li>Handles encoding filter values, and escapes single quotes by using the OData convention of using two single quotes side by side.</li>
</ul>
<h3>How to add the .NET Spatial Data Services Toolkit to your project</h3>
In Visual Studio, open the <b>NuGet Package Manager</b>, select the <b>Browse</b> tab and search for "Bing Maps SDS". This will reduce the list of results enough to find the "BingMapsSDSToolkit" package. If you want to verify that you have the correct package, the listed owner of the package is bingmaps and the author is Microsoft. Install the package into your project.

Alternatively, if you are using the NuGet command line:
<blockquote>PM&gt; Install-Package BingMapsSDSToolkit</blockquote>
<h3>Bing Maps and Open Source</h3>
The Bing Maps team has been working towards being more involved in the Open Source community. Here are a few other open source projects released by the Bing Maps team that you may be interested in.
<ul>
 	<li><a href="https://blogs.bing.com/maps/2017-03/160-code-samples-for-bing-maps-v8-released-on-github">160+ Code Samples for Bing Maps V8 released on GitHub</a> now has over 220 samples</li>
 	<li><a href="https://blogs.bing.com/maps/January-2017/Bing-Maps-NET-REST-Toolkit-Made-Open-Source">Bing Maps .NET REST Toolkit Made Open Source</a></li>
 	<li><a href="https://blogs.msdn.microsoft.com/bingdevcenter/2016/12/16/add-location-to-the-conversation-with-bing-location-control/">Bing Location Control helps devs add location to the conversation</a></li>
 	<li><a href="https://blog.botframework.com/2016/10/12/new-bot-intelligence-samples/">New Bing and Cognitive Services APIs samples added to the Bot Builder samples repo</a></li>
 	<li><a href="http://blogs.bing.com/maps/August-2016/TypeScript-Definitions-for-Bing-Maps-V8-Released-o">TypeScript Definitions for Bing Maps V8 Released on GitHub</a></li>
</ul>
We also have many other open source projects planned, so stay tuned.]]></content:encoded>
    </item>
    <item>
      <title>Drag and Drop GeoJSON files onto Bing Maps V8</title>
      <link>https://docs.microsoft.com/archive/blogs/rbrundritt/drag-and-drop-geojson-files-onto-bing-maps-v8</link>
      <pubDate>Wed, 06 Sep 2017 17:04:02 GMT</pubDate>
      <dc:creator><![CDATA[Ricky_Brundritt]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rbrundritt/?p=1186</guid>
      <description><![CDATA[GeoJSON is a common file format used for storing spatial data as a JSON object and is easy to import...]]></description>
      <content:encoded><![CDATA[GeoJSON is a common file format used for storing spatial data as a JSON object and is easy to import and export in Bing Maps V8 using the GeoJSON module. This file format tends to be more compact then its XML equivalents. This results in a much smaller file size, making it ideal for transferring spatial data to web and mobile applications. These files typically use a <b>.js</b> or <b>.json </b>file extensions, however occasionally you may come across some files that use <b>.geojson</b>. The following is an example of a GeoJSON file containing the location of New York.
<pre class="brush: javascript; ">{
    "type": "FeatureCollection",
    "features": [
      {
          "type": "Feature",
          "geometry": {
              "type": "Point",
              "coordinates": [-74.006393, 40.714172]
          },
          "properties": {
              "name": "New York",
              "description": "New York"
          }
      }
    ]
}
</pre>
Additional information on this file format specification can be found <a href="http://geojson.org/geojson-spec.html">here</a>.
<h3>Drag and Drop a GeoJSON file</h3>
From time to time I come across an interesting data set in GeoJSON format that I want to quickly view in Bing Maps. The Bing Maps API’s make it easily read these files, but if I just want to quickly view the data I don’t really want to write an app each time I want to view a GeoJSON file. With this in mind we will take a look at how to create a reusable app where we can simply drag and drop GeoJSON files onto the map and have them load.

To accomplish this, the HTML5 FileReader and Drag &amp; Drop API’s will be used. Good documentation on how to use these API’s together can be found <a href="http://www.html5rocks.com/en/tutorials/file/dndfiles/#toc-selecting-files-dnd">here</a>. Our application will first need to load the map then the GeoJSON module. From there we will attach drag and drop events to the maps main DOM element. When one or more files are dropped onto the map we will loop through each of them, attempt to read them as a GeoJSON file and then add the data to the map.
<pre class="brush: html; pad-line-numbers: true; ">&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
    &lt;title&gt;&lt;/title&gt;
    &lt;meta charset="utf-8" /&gt;
    &lt;script type='text/javascript'&gt;
    var map;

    function GetMap() {
        map = new Microsoft.Maps.Map('#myMap', {
            credentials: 'Your Bing Maps Key',
            zoom: 1
        });

        //Load the GeoJSON module.
        Microsoft.Maps.loadModule('Microsoft.Maps.GeoJson', function () {

            //Setup the drag &amp; drop listeners on the map.
            var dropZone = document.getElementById('myMap');
            dropZone.addEventListener('dragover', handleDragOver, false);
            dropZone.addEventListener('drop', handleFileSelect, false);
        });
    }

    function handleDragOver(evt) {
        //Stop the browser from performing its default behavior when a file is dragged and dropped.
        evt.stopPropagation();
        evt.preventDefault();

        evt.dataTransfer.dropEffect = 'copy';
    }

    function handleFileSelect(evt) {
        //Stop the browser from performing its default behavior when a file is dragged and dropped.
        evt.stopPropagation();
        evt.preventDefault();

        //Remove any existing data from the map.
        map.entities.clear();

        //The list of files that have been dragged and dropped onto the map.
        var files = evt.dataTransfer.files; 

        //Keep track of the bounding box of all the data from all files dropped into the map.
        var dataBounds = null;

        //Loop through and attempt to read each file. 
        for (var i = 0; i &lt; files.length; i++) {
            var reader = new FileReader();

            reader.onload = function (e) {
                try {
                    var geoJsonText = e.target.result;

                    //Attempt to parse the file as GeoJSON and add the shapes to the map.
                    var shapes = Microsoft.Maps.GeoJson.read(geoJsonText);
                    map.entities.push(shapes);
                    
                    //Calculate the bounding box of the data in the single file. 
                    var bounds = Microsoft.Maps.LocationRect.fromShapes(shapes);

                    //If data is already loaded from another GeoJSON file, merge the bounding boxes together.
                    if (dataBounds) {
                        dataBounds = Microsoft.Maps.LocationRect.merge(dataBounds, bounds);
                    } else {
                        dataBounds = bounds;
                    }

                    //Update the map view to show the data.
                    map.setView({ bounds: dataBounds, padding: 50 });
                } catch (e) {
                    alert('Unable to read file as GeoJSON.');
                }
            };

            //Read the file as text.
            reader.readAsText(files[i]);
        }
    }
    &lt;/script&gt;
    &lt;script type='text/javascript' src='https://www.bing.com/api/maps/mapcontrol?callback=GetMap' async defer&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div id="myMap" style="position:relative;width:800px;height:600px;"&gt;&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
The following image shows the neighborhood boundaries of Los Angeles that came from a GeoJSON file that was downloaded from the <a href="http://boundaries.latimes.com/sets/">Los Angeles Times Boundary API</a>.

<a href="https://msdnshared.blob.core.windows.net/media/2017/09/LATimesGeoJSON.png"><img width="801" height="601" class="size-full wp-image-1196 aligncenter" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/09/LATimesGeoJSON.png" /></a>

&nbsp;
<p align="center"><a href="http://bingmapsv8samples.azurewebsites.net/#GeoJson%20Drag%20and%20Drop">Try it now</a></p>

<h3>Additional Resources</h3>
<ul>
 	<li><a href="http://bingmapsv8samples.azurewebsites.net/">Bing Maps V8 Code Samples</a></li>
 	<li><a href="http://www.bing.com/api/maps/sdkrelease/mapcontrol/isdk">Bing Maps V8 Interactive SDK</a></li>
 	<li><a href="https://msdn.microsoft.com/en-us/library/mt712542.aspx">Bing Maps V8 Documentation</a></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title />
      <link>https://docs.microsoft.com/archive/blogs/rbrundritt/1125</link>
      <pubDate>Thu, 10 Aug 2017 16:31:27 GMT</pubDate>
      <dc:creator><![CDATA[Ricky_Brundritt]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rbrundritt/?p=1125</guid>
      <description><![CDATA[The main release branch of the Bing Maps Version 8 (V8) Web Control has been regularly updated over...]]></description>
      <content:encoded><![CDATA[The main release branch of the Bing Maps Version 8 (V8) Web Control has been regularly updated over the summer. These updates have brought several new features, both big and small, as well as many improvements and bug fixes to existing features. The <a href="https://github.com/Microsoft/Bing-Maps-V8-TypeScript-Definitions">Bing Maps V8 TypeScript definitions</a> have also been updated accordingly. Here are some of the more notable new features added in this release.
<h3>Custom Map Styles</h3>
Customize the look and feel of the road maps inside of your application. Change the colors of the roads and land, hide certain types of labels. Create a style that aligns with your applications UI, company branding or change it just for fun. Not only are these available in the Bing Maps V8 Web Control, but you can also use custom maps styles with the Bing Maps REST Imagery service (static map images) and with the Windows UWP map control.

<a href="https://msdnshared.blob.core.windows.net/media/2017/08/NightCommanderMapStyle.png"><img width="995" height="748" class="size-full wp-image-1175 aligncenter" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/08/NightCommanderMapStyle.png" /></a>
<p align="center"></p>
<p align="center"><a href="https://bingmapsv8samples.azurewebsites.net/#Load%20Map%20with%20Custom%20Style">Try it now</a> | <a href="https://msdn.microsoft.com/en-us/library/mt823636.aspx">Documentation</a></p>

<h3>GeoXml Module</h3>
Easily import and export common spatial file formats such as KML, KMZ, GeoRSS, GML (via GeoRSS) and GPX. Load it as a layer on the map or directly access the data with just a few lines of code.

<a href="https://msdnshared.blob.core.windows.net/media/2017/08/GeoRSSOnMap.png"><img width="698" height="400" class="size-full wp-image-1155 aligncenter" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/08/GeoRSSOnMap.png" /></a>

&nbsp;
<p align="center"></p>
<p align="center"><a href="https://bingmapsv8samples.azurewebsites.net/#GeoXmlLayer%20-%20Local%20Data">Try it now</a> | <a href="https://msdn.microsoft.com/en-us/library/mt825057.aspx">Documentation</a></p>

<h3>Ground Overlays</h3>
Overlay georeferenced images on top of the map so that they move and scale as you pan and zoom the map. This is great for building floor plans, overlaying old maps, or imagery from a drone.

<a href="https://msdnshared.blob.core.windows.net/media/2017/08/GroundOverlayExample.png"><img width="999" height="745" class="size-full wp-image-1165 aligncenter" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/08/GroundOverlayExample.png" /></a>
<p align="center"></p>
<p align="center"><a href="https://bingmapsv8samples.azurewebsites.net/#Basic%20Ground%20Overlay">Try it now</a> | <a href="https://msdn.microsoft.com/en-us/library/mt825054.aspx">Documentation</a></p>

<h3>200+ Code Samples Available</h3>
In March we <a href="https://blogs.bing.com/maps/2017-03/160-code-samples-for-bing-maps-v8-released-on-github">announced</a> an open source project that had 160+ code samples that showed cool and interesting ways to use the Bing Maps V8 Web Control. This project has now grown to well over 200 samples and continues to grow. Here are few of the newer samples:
<h4>SVG Pushpin Maker</h4>
Not only does Bing Maps V8 Web Control support creating pushpins using SVG’s, but it also provides the ability to add placeholder values in them as well. These placeholder values can then be set using the pushpins color and text options and dynamically change using the pushpin options without having to edit the SVG. This sample provides several tools for creating custom SVG templates that can easily be added to your application.

<a href="https://msdnshared.blob.core.windows.net/media/2017/08/SvgPushpinMaker.png"><img width="1004" height="697" class="size-full wp-image-1145 aligncenter" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/08/SvgPushpinMaker.png" /></a>

&nbsp;

&nbsp;
<p align="center"><a href="https://bingmapsv8samples.azurewebsites.net/#SVG%20Pushpin%20Maker">Try it now</a></p>

<h4>Solar Terminator Module</h4>
Use this solar terminator module to show the position of the sun and the shadow which separates the day from night for any date and time.

<a href="https://msdnshared.blob.core.windows.net/media/2017/08/SolarTerminator.png"><img width="605" height="497" class="size-full wp-image-1135 aligncenter" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/08/SolarTerminator.png" /></a>

&nbsp;
<p align="center"><a href="https://bingmapsv8samples.azurewebsites.net/#Solar%20Terminator">Try it now</a></p>

<h3>Upgrade your old Bing Maps apps to V8</h3>
Bing Maps versions 6.3 and 7 are both retired and are no longer supported. Be sure to upgrade your app to Bing Maps V8 Web Control and take advantage of all the great new features. Here are some useful resources:
<ul>
 	<li><a href="https://social.technet.microsoft.com/wiki/contents/articles/34563.bing-maps-v7-to-v8-migration-guide.aspx">Bing Maps V7 to V8 Migration Guide</a></li>
 	<li><a href="https://social.technet.microsoft.com/wiki/contents/articles/34568.bing-maps-v6-3-to-v8-migration-guide.aspx">Bing Maps V6.3 to V8 Migration Guide</a></li>
 	<li><a href="https://github.com/rbrundritt/BingMapsV63ToV8Shim">Bing Maps V6.3 to V8 Shim</a></li>
</ul>
<h3>In Summary</h3>
A complete list of new features added in this release can be found on the <a href="https://msdn.microsoft.com/en-us/library/mt770019.aspx">What’s New</a> page in the documentation on MSDN. We have many other features and functionalities on the roadmap for the Bing Maps V8 Web Control. If you have any questions or feedback about V8, please let us know on the <a href="https://social.msdn.microsoft.com/Forums/en-US/home?forum=bingmapsajax&amp;filter=alltypes&amp;sort=lastpostdesc">Bing Maps forums</a> or visit the <a href="https://www.microsoft.com/maps/v8control.aspx">Bing Maps website</a> to learn more about our Bing Maps V8 Web Control features.]]></content:encoded>
    </item>
    <item>
      <title>160+ Code Samples for Bing Maps V8 released on GitHub</title>
      <link>https://docs.microsoft.com/archive/blogs/rbrundritt/160-code-samples-for-bing-maps-v8-released-on-github</link>
      <pubDate>Thu, 09 Mar 2017 16:43:33 GMT</pubDate>
      <dc:creator><![CDATA[Ricky_Brundritt]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rbrundritt/?p=1075</guid>
      <description><![CDATA[The Bing Maps team has been working hard on adding features and functionalities to the Bing Maps...]]></description>
      <content:encoded><![CDATA[The Bing Maps team has been working hard on adding features and functionalities to the Bing Maps Version 8 web control (V8). With each feature the team creates they also create several code samples to thoroughly test it. Many of the basic implementation samples are made available as code samples in the <a href="https://www.bing.com/api/maps/mapcontrol/isdk">Bing Maps V8 interactive SDK</a> while more in-depth code samples have generally been made available through blog posts, MSDN documentation and as answers to developers on the Bing Maps forums. Today we are happy to announce the release of the Bing Maps V8 Code Samples project on GitHub, which pulls all these code samples into a single place. Check out the <a href="https://github.com/Microsoft/BingMapsV8CodeSamples">GitHub Project</a> or view the <a href="http://bingmapsv8samples.azurewebsites.net/">Live Code Samples</a> site. Here are a few of the samples included in this project.

<b>Spider Clusters</b>

The following is the Spider Clusters sample, which demonstrates how to take clustered pushpins and display the pushpins they contain in a connected spiral when they are clicked.
<p style="text-align: center"><a href="https://msdnshared.blob.core.windows.net/media/2017/03/SpiderClusterAnimation.gif"><img width="597" height="400" class="alignnone size-full wp-image-1095" alt="spiderclusteranimation" src="https://msdnshared.blob.core.windows.net/media/2017/03/SpiderClusterAnimation.gif" /></a><a href="$clip_image001[4].gif"></a></p>
<p align="center"><a href="http://bingmapsv8samples.azurewebsites.net/#Clustering_SpiderClusters">Try it now</a> | <a href="https://github.com/Microsoft/BingMapsV8CodeSamples/blob/master/Samples/Clustering/SpiderClusters">Source Code</a></p>
<b>North Carolina Map</b>

This sample shows how to create a map that focuses on a specific area. Besides locking the map view to that area, a polygon mask is also added to the map to hide rods and traffic data that is outside of the area of interest, in this case North Carolina.
<p style="text-align: center"><a href="https://msdnshared.blob.core.windows.net/media/2017/03/NorthCarolinaMap.png"><img width="1024" height="473" class="alignnone size-large wp-image-1105" alt="northcarolinamap" src="https://msdnshared.blob.core.windows.net/media/2017/03/NorthCarolinaMap-1024x473.png" /></a><a href="$clip_image003[3].png"></a></p>
<p align="center"><a href="http://bingmapsv8samples.azurewebsites.net/#North%20Carolina%20Map">Try it now</a> | <a href="https://github.com/Microsoft/BingMapsV8CodeSamples/blob/master/Samples/Other/North%20Carolina%20Map.html">Source Code</a></p>
<b>Cardinal Spline Features</b>

The following code sample demonstrates all the features of the Cardinal Spline function that is available in the Spatial Math module of Bing Maps V8. The red line is a standard polyline connecting the pushpins while the blue line is the cardinal spline. Drag the pushpins, change the tension and node size to see how the cardinal spline changes.
<p style="text-align: center"><a href="https://msdnshared.blob.core.windows.net/media/2017/03/CardinalSplineAnimation.gif"><img width="600" height="506" class="alignnone size-full wp-image-1085" alt="cardinalsplineanimation" src="https://msdnshared.blob.core.windows.net/media/2017/03/CardinalSplineAnimation.gif" /></a><a href="$clip_image004[4].gif"></a></p>
<p align="center"><a href="http://bingmapsv8samples.azurewebsites.net/#SpatialMath_CardinalSplineFeatures">Try it now</a> | <a href="https://github.com/Microsoft/BingMapsV8CodeSamples/blob/master/Samples/Spatial%20Math/Core">Source Code</a></p>

<h3>Join the fun</h3>
Have a great code sample or idea for one? Submit it to the <a href="https://github.com/Microsoft/BingMapsV8CodeSamples">Bing Maps V8 Code Samples project</a> on GitHub and make it available to others.
<h3>Related Posts</h3>
<ul>
 	<li><a href="http://blogs.bing.com/maps/August-2016/TypeScript-Definitions-for-Bing-Maps-V8-Released-o">TypeScript Definitions for Bing Maps V8 Released on GitHub</a></li>
 	<li><a href="http://blogs.bing.com/maps/January-2017/Bing-Maps-V8-SDK-Fall-Update">Bing Maps V8 SDK Fall Update</a></li>
 	<li><a href="http://blogs.bing.com/maps/January-2017/Bing-Maps-NET-REST-Toolkit-Made-Open-Source">Bing Maps .NET REST Toolkit Made Open Source</a></li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>Using US Census data with Bing Maps</title>
      <link>https://docs.microsoft.com/archive/blogs/rbrundritt/1055</link>
      <pubDate>Thu, 09 Feb 2017 22:34:25 GMT</pubDate>
      <dc:creator><![CDATA[Ricky_Brundritt]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rbrundritt/?p=1055</guid>
      <description><![CDATA[While creating the code samples for the Bing Maps V8 web control, we wanted to make the samples more...]]></description>
      <content:encoded><![CDATA[While creating the code samples for the Bing Maps V8 web control, we wanted to make the samples more realistic and use real data. As such, many of the Bing Maps V8 interactive code samples use data from a number of sources such as <a href="http://www.bing.com/api/maps/sdk/mapcontrol/isdk#heatMapFromGeoJson+JS">earthquake data</a> from the USGS, <a href="http://www.bing.com/api/maps/sdk/mapcontrol/isdk#tileLayerQuadKey+JS">satellite imagery of hurricanes</a> from NASA, <a href="http://www.bing.com/api/maps/sdk/mapcontrol/isdk#weatherRadarMap+JS">weather radar data</a> from Iowa State University, and <a href="http://www.bing.com/api/maps/sdk/mapcontrol/isdk#sdsChoroplethMap+JS">2010 US Census data</a> from the US Census Bureau.

To make the census data easy to integrate with Bing Maps applications, a subset of the data was uploaded into the Bing Spatial Data Services. This data has been exposed through 4 different data sources, each containing a census data based on a different type of geographical region; states, counties, ZCTA5 (Zip code tabulation area), and the 111<sup>th</sup> Congressional districts. The Bing Maps team has now made these data sources publicly available in the Bing Spatial Data Services so that you can easily use them in your application. Documentation on these data sources can be found <a href="https://msdn.microsoft.com/en-us/library/mt805047.aspx">here</a>.
<h3>Creating a Census Choropleth map in Bing Maps V8</h3>
The following code sample shows how to create a Choropleth map (color coded boundary map) based on the population by state. This code sample uses the Bing Spatial Data Services module that is built into Bing Maps V8 to query the state level 2010 US Census data. This code sample also creates a legend with a gradient scalebar, which is used to color code the boundary data based on its relative population.
<table width="600" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td width="600" valign="top">&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
&lt;title&gt;&lt;/title&gt;
&lt;meta charset="utf-8" /&gt;
&lt;script type='text/javascript'
src='http://www.bing.com/api/maps/mapcontrol?callback=GetMap'
async defer&gt;&lt;/script&gt;
&lt;script type='text/javascript'&gt;
var sdsDataSourceUrl = 'https://spatial.virtualearth.net/REST/v1/data/755aa60032b24cb1bfb54e8a6d59c229/USCensus2010_States/States';var map,
maxPopulation = 10000000,
heatGradientData;

function GetMap() {
map = new Microsoft.Maps.Map('#myMap', {
credentials: 'Your Bing Maps Key',
center: new Microsoft.Maps.Location(53.32, -110.29),
zoom: 3
});

//Create a legend.
createLegend(maxPopulation);

//Load the Bing Spatial Data Services module.
Microsoft.Maps.loadModule('Microsoft.Maps.SpatialDataService', function () {

var worldBounds = Microsoft.Maps.LocationRect.fromEdges(90, -180, -90, 180);

//Get all states by doing an intersection test against a bounding box of the world and have up to 52 results returned.
var queryOptions = {
queryUrl: sdsDataSourceUrl,
spatialFilter: {
spatialFilterType: 'intersects',
intersects: worldBounds
},
top: 52
};

Microsoft.Maps.SpatialDataService.QueryAPIManager.search(queryOptions, map, function (data) {
//Loop through results and set the fill color of the polygons based on the population property.
for (var i = 0; i &lt; data.length; i++) {
data[i].setOptions({
fillColor: getLegendColor(data[i].metadata.Population, maxPopulation)
});

//Add a click event to each polygon and display metadata.
Microsoft.Maps.Events.addHandler(data[i], 'click', function (e) {
alert(e.target.metadata.Name + '\r\nPopulation: ' + e.target.metadata.Population);
});
}

//Add results to the map.
map.entities.push(data);
});
});
}

function createLegend(maxValue) {
var canvas = document.getElementById('legendCanvas');
var ctx = canvas.getContext('2d');

//Create a linear gradient for the legend.
var colorGradient = {
"0.00": 'rgba(0,255,0,255)',    // Green
"0.50": 'rgba(255,255,0,255)',  // Yellow
"1.00": 'rgba(255,0,0,255)'     // Red
};

var grd = ctx.createLinearGradient(0, 0, 256, 0);
for (var c in colorGradient) {
grd.addColorStop(c, colorGradient[c]);
}
ctx.fillStyle = grd;
ctx.fillRect(0, 0, canvas.width, canvas.height);

//Store the pixel information from the legend.
heatGradientData = ctx.getImageData(0, 0, canvas.width, 1);
}

function getLegendColor(value, maxValue) {
value = (value &gt; maxValue) ? maxValue : value;

//Calculate the pixel data index from the ratio of value/maxValue.
var idx = Math.round((value / maxValue) * 256) * 4 - 4;

if (idx &lt; 0) {
idx = 0;
}

//Create an RGBA color from the pixel data at the calculated index.
return 'rgba('+ heatGradientData.data[idx]+ ',' +
heatGradientData.data[idx + 1] + ',' +
heatGradientData.data[idx + 2] + ',' + '0.5)';
}
&lt;/script&gt;
&lt;style&gt;
.mapContainer {
position: relative;
width: 800px;
height: 600px;
}

#map {
position: relative;
width: 800px;
height: 600px;
}

.legend {
position: absolute;
top: 5px;
left: 5px;
width: 256px;
height: 35px;
font-family: Arial;
font-size: 12px;
background-color: rgba(255, 255, 255, 0.8);
border-radius: 5px;
padding: 5px;
}

#legendCanvas {
width: 256px;
height: 15px;
}

.legend-max {
float: right;
}
&lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;div class="mapContainer"&gt;
&lt;div id="myMap"&gt;&lt;/div&gt;

&lt;div class="legend"&gt;
&lt;canvas id="legendCanvas"&gt;&lt;/canvas&gt;
&lt;span class="legend-min"&gt;0&lt;/span&gt;
&lt;span class="legend-max"&gt;10,000,000&lt;/span&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;</td>
</tr>
</tbody>
</table>
Running this code will display a map of the USA with color coded US states based on population. A legend for the colors is overlaid on top the map as well. If you click on any of the states, a notification will appear which specifies which state was clicked and its population.

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/SDSChoroplethMapExample.png"><img width="802" height="601" class="size-full wp-image-1065 aligncenter" alt="sdschoroplethmapexample" src="https://msdnshared.blob.core.windows.net/media/2017/02/SDSChoroplethMapExample.png" /></a>
<p align="center"><a href="http://www.bing.com/api/maps/sdk/mapcontrol/isdk?sdsNearbySearch+JS#sdsChoroplethMap+JS">Try it now</a></p>

<h3>Access additional US Census Data</h3>
The 2010 US Census data sources that are made available in the Bing Spatial Data Sources contain a subset of the data collected by the US Census, primarily population data. The US Census Bureau captures a lot of additional data which has not been included in the newly released data sources in the Bing Spatial Data Services. If you would like to access this data, there are a few options. One option is to download some of the existing <a href="http://www.census.gov/geo/maps-data/">geographic data sets from the US Census</a> and upload them into the Bing Spatial Data Service. You can easily upload ESRI Shapefiles and KML files into the Bing Spatial Data Services to create a data source. Alternatively, you can upload this data into a spatial database such as SQL Azure and then expose the data through a custom web service.
<h3>Partner Solutions</h3>
Don’t want to develop a custom application yourself, take a look at one of these solutions.

<b>Microsoft Power BI</b>

Power BI along with the mapping functionality available in Excel make it easy to visualize data on Bing Maps. Here are a few useful blog posts on how to do this:
<ul>
 	<li><a href="https://community.dynamics.com/ax/b/tinkerersnotebook/archive/2013/08/06/using-power-bi-to-visualize-customer-saturation">Using Power BI to Visualize Customer Saturation</a></li>
 	<li><a href="https://powerbi.microsoft.com/en-us/blog/retail-location-analytics-using-power-bi/">Retail Location Analytics using Power BI</a></li>
 	<li><a href="https://blogs.office.com/2015/05/18/power-map-for-excel-may-update-for-office-365/">Power Map for Excel–May update for Office 365</a></li>
</ul>
<b>CensusViewer </b>by MoonShadow Mobile

CensusViewer is an online application built by <a href="http://www.moonshadowmobile.com/">Moonshadow Mobile.</a> This application gives you access to the 2010 and 2000 Census "Summary File 1" data from the U.S. Census Bureau as well as the selected American Community Survey (ACS) data and extensive data including registered voters and frequently updated commercial data sources. It is an excellent online tool for demographic analysis of the U.S. population. With CensusViewer you can navigate the census data from within the familiar Bing Maps interface coupled with Moonshadow’s cutting-edge database technology, to provide an intuitive platform for accessing and analyzing the data. Now, there are a couple different <a href="http://censusviewer.com/compare-censusviewer-versions/">versions</a> which give you access to different levels of data. If you want to try it out yourself, you’re in luck because there’s a free version. Here is a heat map created using this tool of the US population that is at or below the poverty level.
<p style="text-align: center"><img alt="" src="https://blogs.bing.com/BingBlogs/media/MapsBlog/2016/03/MoonShadowMobileCensusApp.jpg" /></p>
<b>EasyTerritory.com</b>

EasyTerritory is a leading map-based solution for territory management and geospatial business intelligence for Microsoft Dynamics CRM or SQL Server. Powered by Bing Maps for Enterprise, EasyTerritory allows users to geographically build and manage territories and get business-intel for leads, opportunities, contacts, accounts or any custom Dynamics CRM entity. EasyTerritory can optionally be deployed without Dynamics CRM using only SQL Server 2008, 2012, 2014, or SQL Azure. Features of EasyTerritory include, territory management, geospatial BI, US Census data sets, route planning and full legacy GIS integration. Out-of-the-box, this solution includes worldwide political boundary data as well as demographic for the US, Canada and parts of Europe. The EasyTerritory solution is available as an online service or can be deployed on-premises.

<img width="713" height="354" class="aligncenter" alt="" src="https://blogs.bing.com/BingBlogs/media/MapsBlog/2016/03/EasyTerritoryApp.jpg" />]]></content:encoded>
    </item>
    <item>
      <title>55 countries with Real Time Traffic in Bing Maps</title>
      <link>https://docs.microsoft.com/archive/blogs/rbrundritt/55-countries-with-real-time-traffic-in-bing-maps</link>
      <pubDate>Wed, 08 Feb 2017 17:23:48 GMT</pubDate>
      <dc:creator><![CDATA[Ricky_Brundritt]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/rbrundritt/?p=1015</guid>
      <description><![CDATA[The Bing Maps team is happy to announce the real-time traffic flow data is now available in 55...]]></description>
      <content:encoded><![CDATA[The Bing Maps team is happy to announce the real-time traffic flow data is now available in 55 countries. Bing Maps uses traffic flow data in two ways. The first is to provide real-time and predictive route calculations. The second method is a traffic overlay of color coded roads on the map to indicate the real-time flow of traffic. All of the interactive Bing Maps controls provide an option to overlay real-time traffic flow data on top of the map. The Bing Maps Version 8 Web Control (v8) provides this functionality through the <a href="https://msdn.microsoft.com/library/mt712860.aspx">Traffic module</a>.

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/BiM_TrafficFlowCoverage_2016.png"><img width="689" height="470" class="size-full wp-image-1035 aligncenter" alt="bim_trafficflowcoverage_2016" src="https://msdnshared.blob.core.windows.net/media/2017/02/BiM_TrafficFlowCoverage_2016.png" /></a>

Point based traffic incident data such as car accidents and construction is available in 35 countries. In addition to accessing traffic incident data though the interactive Bing Maps controls, this data can also be accessed directly Bing Maps REST Services <a href="https://msdn.microsoft.com/en-us/library/hh441725">Traffic API</a>, and through the <a href="https://msdn.microsoft.com/en-us/library/hh563894.aspx">Traffic Data Source</a> in the Bing Spatial Data Services.

<a href="https://msdnshared.blob.core.windows.net/media/2017/02/BM_TrafficIncidentCoverage_2016.png"><img width="687" height="396" class="size-full wp-image-1025 aligncenter" alt="bm_trafficincidentcoverage_2016" src="https://msdnshared.blob.core.windows.net/media/2017/02/BM_TrafficIncidentCoverage_2016.png" /></a>
A complete list of countries in which traffic data is available can be found <a href="https://msdn.microsoft.com/en-us/library/jj136866.aspx">here</a>.

If you have any questions or feedback about Bing Maps, please let us know on the <a href="https://social.msdn.microsoft.com/Forums/en-US/home?forum=bingmapsajax&amp;filter=alltypes&amp;sort=lastpostdesc">Bing Maps forums</a> or visit the <a href="https://www.microsoft.com/maps/v8control.aspx">Bing Maps website</a> to learn more about the Bing Maps platform.

<strong>Related Posts &amp; Resources</strong>
<ul>
 	<li><a href="http://blogs.bing.com/maps/January-2017/Bing-Maps-NET-REST-Toolkit-Made-Open-Source">Bing Maps .NET REST Toolkit Made Open Source</a></li>
 	<li><a href="https://msdn.microsoft.com/en-US/library/mt712860.aspx">Bing Maps V8 Traffic Module</a></li>
 	<li><a href="http://www.bing.com/api/maps/sdk/mapcontrol/isdk#trafficHideShowTraffic+JS">Bing Maps V8 Traffic Module sample</a></li>
 	<li><a href="https://github.com/Microsoft/Windows-appsample-trafficapp">UWP Traffic App sample</a></li>
</ul>]]></content:encoded>
    </item>
  </channel>
</rss>