0
如何添加关闭按钮到信息模板?映射:如何添加关闭按钮到信息模板
// My info template looks like this, 't' and 'Description' are variables
var infoTemplate1 = new esri.InfoTemplate(Title + ' - ' + t,"Description:" + "<br>" + Description);
如何添加关闭按钮到信息模板?映射:如何添加关闭按钮到信息模板
// My info template looks like this, 't' and 'Description' are variables
var infoTemplate1 = new esri.InfoTemplate(Title + ' - ' + t,"Description:" + "<br>" + Description);
地址:
<button dojoType='dijit.form.Button' onClick='javascript:window.close();''>Done</button>")
更多信息请参阅本link。
祝你好运!