How to display InfoTemplate in a separate window instead of popup

529
2
07-30-2018 10:05 AM
NageshC
New Contributor

I have defined a InfoTemplate as follows and added it to a CSV Layer

var CabinetTemplate = new esri.InfoTemplate();
CabinetTemplate.setTitle("<b> ${type}</b>");
CabinetTemplate.setContent("${description} <br\> ${latitude},${longitude} ");

CabinetCSVLayer.setInfoTemplate(CabinetTemplate);

It is working fine as a popup.

But I want to display this InfoTemplate in a separate window.

Could anyone please let me know how can I get this InfoTemplate in a separate window.

0 Kudos
2 Replies
JeffBigos
Esri Contributor

Hi Nagesh,

Take a look at the following samples from the API, they will illustrate different ways to accomplish what you are looking for.

3.X api:

         Popup content in side panel | ArcGIS API for JavaScript 3.25 

4.x api:

         Popup with DOM node | ArcGIS API for JavaScript 4.8 

Let me know if this is what you were looking for.

Thanks, 

Jeff 

NageshC
New Contributor

Hello Jeff,

Thanks for your message. 

I have seen the given links and they show how to display the popup in a side panel or DOM node.

But my requirement is different.

I want to display the info in a separate window so that I can move it to a different screen leaving the map as is.

Please let me know if you have any solution for this.

Thanks,

Nagesh

0 Kudos