<?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: Measurement widget does not work on disconnected Environment in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1036001#M72034</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/455028"&gt;@YObaidat&lt;/a&gt;&amp;nbsp;, my apologies as I did not see the message from 2 weeks ago. Thank you for the video, as I was concerned about the http vs https and different browser behavior. I did some more digging and we are aware of this issue, and we're working on a fix for a future release.&lt;/P&gt;&lt;P&gt;In the meantime, you could try pointing to a local font resource using this property, so it no longer looks online for the font:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#fontsUrl" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#fontsUrl&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 12 Mar 2021 16:48:46 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2021-03-12T16:48:46Z</dc:date>
    <item>
      <title>Measurement widget does not work on disconnected Environment</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1028923#M71828</link>
      <description>&lt;P&gt;When deploying JS API version 4.18 on Winodws/IIS everything works very well expect the measurement tool. When no internet and start using measurement widget it requests a file from&amp;nbsp;&amp;nbsp;&lt;A href="https://static.arcgis.com/fonts/arial-unicode-ms-regular/0-255.pbf" target="_blank"&gt;https://static.arcgis.com/fonts/arial-unicode-ms-regular/0-255.pbf.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And since no internet is available on the user's machine he is not able to use the widget properly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope someone at esri can provide a solution for this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 11:10:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1028923#M71828</guid>
      <dc:creator>YObaidat</dc:creator>
      <dc:date>2021-02-21T11:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Measurement widget does not work on disconnected Environment</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1030574#M71864</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/455028"&gt;@YObaidat&lt;/a&gt;, there should be a fallback font available for the Measurement widget to use. Is that not happening? What does it mean that the widget cannot be used properly?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 17:53:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1030574#M71864</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-02-25T17:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Measurement widget does not work on disconnected Environment</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1030599#M71868</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;. Exactly the locally hosted API doesn't fallback to a locally hosted font . As you can see in the attached snapshots. I hosted 4.18 API on windows IIS on a local server and when using the measurement widget without internet, the symbology of the measurement graphic on the map appears incomplete.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 18:50:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1030599#M71868</guid>
      <dc:creator>YObaidat</dc:creator>
      <dc:date>2021-02-25T18:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Measurement widget does not work on disconnected Environment</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1030601#M71869</link>
      <description>&lt;P&gt;Is that app running over http or https? What's in the console? What happens with Google Chrome browser?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 18:56:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1030601#M71869</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-02-25T18:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Measurement widget does not work on disconnected Environment</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1030637#M71870</link>
      <description>&lt;P&gt;The app in the snapshots is running on http. The console shows that, when I use measurement widget the API make a request to&amp;nbsp;&lt;A href="https://static.arcgis.com/fonts/arial-unicode-ms-regular/0-255.pbf" target="_blank" rel="nofollow noopener noreferrer"&gt;https://static.arcgis.com/fonts/arial-unicode-ms-regular/0-255.pbf.&lt;/A&gt;&amp;nbsp;Also I changed the app to work on https and recorded a video to the issue(video link: &lt;A href="https://youtu.be/llS3KPlEwN4" target="_blank"&gt;https://youtu.be/llS3KPlEwN4&lt;/A&gt;) . I want to note here , I tested the app on latest version of Firefox and chrome and the problem appeared in both.&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FllS3KPlEwN4%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DllS3KPlEwN4&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FllS3KPlEwN4%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="348" height="196" scrolling="no" title="measurement issue" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Feb 2021 19:44:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1030637#M71870</guid>
      <dc:creator>YObaidat</dc:creator>
      <dc:date>2021-02-25T19:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Measurement widget does not work on disconnected Environment</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1035967#M72028</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 16:19:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1035967#M72028</guid>
      <dc:creator>YObaidat</dc:creator>
      <dc:date>2021-03-12T16:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Measurement widget does not work on disconnected Environment</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1036001#M72034</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/455028"&gt;@YObaidat&lt;/a&gt;&amp;nbsp;, my apologies as I did not see the message from 2 weeks ago. Thank you for the video, as I was concerned about the http vs https and different browser behavior. I did some more digging and we are aware of this issue, and we're working on a fix for a future release.&lt;/P&gt;&lt;P&gt;In the meantime, you could try pointing to a local font resource using this property, so it no longer looks online for the font:&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#fontsUrl" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#fontsUrl&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 16:48:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1036001#M72034</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2021-03-12T16:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Measurement widget does not work on disconnected Environment</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1131290#M75821</link>
      <description>&lt;P&gt;I have the same missing font issue when starting a new measurement in JS 4.22, except I have an Internet connection and I am not specifying a font anywhere in my map code. I have not changed any of the measurement widget implementation since 4.12. It is odd to me that this shows as an error in the browser instead of a warning since the framework is using a fallback. I'm not familiar with loading font for esri JS. Is there a complete example somewhere?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 17:57:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1131290#M75821</guid>
      <dc:creator>GregoryBologna</dc:creator>
      <dc:date>2022-01-06T17:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Measurement widget does not work on disconnected Environment</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1131353#M75826</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/193359"&gt;@GregoryBologna&lt;/a&gt;,&amp;nbsp;unfortunately, that is a known issue that will be fixed at the next release (4.23). For loading a custom/local font, there is more information here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/labeling/#featurelayer-csvlayer-and-streamlayer" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/labeling/#featurelayer-csvlayer-and-streamlayer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#fontsUrl" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html#fontsUrl&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jan 2022 19:35:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/measurement-widget-does-not-work-on-disconnected/m-p/1131353#M75826</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2022-01-06T19:35:44Z</dc:date>
    </item>
  </channel>
</rss>

