<?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: Placing Info Window at xmax,ymax of Feature Extent in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-info-window-at-xmax-ymax-of-feature-extent/m-p/715467#M66507</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;&amp;nbsp; &amp;nbsp;is the extents maxy&amp;nbsp;and maxx in the maps current viewable extent?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jan 2018 22:46:44 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2018-01-15T22:46:44Z</dc:date>
    <item>
      <title>Placing Info Window at xmax,ymax of Feature Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-info-window-at-xmax-ymax-of-feature-extent/m-p/715466#M66506</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I am attempting to place Info windows at the [xmax,ymax] of a feature extent. I have attempted using the following code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var extent = new esri.geometry.Extent(feature.geometry.getExtent());
 var xmax = extent.xmax;
 var ymax = extent.ymax;
 var location = new Point([xmax,ymax]);
 map.infoWindow.show(location);

&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;The labels do not appear.&amp;nbsp;
&lt;/SPAN&gt;
&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I extracted the xmax and ymax values as discussed in &lt;A _jive_internal="true" href="https://community.esri.com/thread/73755" target="_blank"&gt;This thread&lt;/A&gt;. &lt;/SPAN&gt;

&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;When I replace:&lt;/SPAN&gt;
&lt;PRE class="lia-code-sample line-numbers language-none"&gt; map.infoWindow.show(location);

&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;with...&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;map.infoWindow.show(feature.geometry.getCentroid());&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;The labels appear in the center of the feature as they should. So is something incorrect about the way I create the point? I have attempted most formats in &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/point-amd.html" rel="nofollow noopener noreferrer" target="_blank"&gt;The Point Documentation&lt;/A&gt;, with no luck. Any ideas where I should go from here? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:50:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-info-window-at-xmax-ymax-of-feature-extent/m-p/715466#M66506</guid>
      <dc:creator>ThomasMetos1</dc:creator>
      <dc:date>2021-12-12T16:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: Placing Info Window at xmax,ymax of Feature Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-info-window-at-xmax-ymax-of-feature-extent/m-p/715467#M66507</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;&amp;nbsp; &amp;nbsp;is the extents maxy&amp;nbsp;and maxx in the maps current viewable extent?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jan 2018 22:46:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-info-window-at-xmax-ymax-of-feature-extent/m-p/715467#M66507</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-01-15T22:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Placing Info Window at xmax,ymax of Feature Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-info-window-at-xmax-ymax-of-feature-extent/m-p/715468#M66508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes they are.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 17:43:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-info-window-at-xmax-ymax-of-feature-extent/m-p/715468#M66508</guid>
      <dc:creator>ThomasMetos1</dc:creator>
      <dc:date>2018-01-16T17:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Placing Info Window at xmax,ymax of Feature Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-info-window-at-xmax-ymax-of-feature-extent/m-p/715469#M66509</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;&amp;nbsp; &amp;nbsp;Are you have the require to esri/Geometry/Point in your require list right? Does your browsers console show any errors?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 17:48:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-info-window-at-xmax-ymax-of-feature-extent/m-p/715469#M66509</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-01-16T17:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Placing Info Window at xmax,ymax of Feature Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-info-window-at-xmax-ymax-of-feature-extent/m-p/715470#M66510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do have it in the require list. I am not getting any console errors either.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 20:32:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-info-window-at-xmax-ymax-of-feature-extent/m-p/715470#M66510</guid>
      <dc:creator>ThomasMetos1</dc:creator>
      <dc:date>2018-01-16T20:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: Placing Info Window at xmax,ymax of Feature Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-info-window-at-xmax-ymax-of-feature-extent/m-p/715471#M66511</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very strange. Can you build a small sample that has this issue for testing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 20:43:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-info-window-at-xmax-ymax-of-feature-extent/m-p/715471#M66511</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-01-16T20:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Placing Info Window at xmax,ymax of Feature Extent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-info-window-at-xmax-ymax-of-feature-extent/m-p/715472#M66512</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I converted the x,y coordinates of the feature extent to latitude and longitude using&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;webMercatorUtils.xyToLngLat(xmax,ymax)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which solved the problem!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 23:06:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-info-window-at-xmax-ymax-of-feature-extent/m-p/715472#M66512</guid>
      <dc:creator>ThomasMetos1</dc:creator>
      <dc:date>2018-01-16T23:06:01Z</dc:date>
    </item>
  </channel>
</rss>

