<?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: Popup does not work after elevation widget in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1055566#M72980</link>
    <description>&lt;P&gt;Okay Ken, thank you!&lt;/P&gt;</description>
    <pubDate>Fri, 07 May 2021 07:00:47 GMT</pubDate>
    <dc:creator>Vakhtang_Zubiashvili</dc:creator>
    <dc:date>2021-05-07T07:00:47Z</dc:date>
    <item>
      <title>Popup does not work after elevation widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1054143#M72868</link>
      <description>&lt;P&gt;Hello again,&lt;/P&gt;&lt;P&gt;I have issue: I have mapView and I use elevation profile widget on it, it works perfect, shows elevation data as shoudl, but after it I can't use Popup, I click on map, but nothing happens. What might be cause?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 09:45:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1054143#M72868</guid>
      <dc:creator>Vakhtang_Zubiashvili</dc:creator>
      <dc:date>2021-05-04T09:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Popup does not work after elevation widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1054185#M72871</link>
      <description>&lt;P&gt;Are you seeing any error messages in your console? Can you either post your code or put together a code sample that reproduces the error?&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 13:36:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1054185#M72871</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-05-04T13:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Popup does not work after elevation widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1054324#M72889</link>
      <description>&lt;P&gt;Hi Ken,&lt;/P&gt;&lt;P&gt;I update working file here, you can simply check, I see errors only from imported libraries (it no problem, u can ignore and type error, this u can ignore too, it is old errors &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt; ). I really do not understand what is problem, i out widget at top and at the end too of the code, but get same result &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 17:56:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1054324#M72889</guid>
      <dc:creator>Vakhtang_Zubiashvili</dc:creator>
      <dc:date>2021-05-04T17:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Popup does not work after elevation widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1054348#M72892</link>
      <description>&lt;P&gt;Wow....4300 lines of code is way too much for me to wade through. Can you distill this down to a short example that replicates your problem?&lt;/P&gt;</description>
      <pubDate>Tue, 04 May 2021 18:22:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1054348#M72892</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-05-04T18:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Popup does not work after elevation widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1054642#M72907</link>
      <description>&lt;P&gt;Hi Ken,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry for this :D, i did not notice...&lt;/P&gt;&lt;P&gt;Here is code only with basic widgets and Elevation Profile Widget, also one FL with popupTemplate and Custom Symbol...&lt;/P&gt;&lt;P&gt;I noticed that, before making Elevation profile, popup works, but after i make Profile by clicking on map and it creates graphic line on map (like elevation path), after this i can not call popup &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a working file,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 05 May 2021 14:36:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1054642#M72907</guid>
      <dc:creator>Vakhtang_Zubiashvili</dc:creator>
      <dc:date>2021-05-05T14:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Popup does not work after elevation widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1055263#M72964</link>
      <description>&lt;P&gt;I'm wondering if this is a bug. I get the same results when adding the widget to the PopupTemplate &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=intro-popuptemplate" target="_self"&gt;sample&lt;/A&gt;.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
  &amp;lt;meta charset="utf-8" /&amp;gt;
  &amp;lt;meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" /&amp;gt;
  &amp;lt;title&amp;gt;Intro to PopupTemplate | Sample | ArcGIS API for JavaScript 4.19&amp;lt;/title&amp;gt;

  &amp;lt;style&amp;gt;
    html,
    body,
    #viewDiv {
      padding: 0;
      margin: 0;
      height: 100%;
      width: 100%;
    }
  &amp;lt;/style&amp;gt;

  &amp;lt;link rel="stylesheet" href="https://js.arcgis.com/4.19/esri/themes/light/main.css" /&amp;gt;
  &amp;lt;script src="https://js.arcgis.com/4.19/"&amp;gt;&amp;lt;/script&amp;gt;

  &amp;lt;script&amp;gt;
    require([
      "esri/Map",
      "esri/layers/FeatureLayer",
      "esri/views/MapView",
      "esri/widgets/Legend",
      "esri/widgets/ElevationProfile"
    ], (Map, FeatureLayer, MapView, Legend, ElevationProfile) =&amp;gt; {
      // Create the map
      const map = new Map({
        basemap: "gray-vector",
        ground: 'world-elevation'
      });

      // Create the MapView
      const view = new MapView({
        container: "viewDiv",
        map: map,
        center: [-73.95, 40.702],
        zoom: 10
      });

      view.ui.add(new Legend({ view: view }), "bottom-left");

      /*************************************************************
       * The PopupTemplate content is the text that appears inside the
       * popup. {fieldName} can be used to reference the value of an
       * attribute of the selected feature. HTML elements can be used
       * to provide structure and styles within the content. The
       * fieldInfos property is an array of objects (each object representing
       * a field) that is use to format number fields and customize field
       * aliases in the popup and legend.
       **************************************************************/

      const template = {
        // autocasts as new PopupTemplate()
        title: "{NAME} in {COUNTY}",
        content: [
          {
            // It is also possible to set the fieldInfos outside of the content
            // directly in the popupTemplate. If no fieldInfos is specifically set
            // in the content, it defaults to whatever may be set within the popupTemplate.
            type: "fields",
            fieldInfos: [
              {
                fieldName: "B12001_calc_pctMarriedE",
                label: "Married %"
              },
              {
                fieldName: "B12001_calc_numMarriedE",
                label: "People Married",
                format: {
                  digitSeparator: true,
                  places: 0
                }
              },
              {
                fieldName: "B12001_calc_numNeverE",
                label: "People that Never Married",
                format: {
                  digitSeparator: true,
                  places: 0
                }
              },
              {
                fieldName: "B12001_calc_numDivorcedE",
                label: "People Divorced",
                format: {
                  digitSeparator: true,
                  places: 0
                }
              }
            ]
          }
        ]
      };

      // Reference the popupTemplate instance in the
      // popupTemplate property of FeatureLayer
      const featureLayer = new FeatureLayer({
        url: "https://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services/ACS_Marital_Status_Boundaries/FeatureServer/2",
        popupTemplate: template
      });
      map.add(featureLayer);

      const elevationProfile = new ElevationProfile({
        view: view,
        profiles: [
          {
            type: "ground" // first profile line samples the ground elevation
          },
          {
            type: "view" // second profile samples the view and shows building profiles
          }
        ],
        // hide the select button
        // this button can be displayed when there are polylines in the
        // scene to select and display the elevation profile for
        visibleElements: {
          //selectButton: false
        }
      });

      // add the widget to the view
      view.ui.add(elevationProfile, "top-right");
    });
  &amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;
  &amp;lt;div id="viewDiv"&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 06 May 2021 15:57:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1055263#M72964</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-05-06T15:57:22Z</dc:date>
    </item>
    <item>
      <title>Re: Popup does not work after elevation widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1055405#M72973</link>
      <description>&lt;P&gt;Yes, i think same :(,&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what we do know? Let ESRI knw that it is a bug?&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 20:11:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1055405#M72973</guid>
      <dc:creator>Vakhtang_Zubiashvili</dc:creator>
      <dc:date>2021-05-06T20:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Popup does not work after elevation widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1055406#M72974</link>
      <description>&lt;P&gt;Yes, open a case with Esri to verify that it is a bug.&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 20:12:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1055406#M72974</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-05-06T20:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Popup does not work after elevation widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1055566#M72980</link>
      <description>&lt;P&gt;Okay Ken, thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 07 May 2021 07:00:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-does-not-work-after-elevation-widget/m-p/1055566#M72980</guid>
      <dc:creator>Vakhtang_Zubiashvili</dc:creator>
      <dc:date>2021-05-07T07:00:47Z</dc:date>
    </item>
  </channel>
</rss>

