locked
How can we have multi line fields in the Infobox? RRS feed

  • Question

  • Hi everyone,

    Bing MAp Control 7.0, Infobox,  I am using the following code for showing the Description in Infobox.

    map.entities.clear();
    var infoboxOptions = {title:'Infobox Title',
    description:'Infobox description' + ' FIRST' + ' SECOND' + ' THIRD'+ ' FOURTH'};

    var defaultInfobox = new Microsoft.Maps.Infobox(map.getCenter(),
    infoboxOptions );   
    map.entities.push(defaultInfobox);


    This shows all the Fields(Contents like FIRST, SECOND) in the same line.

    How can we have multi line fields in the Infobox?

     

    Thanks,

    Rajeev.

     

     

     


    Rajeev

    Saturday, September 1, 2012 8:19 PM

Answers