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

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -