Bing blogs

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

Maps Blog

October
03

Bing Maps SDKs for Windows Store Apps Now Available

Windows8Controls

Update – October 3, 2013

The Bing Maps SDK for Windows Store Apps update for Microsoft Windows 8.1, which consists of the Bing Maps SDK for JavaScript (for JavaScript Developers) and Bing Maps SDK for Windows Store apps (for Visual Basic, C# and C++ Developers), has been updated for the Microsoft Windows 8.1 release. Refer to the October 3, 2013 blog post for details.

Original Post – October 3, 2012

Today we are announcing the availability of the Bing Maps SDKs for Windows Store apps. These SDKs will allow you to bring the power of Bing Maps to your Windows Store apps with support for C#, C++, Visual Basic and JavaScript based applications.

Please be aware that this release is the only version (1.1.20120927.0) of Bing Maps which will be supported for apps submitted to the Windows Store. If you are running any prior version (or BETA) you must upgrade and rebuild your app with this build to pass the Windows app Certification Kit (WACK) process. This process is required to submit all apps to the store and checks for the latest version of all dependencies to be approved. In most cases this should be as easy as downloading the latest version of the Bing Maps for Windows Store Apps API and recompiling your app.

Depending on the type of application you want to build and how you intend to use maps, we offer two options:

Bing Maps for JavaScript

For those of you familiar with our AJAX web control, building apps with the JavaScript SDK should be a snap. There are a few differences in how you load modules locally and some restrictions in certain markets but otherwise it has the same features and functionality as its web counterpart. With some tweaks, you should be able to port over your existing web experience using maps into the Windows Store and its rapidly growing user base.

If you’re new to Bing Maps, you can head over to our iSDK site which allows you to test drive the APIs and get a feel for how the web control works for Windows Store apps as well.

Bing Maps for C#, C++, and Visual Basic

Our ‘Native’ SDK is our first SDK specifically targeting application developers that takes advantage of the Windows Application Store environment. In this release, we provide the basic functionality to get maps integrated into your app. Specific to this version; we added support for pushpins/polylines/polygons, landmarks, venue maps, traffic and Synth view map style. You can still use the Bing Maps REST services to add additional functionality such as search and driving directions. And with our own client renderer, the SDK takes advantage of the Windows 8 platform to provide an amazingly smooth and responsive map experience on x86, x64 or ARM platforms.

New Keys and Terms of Use

Along with this release, we have created a new Bing Maps key type called ‘Windows Store app.’ You should use this key type when building new apps with the Bing Maps for Windows Store Apps API. You can get a new Bing Maps key over at our Bing Maps Account Center. If you created a ‘Windows Metro style app (BETA)’ key that was converted to a Windows Store app Trial key, your key will expire on Jan 15th, 2013 If you already have a non-trial ‘Windows Metro style app’ key, these will automatically be switched over to the new name. Keep in mind that all Trial Windows Store App Keys created after July 26th 2012 are hardcoded and will expire after 90 days. If your application meets the requirements for limited free use (please read our governing TOU), you should get a Basic Windows Store App Key. Check out Chris Pendleton’s blog about the new Bing Maps key changes. While most applications using the Windows Store app environment will use the new basic key for Windows App Store an Enterprise key will be required if you’re building an app that is not available to consumers or doesn’t meet the requirements for limited free use. An Enterprise key also requires a valid separately executed Bing Maps agreement – please read through our TOU for more information.

Links

Below are some useful links to get more information and provide feedback:

Jamie Lang
Senior Program Manager
Microsoft Corporation : Bing Map Controls

Comments

  • Why is it that those with an ex-beta (now trial) key cannot get a basic key?

  • This is a known issue that our team is working on. In the meantime continue to use the trial key in your app. The trial keys will do not expire till January. So if you do release your app with the trial key you will have plenty of time to release an update once this is resolved.

  • Can this be run on Windows 8 RC? I'm trying to run it now and just running into "The specified function could not be found" error. If it can't then how I am supposed to build an app with Bing maps and submit it before general availability as I don't have access to the RTM. If it does, then I'm not sure what I'm doing wrong - I've removed the old sdk and installed this new one and made sure the reference exists. Thanks.

  • I downloaded the new version of Bing map from the url mentioned in this post. The download page says the version of the bing map is 1.1.20120927.0

    When I reference the downloaded Bing Map in my project, it is still showing the version number of 1.0.0.0

    When I try to run "Windwos App Certification Kit" on my app, it is complaining about the BING MAPS. The certification tool fails with following error messages:

    Error Found: The supported APIs test detected the following errors:

    ◦API ??0COMException@Platform@@QE$AAA@H@Z in vccorlib110.dll is not supported for this application type. Bing.Maps.dll calls this API.

    ◦API ??0ChangedStateException@Platform@@QE$AAA@XZ in vccorlib110.dll is not supported for this application type. Bing.Maps.dll calls this API.

    ◦API ??0Delegate@Platform@@QE$AAA@XZ in vccorlib110.dll is not supported for this application type. Bing.Maps.dll calls this API.

    ◦API ??0DisconnectedException@Platform@@QE$AAA@XZ in vccorlib110.dll is not supported for this application type. Bing.Maps.dll calls this API.

    ◦API ??0FailureException@Platform@@QE$AAA@XZ in vccorlib110.dll is not supported for this application type. Bing.Maps.dll calls this API.

    ◦API ??0GridLength@Xaml@UI@Windows@@QEAA@NW4GridUnitType@123@@Z in vccorlib110.dll is not supported for this application type. Bing.Maps.dll calls this API.

    ...

    ...

    ...

    Any idea how to fix this issue?

  • Hey kiraningale ,

    Try going to Add References and seeing if (beta) is appended to the end of the Bing Maps SDK reference. If it is then you just need to update the reference. You can also remove the beta control by going to Tools -> Extensions and Updates -> select uninstall for all previous versions of the Bing Maps SDK.

  • After upgrading from BETA version, I can't make it works. There's an image of the world's map and a STOP sign. Any suggestion?

  • BrianT - You see this as the country setting on your device is a band country as documented here: msdn.microsoft.com/.../jj670541.aspx What you can do in your code to work around this issue is to set the HomeRegion to US and then change the culture property of the map to the language you want.

  • I, for one, would appreciate more detail on the "Synth View map style" mentioned above for the "Bing Maps for C#, C++, and Visual Basic" map control.

    Are there any examples of current apps in the Windows Store that I could download to use this feature to get a better feel for its abilities and limitations?

  • The trial keys will do not expire till January. So if you do release your app http://www.steroidsdrug.com with the trial key you will have plenty of time to release an update once this is resolved.

  • The trial keys will do not expire till January. So if you do release your app http://www.steroidsdrug.com/ with the trial key you will have plenty of time to release an update once this is resolved.

  • The trial keys will do not expire till January. So if you do release your app http://www.steroidsdrug.com/ with the trial key you will have plenty of time to release an update once this is resolved.

  • The trial keys will do not expire till January. So if you do release your app http://www.steroidsdrug.com/ with the trial key you will have plenty of time to release an update once this is resolved.

  • The trial keys will do not expire till January. So if you do release your app http://www.steroidsdrug.com/ with the trial key you will have plenty of time to release an update once this is resolved.

  • If it is then you just need to update the reference. You can also remove the beta control by going to Tools -> Extensions and Updates -> select uninstall for all previous versions of the Bing Maps SDK.

    http://www.steroiddrug.com

  • If it is then you just need to update the reference. You can also remove the beta control by going to Tools -> Extensions and Updates -> select uninstall for all previous versions of the Bing Maps SDK.

    http://www.steroiddrug.com