<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Points with InfoWindow attached to it in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-with-infowindow-attached-to-it/m-p/479654#M44584</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are those points graphics? If so check out my example here: &lt;A href="http://jsfiddle.net/timw1984/Nj765/" title="http://jsfiddle.net/timw1984/Nj765/"&gt;Button Popup 1 - JSFiddle&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 May 2015 13:53:04 GMT</pubDate>
    <dc:creator>TimWitt2</dc:creator>
    <dc:date>2015-05-06T13:53:04Z</dc:date>
    <item>
      <title>Points with InfoWindow attached to it</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-with-infowindow-attached-to-it/m-p/479652#M44582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a map with some points on it with the ESRI JavaScript API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would now like to attach a InfoWindow (or pop-up, ...) to the point so that when you click on a point, the info window shows with information in it .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to this and haven't found what i wanted so i'm asking here, please tell me if this is inappropriate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 12:37:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-with-infowindow-attached-to-it/m-p/479652#M44582</guid>
      <dc:creator>ThomasSpillard</dc:creator>
      <dc:date>2015-05-06T12:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Points with InfoWindow attached to it</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-with-infowindow-attached-to-it/m-p/479653#M44583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming that you have used &lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif;"&gt;FeatureLayer in your map , i am suggesting the following code :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var map;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; require(["esri/map",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/layers/FeatureLayer",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/InfoTemplate",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/domReady!"], function(Map,FeatureLayer,InfoTemplate) {

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map = new Map("map", {
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basemap: "topo",&amp;nbsp; //For full list of pre-defined basemaps, navigate to &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://arcg.is/1JVo6Wd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://arcg.is/1JVo6Wd&lt;/A&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; center: [0, 0] // longitude, latitude&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });

&amp;nbsp; var infoTemplate = new InfoTemplate("${NAME}", "${*}");&amp;nbsp; // Info template definition
&lt;SPAN&gt;&amp;nbsp; var featureLayer = new FeatureLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3" rel="nofollow noopener noreferrer" target="_blank"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/3&lt;/A&gt;&lt;SPAN&gt;", {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate: infoTemplate // assigning the Info template to the feature layer
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp; map.addLayer(featureLayer);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:10:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-with-infowindow-attached-to-it/m-p/479653#M44583</guid>
      <dc:creator>JaiSiva1</dc:creator>
      <dc:date>2021-12-11T21:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Points with InfoWindow attached to it</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-with-infowindow-attached-to-it/m-p/479654#M44584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are those points graphics? If so check out my example here: &lt;A href="http://jsfiddle.net/timw1984/Nj765/" title="http://jsfiddle.net/timw1984/Nj765/"&gt;Button Popup 1 - JSFiddle&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 13:53:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-with-infowindow-attached-to-it/m-p/479654#M44584</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2015-05-06T13:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Points with InfoWindow attached to it</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-with-infowindow-attached-to-it/m-p/479655#M44585</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a link that will help you with info windows/popups&amp;nbsp; &lt;A href="https://developers.arcgis.com/javascript/jssamples/index.html#popups_and_info_windows" title="https://developers.arcgis.com/javascript/jssamples/index.html#popups_and_info_windows"&gt;Samples | popups_and_info_windows,&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and &lt;A href="https://developers.arcgis.com/javascript/jsapi/infowindow-amd.html" title="https://developers.arcgis.com/javascript/jsapi/infowindow-amd.html"&gt;InfoWindow | API Reference &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/43900"&gt;Tim Witt&lt;/A&gt;​'s example is very nice too! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 14:04:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-with-infowindow-attached-to-it/m-p/479655#M44585</guid>
      <dc:creator>RickeyFight</dc:creator>
      <dc:date>2015-05-06T14:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Points with InfoWindow attached to it</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-with-infowindow-attached-to-it/m-p/479656#M44586</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my case i have implemented the map in an other app where I query a table with GlideRecord to create those points, so i it would mean i have to do a Dynamic Layer ? Thanks a lot for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 15:33:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-with-infowindow-attached-to-it/m-p/479656#M44586</guid>
      <dc:creator>ThomasSpillard</dc:creator>
      <dc:date>2015-05-06T15:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Points with InfoWindow attached to it</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-with-infowindow-attached-to-it/m-p/479657#M44587</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is the best solution for me,&lt;/P&gt;&lt;P&gt;Thanks a lot !&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 15:35:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-with-infowindow-attached-to-it/m-p/479657#M44587</guid>
      <dc:creator>ThomasSpillard</dc:creator>
      <dc:date>2015-05-06T15:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: Points with InfoWindow attached to it</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-with-infowindow-attached-to-it/m-p/479658#M44588</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rickey,&lt;/P&gt;&lt;P&gt;Indeed I have went through the API References but didn't figure out i had to put the info window and point together in a graphic, Thanks a lot too&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 May 2015 15:37:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/points-with-infowindow-attached-to-it/m-p/479658#M44588</guid>
      <dc:creator>ThomasSpillard</dc:creator>
      <dc:date>2015-05-06T15:37:04Z</dc:date>
    </item>
  </channel>
</rss>

