<?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: Latest JS API v4 not working while older v3.17 works in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-js-api-v4-not-working-while-older-v3-17/m-p/655823#M61166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kitty,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a migration page that I suspect will become substantially larger as time goes on - &lt;A href="https://developers.arcgis.com/javascript/latest/guide/migrating/index.html" title="https://developers.arcgis.com/javascript/latest/guide/migrating/index.html"&gt;Migrating from 3.x to 4.0 | ArcGIS API for JavaScript 4.0&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be honest, this is a little scary:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 17px;"&gt;Consider rewriting applications instead of simply trying to update them.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For those of us that have spent several years developing and enhancing a mapping application, using many custom modules and classes, this sure sounds painful!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, with the functionality of 3.x not yet ported over, it may be difficult to start that process now. I understand why this must occur, I just hope that 3.x will receive bug fixes and be supported well into the future while we make the transition. I suppose the silver lining is job security!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jul 2016 22:03:03 GMT</pubDate>
    <dc:creator>ChrisSmith7</dc:creator>
    <dc:date>2016-07-08T22:03:03Z</dc:date>
    <item>
      <title>Latest JS API v4 not working while older v3.17 works</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-js-api-v4-not-working-while-older-v3-17/m-p/655818#M61161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Note: I'm a beginner to ArcGIS JavaScript API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;I want to check to see if anyone is also having the same problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;Which I uploaded my codes here&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&amp;lt; &lt;A href="http://codepen.io/yiuklh/pen/vKZNoE" title="http://codepen.io/yiuklh/pen/vKZNoE"&gt;http://codepen.io/yiuklh/pen/vKZNoE&lt;/A&gt; &amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And so I'm wondering if the latest &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;ArcGIS JS API v4&lt;/STRONG&gt;&lt;/SPAN&gt; is not compatible.&lt;/P&gt;&lt;P&gt;&amp;lt; &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/get-started-mapview/index.html"&gt;https://developers.arcgis.com/javascript/latest/sample-code/get-started-mapview/index.html&lt;/A&gt;​ &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While the older &amp;lt; &lt;A href="https://developers.arcgis.com/javascript/3/" title="https://developers.arcgis.com/javascript/3/"&gt;ArcGIS API for JavaScript 3.17&lt;/A&gt;&amp;nbsp; &amp;gt; works just fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 18:34:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-js-api-v4-not-working-while-older-v3-17/m-p/655818#M61161</guid>
      <dc:creator>KittyYiu</dc:creator>
      <dc:date>2016-07-08T18:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Latest JS API v4 not working while older v3.17 works</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-js-api-v4-not-working-while-older-v3-17/m-p/655819#M61162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kitty,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some things have not been transferred from 3.X to the 4.0 version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See here: &lt;A href="https://developers.arcgis.com/javascript/latest/guide/functionality-matrix/index.html" title="https://developers.arcgis.com/javascript/latest/guide/functionality-matrix/index.html"&gt;Functionality matrix | ArcGIS API for JavaScript 4.0&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 18:54:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-js-api-v4-not-working-while-older-v3-17/m-p/655819#M61162</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2016-07-08T18:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: Latest JS API v4 not working while older v3.17 works</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-js-api-v4-not-working-while-older-v3-17/m-p/655820#M61163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kitty,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; A lot has changed between the two versions you can not just use your old 3.x code in a 4.x app. Here is the changes to make to your js code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;//default World Map view
//since no initial map extent setup yet
var map;
require([
&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/Map",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/views/MapView"
&amp;nbsp; ],
&amp;nbsp; function(Map, MapView) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; map = new Map({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basemap: "topo"
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; var view = new MapView({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; container: "myMap",&amp;nbsp; // Reference to the DOM node that will contain the view
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map: map&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // References the map object created in step 3
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp; });&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:46:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-js-api-v4-not-working-while-older-v3-17/m-p/655820#M61163</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T03:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Latest JS API v4 not working while older v3.17 works</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-js-api-v4-not-working-while-older-v3-17/m-p/655821#M61164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for checking, Tim W.&lt;/P&gt;&lt;P&gt;So that means the problem is more of Esri API side. Which the v4.0 is currently still not as stable as the older v3.17?&lt;/P&gt;&lt;P&gt;Do you recommend I sticks with v3.17 for now doing my learning?&lt;/P&gt;&lt;P&gt;I'm using this book &amp;lt; &lt;A href="https://www.packtpub.com/web-development/arcgis-javascript-developers-example" title="https://www.packtpub.com/web-development/arcgis-javascript-developers-example"&gt;ArcGIS for JavaScript Developers by Example | PACKT Books&lt;/A&gt;&amp;nbsp; &amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 19:25:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-js-api-v4-not-working-while-older-v3-17/m-p/655821#M61164</guid>
      <dc:creator>KittyYiu</dc:creator>
      <dc:date>2016-07-08T19:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Latest JS API v4 not working while older v3.17 works</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-js-api-v4-not-working-while-older-v3-17/m-p/655822#M61165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roberts answer should be able to help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general I will stick with 3.x versions until 4.0 is finished.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 19:29:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-js-api-v4-not-working-while-older-v3-17/m-p/655822#M61165</guid>
      <dc:creator>TimWitt2</dc:creator>
      <dc:date>2016-07-08T19:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: Latest JS API v4 not working while older v3.17 works</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-js-api-v4-not-working-while-older-v3-17/m-p/655823#M61166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kitty,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a migration page that I suspect will become substantially larger as time goes on - &lt;A href="https://developers.arcgis.com/javascript/latest/guide/migrating/index.html" title="https://developers.arcgis.com/javascript/latest/guide/migrating/index.html"&gt;Migrating from 3.x to 4.0 | ArcGIS API for JavaScript 4.0&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be honest, this is a little scary:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN style="color: #4c4c4c; font-family: 'Avenir Next W01', 'Avenir Next W00', 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 17px;"&gt;Consider rewriting applications instead of simply trying to update them.&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For those of us that have spent several years developing and enhancing a mapping application, using many custom modules and classes, this sure sounds painful!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And, with the functionality of 3.x not yet ported over, it may be difficult to start that process now. I understand why this must occur, I just hope that 3.x will receive bug fixes and be supported well into the future while we make the transition. I suppose the silver lining is job security!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 22:03:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-js-api-v4-not-working-while-older-v3-17/m-p/655823#M61166</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2016-07-08T22:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Latest JS API v4 not working while older v3.17 works</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-js-api-v4-not-working-while-older-v3-17/m-p/655824#M61167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correction posted here (credit: rscheitlin) &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;. &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;lt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fcodepen.io%2Fyiuklh%2Fpen%2FVjrawp" rel="nofollow" target="_blank"&gt;http://codepen.io/yiuklh/pen/Vjrawp&lt;/A&gt;&lt;SPAN&gt; &amp;gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank-you all again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2016 22:07:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/latest-js-api-v4-not-working-while-older-v3-17/m-p/655824#M61167</guid>
      <dc:creator>KittyYiu</dc:creator>
      <dc:date>2016-07-08T22:07:29Z</dc:date>
    </item>
  </channel>
</rss>

