<?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: ElevationProfile Hover Indicator Position / Offset Incorrect in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevationprofile-hover-indicator-position-offset/m-p/1683993#M88131</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/970419"&gt;@nomid&lt;/a&gt;,&amp;nbsp;thanks for posting your question here. It would be great if you could share a simplified repro app (here or in a private message) so I could do some testing. Other things to try would be: 1) try loading the geoJSON layer in the map constructor instead of adding it to the map separately, 2) try another layer or layer type and see if that makes a difference in your app. Also, are there any console warnings or errors in the browser?&lt;/P&gt;</description>
    <pubDate>Thu, 12 Feb 2026 15:43:42 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2026-02-12T15:43:42Z</dc:date>
    <item>
      <title>ElevationProfile Hover Indicator Position / Offset Incorrect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevationprofile-hover-indicator-position-offset/m-p/1682980#M88126</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;BR /&gt;I am stuck on an issue relating to the elevation profile widget where when hovering the elevation chart, the indicator does not follow the corresponding lines on the map.&amp;nbsp;&lt;A href="https://imgur.com/a/fPBwSVM" target="_blank" rel="noopener"&gt;See image.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It is clear it partially has the right data, as moving along the chart makes the indicator follow the correct shape of the track/line. The offset distance is not fixed, it varies when zooming in and out. The more I zoom in, the closer the indicator and line paths come to alignment.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Context&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Using SceneView with world-elevation as base map&lt;/LI&gt;&lt;LI&gt;Tracks are represented by GeoJSONLayer&lt;/LI&gt;&lt;LI&gt;Track's Polyline is made with the primary view's spatial reference&lt;/LI&gt;&lt;LI&gt;The elevation chart data appears to be correct&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;LI-CODE lang="javascript"&gt;const map = new Map({
  basemap: "satellite",
  ground: "world-elevation",
});

const _view = new SceneView({
  container: mapDiv.current,
  map: map,
  ...
});&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;const trackLayer = new GeoJSONLayer({
  url: TRACKS_URL,
  ...
});
view.map.add(trackLayer);&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;const inputLine = new Graphic({
  geometry: new Polyline({
    paths: polylinePaths, // track coordinates
    spatialReference: view.spatialReference
  })
});

const elevationProfile = new ElevationProfile({
  view,
  container: elevationProfileRef.current,
  input: inputLine,
  ...
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Why does the indicator not align with the tracks when hovering the elevation profile chart?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Feb 2026 00:21:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevationprofile-hover-indicator-position-offset/m-p/1682980#M88126</guid>
      <dc:creator>nomid</dc:creator>
      <dc:date>2026-02-09T00:21:44Z</dc:date>
    </item>
    <item>
      <title>Re: ElevationProfile Hover Indicator Position / Offset Incorrect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevationprofile-hover-indicator-position-offset/m-p/1683993#M88131</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/970419"&gt;@nomid&lt;/a&gt;,&amp;nbsp;thanks for posting your question here. It would be great if you could share a simplified repro app (here or in a private message) so I could do some testing. Other things to try would be: 1) try loading the geoJSON layer in the map constructor instead of adding it to the map separately, 2) try another layer or layer type and see if that makes a difference in your app. Also, are there any console warnings or errors in the browser?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 15:43:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevationprofile-hover-indicator-position-offset/m-p/1683993#M88131</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2026-02-12T15:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: ElevationProfile Hover Indicator Position / Offset Incorrect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevationprofile-hover-indicator-position-offset/m-p/1684173#M88132</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;,&amp;nbsp;thank you for your response. I will send through a URL so you can see it firsthand (check your private messages). I'll work on getting a codepen or similar set up for you to test out.&lt;/P&gt;&lt;P&gt;1. Loading the geoJSON layer in the map constructor did not solve the issue&lt;/P&gt;&lt;P&gt;2. I tried a FeatureLayer instead of a GeoJSONLayer and the error persisted&lt;/P&gt;&lt;P&gt;3. There are no errors or warnings in the console&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 21:41:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevationprofile-hover-indicator-position-offset/m-p/1684173#M88132</guid>
      <dc:creator>nomid</dc:creator>
      <dc:date>2026-02-12T21:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: ElevationProfile Hover Indicator Position / Offset Incorrect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevationprofile-hover-indicator-position-offset/m-p/1684517#M88140</link>
      <description>&lt;P&gt;Just to close this, the issue was to do with my Sidebar component which caused the map to be pushed to the right. By positioning the Sidebar absolutely, the map takes the full width of the screen and the hover indicator now aligns properly.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Feb 2026 03:38:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevationprofile-hover-indicator-position-offset/m-p/1684517#M88140</guid>
      <dc:creator>nomid</dc:creator>
      <dc:date>2026-02-15T03:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: ElevationProfile Hover Indicator Position / Offset Incorrect</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevationprofile-hover-indicator-position-offset/m-p/1684572#M88141</link>
      <description>&lt;P&gt;Thanks for following-up and posting the resolution. Glad to hear everything is proper now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Feb 2026 15:53:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/elevationprofile-hover-indicator-position-offset/m-p/1684572#M88141</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2026-02-16T15:53:29Z</dc:date>
    </item>
  </channel>
</rss>

