是否可以在 infoWindow 或 infoBox 中使用 ui 对话框?
此代码不起作用:
google.maps.event.addListener(marker,"click", function()
{
html = "$('#dialog-click').dialog({...})";
ib.setContent(html);
ib.open(map,marker);
}
<div id="dialog-click">
<label for="name">Name:</label>
<input type='text' id='name' />
<label for="firstname">Firstname:</label>
<input type='text' id='firstname' />
</div>