InfoTemplateのHTMLで作成されたカスタムボタンにクリックイベントを添付した人は誰ですか?ここに私のInfoTemplate HTMLがあります:ArcGIS JS API 3.21 InfoTemplate ZoomInボタン
uploadInfoTemplate = new InfoTemplate ({
title: "",
content: "<strong>Segment:</strong> ${segment}" +
"<hr/>" +
"<strong>Time:</strong> <i>${dateTime}</i>" +
"<div style='width: 100%; text-align:right;'>" +
"<input class='zoomButton' type='button' value='Zoom to' />" +
"</div>"
});
私はデフォルトのInfoTemplate、すなわちzoomToリンク上に隠しアイテムを持っています。私は、単にズームインの機能をボタンで置き換えて、少し上手く見せたいと思っています。