html - Displaying information within an infobox in Bing Maps -


i using bing maps display markers on map.

i able display infobox on over of markers. infobox contains summary display this

var pininfoboxoptions = {       width: 300,      height: sumxi,      description: summ,      visible:true }; 

now able display inbox description has full information marker. if add link using infoboxoptions actions infobox not displayed. please help

var pininfoboxoptions = {      width: 300,     height: sumxi,     description: summ,     actions:[{label:'test1',eventhandler: testevent1}],     visible:true }; 

if want link need use infobox option htmlcontent, example sdk docs:

 var infoboxoptions = {width :200,  height :100, showclosebutton: true,  zindex: 0, offset:new  microsoft.maps.point(10,0),  showpointer: true,  htmlcontent:'custom html'}; 

based on q's edit, title click handler job: again doc:

'titleclickhandler string' name of function call when title of info box clicked. if property set, title of info box displayed link.'


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

android - Keyboard hides my half of edit-text and button below it even in scroll view -