<?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 goToOverride on Locate map component doesn't seem to be working. Bug? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/gotooverride-on-locate-map-component-doesn-t-seem/m-p/1665973#M87872</link>
    <description>&lt;P&gt;I am using v4.33 of the &lt;SPAN&gt;ArcGIS Maps SDK for JavaScript.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am disabling all the zoom-to animation for performance purposes. I notice that the&amp;nbsp;goToOverride on the Locate map component doesn't work. The overriding function looks like below&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;export function noAnimateGoTo (view, goToParams) {
  goToParams.options = {
    animate: false
  };
  return view.goTo(goToParams.target, goToParams.options);
};&lt;/LI-CODE&gt;&lt;P&gt;And I loaded the locate component like this&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;export function createLocateWidget (arcgisMap) {
  let widget = document.createElement('arcgis-locate');
  widget.position = 'top-left';
  widget.goToOverride = noAnimateGoTo;
  arcgisMap.appendChild(widget);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the same goToOverride method on the Home and Search widgets and both work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I check with v4.34 of the JS library, and it's Locate component have the same goToOverride problem.&lt;/P&gt;&lt;P&gt;Did I make a mistake with override? Or is there a possible bug with Locate map component?&lt;/P&gt;</description>
    <pubDate>Fri, 14 Nov 2025 19:11:02 GMT</pubDate>
    <dc:creator>AllenHuang</dc:creator>
    <dc:date>2025-11-14T19:11:02Z</dc:date>
    <item>
      <title>goToOverride on Locate map component doesn't seem to be working. Bug?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/gotooverride-on-locate-map-component-doesn-t-seem/m-p/1665973#M87872</link>
      <description>&lt;P&gt;I am using v4.33 of the &lt;SPAN&gt;ArcGIS Maps SDK for JavaScript.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am disabling all the zoom-to animation for performance purposes. I notice that the&amp;nbsp;goToOverride on the Locate map component doesn't work. The overriding function looks like below&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;export function noAnimateGoTo (view, goToParams) {
  goToParams.options = {
    animate: false
  };
  return view.goTo(goToParams.target, goToParams.options);
};&lt;/LI-CODE&gt;&lt;P&gt;And I loaded the locate component like this&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;export function createLocateWidget (arcgisMap) {
  let widget = document.createElement('arcgis-locate');
  widget.position = 'top-left';
  widget.goToOverride = noAnimateGoTo;
  arcgisMap.appendChild(widget);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the same goToOverride method on the Home and Search widgets and both work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I check with v4.34 of the JS library, and it's Locate component have the same goToOverride problem.&lt;/P&gt;&lt;P&gt;Did I make a mistake with override? Or is there a possible bug with Locate map component?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 19:11:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/gotooverride-on-locate-map-component-doesn-t-seem/m-p/1665973#M87872</guid>
      <dc:creator>AllenHuang</dc:creator>
      <dc:date>2025-11-14T19:11:02Z</dc:date>
    </item>
    <item>
      <title>Re: goToOverride on Locate map component doesn't seem to be working. Bug?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/gotooverride-on-locate-map-component-doesn-t-seem/m-p/1666052#M87875</link>
      <description>&lt;P&gt;Thanks for catching this. It doesn't look like there is a way to work around this at the moment, but we'll fix this for 5.0.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Nov 2025 22:05:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/gotooverride-on-locate-map-component-doesn-t-seem/m-p/1666052#M87875</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2025-11-14T22:05:55Z</dc:date>
    </item>
  </channel>
</rss>

