arcgis for js 手動觸發infoWindow彈窗
//構建InfoTemplate物件
var template = new InfoTemplate({...});
//構建圖層,並指定InfoTemplate選項
var graphicsLayer = new esri.layers.GraphicsLayer({infoTemplate: template});
//觸發彈窗,傳入位置
map.infoWindow.show(point);
//為InfoTemplate物件傳入param,也就是graphic或feature
map.infoWindow.setFeatures([graphic]);