<?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 Map graphic popup template not appearing inside Extjs Panel in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-graphic-popup-template-not-appearing-inside/m-p/241607#M22400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the below sample code which works fine when I do not render on EXTjs panel. I can see the popup template when I click on the graphic. But when I just move the map render inside extjs panel, the popup template never appears. Please help me to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt; &amp;lt;meta charset="utf-8"&amp;gt;&lt;BR /&gt; &amp;lt;meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"&amp;gt;&lt;BR /&gt; &amp;lt;title&amp;gt;Get started with graphics - 4.2&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.2%2Fesri%2Fcss%2Fmain.css" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/4.2/esri/css/main.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fextjs%2F4.2.1%2Fresources%2Fcss%2Fext-all-debug.css" rel="nofollow" target="_blank"&gt;https://cdnjs.cloudflare.com/ajax/libs/extjs/4.2.1/resources/css/ext-all-debug.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.2%2F" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/4.2/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fextjs%2F4.2.1%2Fext-all-debug.js" rel="nofollow" target="_blank"&gt;https://cdnjs.cloudflare.com/ajax/libs/extjs/4.2.1/ext-all-debug.js&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt; &amp;lt;style&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;/style&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;lt;body&amp;gt;&lt;BR /&gt; &amp;lt;div id="panelId" style="top:0px;height:500px"&amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;var view = null;&lt;BR /&gt;//document.getElementById('panelId').height = window.innerHeight;&lt;BR /&gt; require(["esri/config"], function(esriConfig) {&lt;BR /&gt; esriConfig.request.corsDetection = true;&lt;BR /&gt; corsEnabledServers = ["easyid.scansafe.net","static.arcgis.com","services.arcgisonline.com","localhost:8181"];&lt;BR /&gt; });&lt;BR /&gt; require([&lt;BR /&gt; "esri/Map",&lt;BR /&gt; "esri/views/MapView",&lt;BR /&gt; "esri/core/watchUtils",&lt;BR /&gt; "esri/Graphic",&lt;BR /&gt; "esri/geometry/Point",&lt;BR /&gt; "esri/geometry/Polyline",&lt;BR /&gt; "esri/geometry/Polygon",&lt;BR /&gt; "esri/symbols/SimpleMarkerSymbol",&lt;BR /&gt; "esri/symbols/PictureMarkerSymbol",&lt;BR /&gt; "esri/symbols/SimpleLineSymbol",&lt;BR /&gt; "esri/symbols/SimpleFillSymbol",&lt;BR /&gt; "dojo/domReady!"&lt;BR /&gt; ], function(&lt;BR /&gt; Map, MapView,watchUtils,&lt;BR /&gt; Graphic, Point, Polyline, Polygon,&lt;BR /&gt; SimpleMarkerSymbol, PictureMarkerSymbol, SimpleLineSymbol, SimpleFillSymbol&lt;BR /&gt; ) {&lt;/P&gt;&lt;P&gt;var map = new Map({&lt;BR /&gt; basemap: "topo"&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;view = new MapView({&lt;BR /&gt; center: [-80, 35],&lt;BR /&gt; container: "viewDiv",&lt;BR /&gt; map: map,&lt;BR /&gt; zoom: 3&lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; /**********************&lt;BR /&gt; * Create a point graphic&lt;BR /&gt; **********************/&lt;/P&gt;&lt;P&gt;// First create a point geometry (this is the location of the Titanic)&lt;BR /&gt; var point = new Point({&lt;BR /&gt; longitude: -49.97,&lt;BR /&gt; latitude: 41.73&lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; // Create a symbol for drawing the point&lt;BR /&gt; var markerSymbol = new SimpleMarkerSymbol({&lt;BR /&gt; color: [246, 119, 40],&lt;BR /&gt; outline: { // autocasts as new SimpleLineSymbol()&lt;BR /&gt; color: [255, 0, 255],&lt;BR /&gt; width: 4&lt;BR /&gt; }&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;// Create a graphic and add the geometry and symbol to it&lt;BR /&gt; var pointGraphic = new Graphic({&lt;BR /&gt; geometry: point,&lt;BR /&gt; symbol: markerSymbol,&lt;BR /&gt; popupTemplate:{&lt;BR /&gt; title:"Point Graphic",&lt;BR /&gt; content:"&amp;lt;b&amp;gt; This is example&amp;lt;/b&amp;gt;"&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; view.graphics.addMany([pointGraphic]);&lt;BR /&gt; &lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Ext.create('Ext.panel.Panel', {&lt;BR /&gt; title: 'Hello',&lt;BR /&gt; layout: 'fit',&lt;BR /&gt; width: 1200,&lt;BR /&gt; height:window.innerHeight,&lt;BR /&gt; html: '&amp;lt;p&amp;gt;World!&amp;lt;/p&amp;gt;&amp;lt;div style="width:1000px; height:500px;" id="viewDiv"&amp;gt;&amp;lt;/div&amp;gt;',&lt;BR /&gt; renderTo: "panelId",&lt;BR /&gt; &lt;BR /&gt;});&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Mar 2017 13:51:42 GMT</pubDate>
    <dc:creator>roshnibasu</dc:creator>
    <dc:date>2017-03-26T13:51:42Z</dc:date>
    <item>
      <title>Map graphic popup template not appearing inside Extjs Panel</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-graphic-popup-template-not-appearing-inside/m-p/241607#M22400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the below sample code which works fine when I do not render on EXTjs panel. I can see the popup template when I click on the graphic. But when I just move the map render inside extjs panel, the popup template never appears. Please help me to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt; &amp;lt;meta charset="utf-8"&amp;gt;&lt;BR /&gt; &amp;lt;meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"&amp;gt;&lt;BR /&gt; &amp;lt;title&amp;gt;Get started with graphics - 4.2&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.2%2Fesri%2Fcss%2Fmain.css" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/4.2/esri/css/main.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fextjs%2F4.2.1%2Fresources%2Fcss%2Fext-all-debug.css" rel="nofollow" target="_blank"&gt;https://cdnjs.cloudflare.com/ajax/libs/extjs/4.2.1/resources/css/ext-all-debug.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.2%2F" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/4.2/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fcdnjs.cloudflare.com%2Fajax%2Flibs%2Fextjs%2F4.2.1%2Fext-all-debug.js" rel="nofollow" target="_blank"&gt;https://cdnjs.cloudflare.com/ajax/libs/extjs/4.2.1/ext-all-debug.js&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;lt;/head&amp;gt;&lt;BR /&gt; &amp;lt;style&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;/style&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;lt;body&amp;gt;&lt;BR /&gt; &amp;lt;div id="panelId" style="top:0px;height:500px"&amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;script&amp;gt;&lt;BR /&gt;var view = null;&lt;BR /&gt;//document.getElementById('panelId').height = window.innerHeight;&lt;BR /&gt; require(["esri/config"], function(esriConfig) {&lt;BR /&gt; esriConfig.request.corsDetection = true;&lt;BR /&gt; corsEnabledServers = ["easyid.scansafe.net","static.arcgis.com","services.arcgisonline.com","localhost:8181"];&lt;BR /&gt; });&lt;BR /&gt; require([&lt;BR /&gt; "esri/Map",&lt;BR /&gt; "esri/views/MapView",&lt;BR /&gt; "esri/core/watchUtils",&lt;BR /&gt; "esri/Graphic",&lt;BR /&gt; "esri/geometry/Point",&lt;BR /&gt; "esri/geometry/Polyline",&lt;BR /&gt; "esri/geometry/Polygon",&lt;BR /&gt; "esri/symbols/SimpleMarkerSymbol",&lt;BR /&gt; "esri/symbols/PictureMarkerSymbol",&lt;BR /&gt; "esri/symbols/SimpleLineSymbol",&lt;BR /&gt; "esri/symbols/SimpleFillSymbol",&lt;BR /&gt; "dojo/domReady!"&lt;BR /&gt; ], function(&lt;BR /&gt; Map, MapView,watchUtils,&lt;BR /&gt; Graphic, Point, Polyline, Polygon,&lt;BR /&gt; SimpleMarkerSymbol, PictureMarkerSymbol, SimpleLineSymbol, SimpleFillSymbol&lt;BR /&gt; ) {&lt;/P&gt;&lt;P&gt;var map = new Map({&lt;BR /&gt; basemap: "topo"&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;view = new MapView({&lt;BR /&gt; center: [-80, 35],&lt;BR /&gt; container: "viewDiv",&lt;BR /&gt; map: map,&lt;BR /&gt; zoom: 3&lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; /**********************&lt;BR /&gt; * Create a point graphic&lt;BR /&gt; **********************/&lt;/P&gt;&lt;P&gt;// First create a point geometry (this is the location of the Titanic)&lt;BR /&gt; var point = new Point({&lt;BR /&gt; longitude: -49.97,&lt;BR /&gt; latitude: 41.73&lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt; // Create a symbol for drawing the point&lt;BR /&gt; var markerSymbol = new SimpleMarkerSymbol({&lt;BR /&gt; color: [246, 119, 40],&lt;BR /&gt; outline: { // autocasts as new SimpleLineSymbol()&lt;BR /&gt; color: [255, 0, 255],&lt;BR /&gt; width: 4&lt;BR /&gt; }&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;// Create a graphic and add the geometry and symbol to it&lt;BR /&gt; var pointGraphic = new Graphic({&lt;BR /&gt; geometry: point,&lt;BR /&gt; symbol: markerSymbol,&lt;BR /&gt; popupTemplate:{&lt;BR /&gt; title:"Point Graphic",&lt;BR /&gt; content:"&amp;lt;b&amp;gt; This is example&amp;lt;/b&amp;gt;"&lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; });&lt;BR /&gt; &lt;BR /&gt; view.graphics.addMany([pointGraphic]);&lt;BR /&gt; &lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Ext.create('Ext.panel.Panel', {&lt;BR /&gt; title: 'Hello',&lt;BR /&gt; layout: 'fit',&lt;BR /&gt; width: 1200,&lt;BR /&gt; height:window.innerHeight,&lt;BR /&gt; html: '&amp;lt;p&amp;gt;World!&amp;lt;/p&amp;gt;&amp;lt;div style="width:1000px; height:500px;" id="viewDiv"&amp;gt;&amp;lt;/div&amp;gt;',&lt;BR /&gt; renderTo: "panelId",&lt;BR /&gt; &lt;BR /&gt;});&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Mar 2017 13:51:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-graphic-popup-template-not-appearing-inside/m-p/241607#M22400</guid>
      <dc:creator>roshnibasu</dc:creator>
      <dc:date>2017-03-26T13:51:42Z</dc:date>
    </item>
  </channel>
</rss>

