<?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: zoomTo button in infoTemplate map is blank in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoomto-button-in-infotemplate-map-is-blank/m-p/340046#M31480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I have.&amp;nbsp; That explains it!&amp;nbsp; You'd think I would have noticed that behavior in my other code, but I'm still in the process of getting services going and rewriting some of my older code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's rather a glaring problem, I'm sure to get complaints from the users.&amp;nbsp; It's worked in many other past versions!!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jun 2014 15:39:00 GMT</pubDate>
    <dc:creator>TracySchloss</dc:creator>
    <dc:date>2014-06-26T15:39:00Z</dc:date>
    <item>
      <title>zoomTo button in infoTemplate map is blank</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoomto-button-in-infotemplate-map-is-blank/m-p/340044#M31478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using an infoTemplate to show attributes and have it defined in the map definition with an infoWindow as a popup so that each has the small ZoomTo link at the bottom.&amp;nbsp; I'm not sure what is going on behind the scenes with the ZoomTo, but that has always worked just fine for me, with either points, lines or polygons.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt; var popup = new Popup({ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fillSymbol: highlightFillSymbol &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, domConstruct.create("div")); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map = new Map("mapDiv", { &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoWindow: popup, &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basemap: "streets", &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; center: [-92.593, 38.5], &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zoom: 7 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate = new InfoTemplate(); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; infoTemplate.setTitle("&amp;lt;b&amp;gt;${NAME}&amp;lt;/b&amp;gt;"); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This particular project uses ZIP boundaries, which are more complex than some polygons and for whatever reason, which I click the Zoom To, instead of zooming to the polygon, the map is just blank.&amp;nbsp; My layer is set wkid 102100, the same as my basemap.&amp;nbsp; I don't know if it is zooming in past some scale threshold for this particular layer.&amp;nbsp; I'm not sure why it would be doing that.&amp;nbsp; It doesn't show either my layers or the ESRI basemap.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have used this exact same settings for county boundaries and it works just fine.&amp;nbsp; There's nothing in my code that is doing the ZoomTo, just the built in functionality with having a popup as part of your infoWindow definition.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't have any minimum zoom thresholds set on my service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 14:23:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoomto-button-in-infotemplate-map-is-blank/m-p/340044#M31478</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2014-06-26T14:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: zoomTo button in infoTemplate map is blank</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoomto-button-in-infotemplate-map-is-blank/m-p/340045#M31479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you recently upgraded to 10.2.2?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A bug has been reported with the Zoom To.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A workaround is linked at the bottom of this post &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/113015-InfoWindow-zoom-issue-after-upgrade-to-Server-10.2.2" rel="nofollow" target="_blank"&gt;here&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 15:24:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoomto-button-in-infotemplate-map-is-blank/m-p/340045#M31479</guid>
      <dc:creator>StevenGraf1</dc:creator>
      <dc:date>2014-06-26T15:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: zoomTo button in infoTemplate map is blank</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoomto-button-in-infotemplate-map-is-blank/m-p/340046#M31480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I have.&amp;nbsp; That explains it!&amp;nbsp; You'd think I would have noticed that behavior in my other code, but I'm still in the process of getting services going and rewriting some of my older code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That's rather a glaring problem, I'm sure to get complaints from the users.&amp;nbsp; It's worked in many other past versions!!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 15:39:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoomto-button-in-infotemplate-map-is-blank/m-p/340046#M31480</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2014-06-26T15:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: zoomTo button in infoTemplate map is blank</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoomto-button-in-infotemplate-map-is-blank/m-p/340047#M31481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This was the return from an IdentifyTask, so I added the suggested line into my result handler:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; feature.geometry.spatialReference = map.spatialReference;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:05:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/zoomto-button-in-infotemplate-map-is-blank/m-p/340047#M31481</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2021-12-11T16:05:09Z</dc:date>
    </item>
  </channel>
</rss>

