locked
Bing Maps Control in Windows 8.1 RRS feed

  • Question

  • Hi

    I have downloaded the Bing Maps SDK for 8.1 preview and set the configuration from AnyCPU to x86 for the bing map to work.

    However when i add the map control it gives me error that CLASS IS NOT REGISTERED. i tried restarting the PC, reinstalling the SDK, but didnt work.

    Error

    After that i installed the 8.0 SDK on VS 2012, but encountered the same error.

    Any help in this regards will be highly appreciated.

    Thanks
    Muhammad Umer


    Muhammad Umer

    Tuesday, July 2, 2013 6:17 AM

Answers

  • @Muhamad - the Map control won't render on the design surface due to how it is build using DirectX -- this should show during runtime though when you launch the app -- are you still seeing an issue when you run the app?

    Tim Heuer | Program Manager, XAML | http://timheuer.com/blog | @timheuer

    (if my post has answered your question, please consider using the 'mark as answer' feature in the forums to help others)

    • Marked as answer by Muhamad Umer Wednesday, July 3, 2013 2:59 PM
    Tuesday, July 2, 2013 3:20 PM
  • Actually, the map does render a placeholder image in the designer.

    Maybe it is an issue with one of the other Bing Map control rituals:

    1. Download the correct SDK (for 8.1)

    2. Reference both Bing Map SDK and MS Visual C++ Runtime Package in the Solution Explorer

    3. Select specific target (x86, x64 etc)

    4. Add the namespace to the XAML  xmlns:bm="using:Bing.Maps"

    4. Build the solution


    • Edited by jrboddie Tuesday, July 2, 2013 5:01 PM added image
    • Marked as answer by Muhamad Umer Wednesday, July 3, 2013 2:59 PM
    Tuesday, July 2, 2013 4:44 PM

All replies

  • @Muhamad - the Map control won't render on the design surface due to how it is build using DirectX -- this should show during runtime though when you launch the app -- are you still seeing an issue when you run the app?

    Tim Heuer | Program Manager, XAML | http://timheuer.com/blog | @timheuer

    (if my post has answered your question, please consider using the 'mark as answer' feature in the forums to help others)

    • Marked as answer by Muhamad Umer Wednesday, July 3, 2013 2:59 PM
    Tuesday, July 2, 2013 3:20 PM
  • Actually, the map does render a placeholder image in the designer.

    Maybe it is an issue with one of the other Bing Map control rituals:

    1. Download the correct SDK (for 8.1)

    2. Reference both Bing Map SDK and MS Visual C++ Runtime Package in the Solution Explorer

    3. Select specific target (x86, x64 etc)

    4. Add the namespace to the XAML  xmlns:bm="using:Bing.Maps"

    4. Build the solution


    • Edited by jrboddie Tuesday, July 2, 2013 5:01 PM added image
    • Marked as answer by Muhamad Umer Wednesday, July 3, 2013 2:59 PM
    Tuesday, July 2, 2013 4:44 PM
  • Hi

    Thanks for your response, acutally the control start working automatically, i didnt changed anything.

    its strange but it is now showing a map placeholder , just like the image that @jrboddie posted.


    Muhammad Umer

    Tuesday, July 2, 2013 5:47 PM