<?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: Uncaught TypeError: Cannot read property 'PeFactory' of null in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-typeerror-cannot-read-property-pefactory/m-p/515251#M48065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nadir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You just need to add coordinateFormatter.load(); statement after alert (pt.x+"_HELLO___" + pt.y);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Null because coordinateFormatter is not loaded yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I share with you sample code :&amp;nbsp;&lt;A href="https://codepen.io/thanhtetaung/pen/BaBLxaV"&gt;https://codepen.io/thanhtetaung/pen/BaBLxaV&lt;/A&gt;&amp;nbsp;how to use it.&lt;/P&gt;&lt;P&gt;On mouse move on the map, you can see UTM format at lower left corner.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Aug 2019 07:17:03 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2019-08-20T07:17:03Z</dc:date>
    <item>
      <title>Uncaught TypeError: Cannot read property 'PeFactory' of null</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-typeerror-cannot-read-property-pefactory/m-p/515250#M48064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing this problem.when i want to convert into utm coordinates i am getting the fallowing error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;Uncaught TypeError: Cannot read property 'PeFactory' of null&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;i did not understand what is null in my code i check every thing.please help.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;require([&lt;BR /&gt; "esri/map",&lt;BR /&gt; "esri/layers/FeatureLayer",&lt;BR /&gt; "esri/dijit/Search",&lt;BR /&gt; "esri/geometry/coordinateFormatter",&lt;BR /&gt; "esri/SpatialReference",&lt;BR /&gt; "esri/geometry/Point",&lt;BR /&gt; "esri/InfoTemplate",&lt;BR /&gt; "dojo/domReady!"&lt;BR /&gt; ], function (Map, FeatureLayer, Search,coordinateFormatter,SpatialReference,Point, InfoTemplate) {&lt;/P&gt;&lt;P&gt;var lt="44.0505";&lt;BR /&gt; var lg="17.5183";&lt;BR /&gt; var pt = new Point(lt, lg, new esri.SpatialReference({ wkid: 4326 }));&lt;BR /&gt; alert(pt.x+"_HELLO____"+pt.y);&lt;BR /&gt; var str = coordinateFormatter.toUtm(pt, "north-south-indicators", true);&lt;BR /&gt; alert(str);&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2019 06:03:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-typeerror-cannot-read-property-pefactory/m-p/515250#M48064</guid>
      <dc:creator>NadirHussain</dc:creator>
      <dc:date>2019-08-20T06:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: Uncaught TypeError: Cannot read property 'PeFactory' of null</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-typeerror-cannot-read-property-pefactory/m-p/515251#M48065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nadir,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You just need to add coordinateFormatter.load(); statement after alert (pt.x+"_HELLO___" + pt.y);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Null because coordinateFormatter is not loaded yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I share with you sample code :&amp;nbsp;&lt;A href="https://codepen.io/thanhtetaung/pen/BaBLxaV"&gt;https://codepen.io/thanhtetaung/pen/BaBLxaV&lt;/A&gt;&amp;nbsp;how to use it.&lt;/P&gt;&lt;P&gt;On mouse move on the map, you can see UTM format at lower left corner.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2019 07:17:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/uncaught-typeerror-cannot-read-property-pefactory/m-p/515251#M48065</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-08-20T07:17:03Z</dc:date>
    </item>
  </channel>
</rss>

