none
Loading pin to the map without blocking the threadUI RRS feed

  • Question

  • Hello, to create a workaround for the binding i'm populating the map on the threadUI.

    Is there a way to do this async, so that my 5K pins don't block my thread?

    thanks

    Tuesday, June 19, 2012 9:35 PM

Answers

  • You cannot create UI elements off the UI thread. You can break up your work to create less pushpins at a time; CompositionTarget.Rendering is fired every UI frame and can be a good place to distribute the creation over several frames.
    Tuesday, June 19, 2012 10:38 PM

All replies

  • You cannot create UI elements off the UI thread. You can break up your work to create less pushpins at a time; CompositionTarget.Rendering is fired every UI frame and can be a good place to distribute the creation over several frames.
    Tuesday, June 19, 2012 10:38 PM
  • Can you give me an example of the use of the CompositionTarget for the Bing Maps Control?

    Wednesday, June 20, 2012 9:41 AM