2012-10-18 72 views

回答

1

您可以通过在选项哈希中添加的htmlContent属性添加HTML。例如:

var infoboxOptions = { 
    width :200, 
    height :100, 
    showCloseButton: true, 
    zIndex: 0, 
    offset:new Microsoft.Maps.Point(10,0), 
    showPointer: true, 
    htmlContent:'<img src="source/of/image></img>"' 
}; 
相关问题