AnsweredAssumed Answered

Popup to DIV

Question asked by jay.kapalczynski on Jul 24, 2018
Latest reply on Jul 25, 2018 by kenbuja

I have the below code that is returning a popup window via a map click.  The data I have is getting to large for a popup and want to move this to an HTML DIV in a side window. 


Anyone have any examples of how to push this to an html div tag instead of a popup?


var infoTemplateHazmat = new InfoTemplate();
infoTemplateHazmat.setTitle("Hazmat Incidents");       
infoTemplateHazmat.setContent("<table>" +
     "<tr><td>Status</td><td>${status}</td></tr>" +
     "<tr><td>Datetime</td><td><i>${UTC_DATETIME}</i></td></tr>" +
var hazmat = new FeatureLayer("", {
    mode: FeatureLayer.MODE_ONDEMAND,
    visible: false,
    infoTemplate: infoTemplateHazmat
legendLayers.push({ layer: hazmat, title: 'Hazmat Incidents' });