Initialize one time the map, use it on multiple divs? RRS feed

  • Question

  • Hello everyone.

    Is it possible to create one Bing Maps initially and then clone the div html in another parent?

    Need to have 2 Bing Maps on the same WinJS page, just to optmize the usage.

    Thanks in advance.

    Thursday, September 18, 2014 7:54 AM


  • If it is on the same page of the application, then no. Two maps on the same page will generate two transactions. Note that the free usage for Windows store apps is really high and very few apps actually exceed these limits.

    If you want to reuse a map across multiple pages of an app then take a look at this code sample:

    • Proposed as answer by Ricky_Brundritt Thursday, September 18, 2014 8:31 AM
    • Marked as answer by RR2001 Thursday, September 18, 2014 8:47 AM
    Thursday, September 18, 2014 8:31 AM

All replies