<?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 How can I change the title attribute of the locate widget? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-change-the-title-attribute-of-the-locate/m-p/449631#M41537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the 4.x api, I want to change the title attribute of the dom element in the locate widget. &amp;nbsp;The default value is "&lt;SPAN style="font-size: 11.0pt;"&gt;Default map view" which sounds misleading to the user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I was thinking of using jquery to target the "esri-locate" and "esri-icon-locate" classes like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;$(".esri-locate, .esri-icon-locate").prop('title', 'your new title');&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This works when I run it in the console, but I can't figure out in which event I should put this to make sure the dom element is available. &amp;nbsp;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcgis api for javascript 4‌ widget location‌ event listener‌ widget configuration‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 May 2017 17:22:06 GMT</pubDate>
    <dc:creator>JackFairfield</dc:creator>
    <dc:date>2017-05-31T17:22:06Z</dc:date>
    <item>
      <title>How can I change the title attribute of the locate widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-change-the-title-attribute-of-the-locate/m-p/449631#M41537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the 4.x api, I want to change the title attribute of the dom element in the locate widget. &amp;nbsp;The default value is "&lt;SPAN style="font-size: 11.0pt;"&gt;Default map view" which sounds misleading to the user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;I was thinking of using jquery to target the "esri-locate" and "esri-icon-locate" classes like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;$(".esri-locate, .esri-icon-locate").prop('title', 'your new title');&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This works when I run it in the console, but I can't figure out in which event I should put this to make sure the dom element is available. &amp;nbsp;Any help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcgis api for javascript 4‌ widget location‌ event listener‌ widget configuration‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 17:22:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-change-the-title-attribute-of-the-locate/m-p/449631#M41537</guid>
      <dc:creator>JackFairfield</dc:creator>
      <dc:date>2017-05-31T17:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can I change the title attribute of the locate widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-change-the-title-attribute-of-the-locate/m-p/449632#M41538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;According to the widgets nls file the title is suppose to be "Find my location".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://js.arcgis.com/4.3/esri/widgets/Locate/nls/Locate.js" title="https://js.arcgis.com/4.3/esri/widgets/Locate/nls/Locate.js"&gt;https://js.arcgis.com/4.3/esri/widgets/Locate/nls/Locate.js&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So this seems to be a bug/issue with the 4.x API. You should open a bug for this with tech support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jun 2017 02:02:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-change-the-title-attribute-of-the-locate/m-p/449632#M41538</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2017-06-04T02:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I change the title attribute of the locate widget?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-change-the-title-attribute-of-the-locate/m-p/449633#M41539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/3101"&gt;Robert Scheitlin, GISP&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I have reached out to ESRI and my understanding is that this will be fixed with the 4.4 release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am still looking for an event that fires after everything loads in the map. &amp;nbsp;Something similar to the "Load" event that was in the 3.x version of the api. &amp;nbsp;Any suggestions?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jun 2017 20:44:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-can-i-change-the-title-attribute-of-the-locate/m-p/449633#M41539</guid>
      <dc:creator>JackFairfield</dc:creator>
      <dc:date>2017-06-05T20:44:34Z</dc:date>
    </item>
  </channel>
</rss>

