<?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: Mobile Popup Help in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mobile-popup-help/m-p/345062#M31842</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Solved by adding this line at the bottom of the function:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map.infoWindow.setFeatures([graphic]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just in case anyone else has a similar problem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Apr 2013 15:06:50 GMT</pubDate>
    <dc:creator>EdwardRozum</dc:creator>
    <dc:date>2013-04-01T15:06:50Z</dc:date>
    <item>
      <title>Mobile Popup Help</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mobile-popup-help/m-p/345060#M31840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everyone. I am new to this, and have found most of it pretty straight forward, but am having a problem with this bit. I am using my own geocode process to map addresses. Once mapped, I am adding the graphic, and then centering and zooming. All of this works great. The issue I am having is displaying my point information with Popup Mobile. I have been successful using the infoWindow, and the Popup, but not popup mobile. Here is a snippet of my code. Hopefully you all can point me in the right direction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; //Plot the point and center and zoom to location function MapAddress(data) { &amp;nbsp;&amp;nbsp;&amp;nbsp; //Map Symobol pin &amp;nbsp;&amp;nbsp;&amp;nbsp; map.graphics.clear(); &amp;nbsp;&amp;nbsp;&amp;nbsp; var symbol = new esri.symbol.PictureMarkerSymbol('themes/images/Pin.png', 32, 32);&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //Popup template &amp;nbsp;&amp;nbsp;&amp;nbsp; var attributes = { addressLine: data.GeoCodeResults[0].addressLine, city: data.GeoCodeResults[0].city + ", " + data.GeoCodeResults[0].state + " " + data.GeoCodeResults[0].zip, &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; long: data.GeoCodeResults[0].location.longitude, lat: data.GeoCodeResults[0].location.latitude, matchMsg: data.GeoCodeResults[0].matchMsg &amp;nbsp;&amp;nbsp;&amp;nbsp; };&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //Using This for infoWindow &amp;nbsp;&amp;nbsp;&amp;nbsp; var infoTemplate = new esri.InfoTemplate("Mapped Address", "Address: ${addressLine}&amp;lt;br /&amp;gt;City, State: ${city}&amp;nbsp;${state}&amp;nbsp;${zip}&amp;lt;br /&amp;gt;Longitude: ${long}&amp;lt;br /&amp;gt;Latitude: ${lat}&amp;lt;br /&amp;gt;Match Message: ${matchMsg}");&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; /* Regular Popup - This works when using esri.dijit.Popup &amp;nbsp;&amp;nbsp;&amp;nbsp; var infoTemplate = new esri.dijit.PopupTemplate({ &amp;nbsp;&amp;nbsp;&amp;nbsp; title: "Mapped Address", &amp;nbsp;&amp;nbsp;&amp;nbsp; fieldInfos: [ &amp;nbsp;&amp;nbsp;&amp;nbsp; { fieldName: "addressLine", visible: true, label: "Address:" }, &amp;nbsp;&amp;nbsp;&amp;nbsp; { fieldName: "city", visible: true, label: "City, State:" }, &amp;nbsp;&amp;nbsp;&amp;nbsp; { fieldName: "long", visible: true, label: "Longitude:" }, &amp;nbsp;&amp;nbsp;&amp;nbsp; { fieldName: "lat", visible: true, label: "Latitude:" }, &amp;nbsp;&amp;nbsp;&amp;nbsp; { fieldName: "matchMsg", visible: true, label: "Match:" } &amp;nbsp;&amp;nbsp;&amp;nbsp; ], &amp;nbsp;&amp;nbsp;&amp;nbsp; showAttachments: false &amp;nbsp;&amp;nbsp;&amp;nbsp; });*/ &amp;nbsp;&amp;nbsp;&amp;nbsp; //Build point to map &amp;nbsp;&amp;nbsp;&amp;nbsp; point = esri.geometry.geographicToWebMercator(new esri.geometry.Point(data.GeoCodeResults[0].location.longitude, data.GeoCodeResults[0].location.latitude)); &amp;nbsp;&amp;nbsp;&amp;nbsp; var graphic = new esri.Graphic(point, symbol, attributes, infoTemplate);&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; //Add to map and zoom &amp;nbsp;&amp;nbsp;&amp;nbsp; map.graphics.add(graphic); &amp;nbsp;&amp;nbsp;&amp;nbsp; map.centerAndZoom(point, 12); }&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Mar 2013 11:39:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mobile-popup-help/m-p/345060#M31840</guid>
      <dc:creator>EdwardRozum</dc:creator>
      <dc:date>2013-03-28T11:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile Popup Help</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mobile-popup-help/m-p/345061#M31841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Anyone? I have checked the examples and read the api. This seems like it should work. If I am missing something, can anyone let me know what it is. If there is a better way to do this, I am open to suggestions as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 12:01:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mobile-popup-help/m-p/345061#M31841</guid>
      <dc:creator>EdwardRozum</dc:creator>
      <dc:date>2013-04-01T12:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Mobile Popup Help</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mobile-popup-help/m-p/345062#M31842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Solved by adding this line at the bottom of the function:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;map.infoWindow.setFeatures([graphic]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just in case anyone else has a similar problem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Apr 2013 15:06:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/mobile-popup-help/m-p/345062#M31842</guid>
      <dc:creator>EdwardRozum</dc:creator>
      <dc:date>2013-04-01T15:06:50Z</dc:date>
    </item>
  </channel>
</rss>

