<?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: Changes at 4.4 with map services? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281662#M26028</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; Hopefully I can go to 4.5 when it comes out, but it's good to know that the older release will still be around (I also downloaded the 4.3 js just in case).&amp;nbsp; Of course I would like to take advantage of the new functionality as it becomes available so hopefully with&amp;nbsp;4.5 and beyond&amp;nbsp;I won't have these issues...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Jul 2017 13:17:09 GMT</pubDate>
    <dc:creator>JeffSauder</dc:creator>
    <dc:date>2017-07-17T13:17:09Z</dc:date>
    <item>
      <title>Changes at 4.4 with map services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281657#M26023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I changed my source in the html file from 4.3 to 4.4, reloaded, and a lot has changed. &amp;nbsp;Now layers that were turned off by default in the mapservice (rest) &amp;nbsp;are now all on, the extent has changed significantly, and the legend widget doesn't turn off anymore (I had a button to change visibility). &amp;nbsp;Is the 4.4 just a beta release or is this the way it is now? &amp;nbsp;Everything was working perfectly and now it's all messed up. &amp;nbsp;If this is permanent, how long can I stay on 4.3 until that goes away?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any assistance or direction you can provide,&lt;/P&gt;&lt;P&gt;Jeff S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jul 2017 20:39:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281657#M26023</guid>
      <dc:creator>JeffSauder</dc:creator>
      <dc:date>2017-07-10T20:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Changes at 4.4 with map services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281658#M26024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to reproduce the first issue you brought up where MapImageLayer's sublayers are all being visible regardless of their default visibility being false. This issue will be fixed in our next release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please give me more information extent and legend issues? Simple sample code would be great.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 17:26:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281658#M26024</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2017-07-11T17:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Changes at 4.4 with map services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281659#M26025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will it be another 3 months before the next release? &amp;nbsp;Or is there a fairly easy workaround in the meantime? &amp;nbsp;I am also having the&amp;nbsp;same issue. &amp;nbsp;This seems like a serious issue that ought to be corrected quickly. &amp;nbsp;I will also have to stay with 4.3 until this is resolved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 20:50:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281659#M26025</guid>
      <dc:creator>JimNoel</dc:creator>
      <dc:date>2017-07-11T20:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Changes at 4.4 with map services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281660#M26026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Undral,&lt;/P&gt;&lt;P&gt;Thank you for the response.&amp;nbsp; I created a test site that can be reached externally, one for the 4.3 and one for the 4.4.&amp;nbsp; You can see how the layers behave differently, and the extent is off in the 4.4 one.&lt;/P&gt;&lt;P&gt;As far as the Legend widget, it looks like the visibility property is no longer available.&amp;nbsp; If that is true then I may have to find another way of doing this.&amp;nbsp; I default it to off, and use a tool (the tool furthest to the right on the toolbar) to toggle the visibility.&amp;nbsp; I found this to be best since the Legend often interferes with the layerlist widget when a lot of layers are in the service.&lt;/P&gt;&lt;P&gt;I just put together a few external services really quick, just to be able to show this, so please forgive if it doesn't look polished.&amp;nbsp; There is a basemap, common service, and 2 switchable services, as well as aerials.&lt;/P&gt;&lt;P&gt;All of the other functionality still works OK in 4.4, like measure, id, etc.&lt;/P&gt;&lt;P&gt;Please note that this app is a work in progress, and not all functions may work at this time, I am just putting it out there to show the issues.&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.gilbertmapping.com/jsapi/ExtTest43/index.html"&gt;http://www.gilbertmapping.com/jsapi/ExtTest43/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.gilbertmapping.com/jsapi/ExtTest44/index.html"&gt;http://www.gilbertmapping.com/jsapi/ExtTest44/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//js to define the legend: (visible false by default)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; togLegend=new Legend({&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; view: view,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visible: false,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerInfos: [{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer: dbLayer,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; title: "Common Layers"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer: dynLayer[0],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; title: legendTitle[0]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer: dynLayer[1],&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; title: legendTitle[1]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; view.ui.add(togLegend, "bottom-right");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//function to toggle legend visibility&lt;/P&gt;&lt;P&gt;function toggleLegend() {&lt;BR /&gt;&amp;nbsp; legendVis=!legendVis;&lt;BR /&gt;&amp;nbsp; togLegend.visible=legendVis;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//define extent&lt;/P&gt;&lt;P&gt;&amp;nbsp; vExtent = new Extent({&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmin: 730000,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ymin: 800000,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmax: 775000,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ymax: 870000,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; spatialReference: 2868&lt;BR /&gt;&amp;nbsp; });&lt;BR /&gt;&amp;nbsp; view.extent=vExtent;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, being somewhat new&amp;nbsp;with javascript, I'm not sure how long the older versions stick around.&amp;nbsp; Will I still be able to point to the 4.3 source in my html file at least until 4.5 comes out with the fixes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 20:57:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281660#M26026</guid>
      <dc:creator>JeffSauder</dc:creator>
      <dc:date>2017-07-11T20:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Changes at 4.4 with map services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281661#M26027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeff, in response to your question about how long 4.3 will stay around: &amp;nbsp;ESRI seems to keep earlier versions available for a fairly indefinite time. &amp;nbsp;In fact, all versions in the 4.x series are currently still available, all the way back to 4.0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 23:26:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281661#M26027</guid>
      <dc:creator>JimNoel</dc:creator>
      <dc:date>2017-07-13T23:26:24Z</dc:date>
    </item>
    <item>
      <title>Re: Changes at 4.4 with map services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281662#M26028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jim,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&amp;nbsp; Hopefully I can go to 4.5 when it comes out, but it's good to know that the older release will still be around (I also downloaded the 4.3 js just in case).&amp;nbsp; Of course I would like to take advantage of the new functionality as it becomes available so hopefully with&amp;nbsp;4.5 and beyond&amp;nbsp;I won't have these issues...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jul 2017 13:17:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281662#M26028</guid>
      <dc:creator>JeffSauder</dc:creator>
      <dc:date>2017-07-17T13:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Changes at 4.4 with map services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281663#M26029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jeff,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the really late reply. I was out of the office for a while. Anyhow, thank you for the descriptions and reproducible cases. I was able to reproduce different behaviors you reported.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created issues for these.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can workaround the MapView's initial extent issue by setting the initial extent when the view is loaded as shown below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #f8f8f8; background-color: #0c1021; font-size: 12px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #f8f8f8;"&gt; view.&lt;/SPAN&gt;&lt;SPAN style="color: #ff6400;"&gt;then&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f8;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #fbde2d;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f8;"&gt;(){&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #fbde2d;"&gt;&amp;nbsp; &amp;nbsp;var&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f8;"&gt; extent &lt;/SPAN&gt;&lt;SPAN style="color: #fbde2d;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #fbde2d;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f8;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #ff6400;"&gt;Extent&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f8;"&gt;({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #f8f8f8;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;xmin: &lt;/SPAN&gt;&lt;SPAN style="color: #d8fa3c;"&gt;730000&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f8;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #f8f8f8;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ymin: &lt;/SPAN&gt;&lt;SPAN style="color: #d8fa3c;"&gt;800000&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f8;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #f8f8f8;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;xmax: &lt;/SPAN&gt;&lt;SPAN style="color: #d8fa3c;"&gt;775000&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f8;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #f8f8f8;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ymax: &lt;/SPAN&gt;&lt;SPAN style="color: #d8fa3c;"&gt;870000&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f8;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #f8f8f8;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;spatialReference: &lt;/SPAN&gt;&lt;SPAN style="color: #d8fa3c;"&gt;2868&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #f8f8f8;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #f8f8f8;"&gt; view.extent &lt;/SPAN&gt;&lt;SPAN style="color: #fbde2d;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f8;"&gt; extent;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #f8f8f8;"&gt; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the legend widget visibility, you can use the CSS to toggle legend visibility as shown below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;style&amp;gt;&lt;BR /&gt; .my-hiding-class {&lt;BR /&gt;&amp;nbsp; display: none;&lt;BR /&gt; }&lt;BR /&gt; &amp;lt;/style&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function toggleLegend() {&lt;BR /&gt;&amp;nbsp; legendVis=!legendVis;&lt;BR /&gt;&amp;nbsp; togLegend.container.classList.toggle("my-hiding-class", legendVis);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;-Undral&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 23:01:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281663#M26029</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2017-07-20T23:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: Changes at 4.4 with map services?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281664#M26030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Undral,&lt;/P&gt;&lt;P&gt;Thanks for the reply.  I went back to 4.3, the extent is the least of my issues, if you look at the samples you’ll see that all the layers come on in the 4.4 version at full extent, while at 4.3 they work properly (the layers that I turned off by default in the ArcMap project are off in 4.3, but for some reason they all come on in 4.4, regardless of whether the layers are off by default or not).&lt;/P&gt;&lt;P&gt;I fixed the legend issue by using an expand widget.  I didn’t even think of the css fix, I may go back and do that instead…&lt;/P&gt;&lt;P&gt;Anyway I will just stay with 4.3 for the time being…&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 13:17:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/changes-at-4-4-with-map-services/m-p/281664#M26030</guid>
      <dc:creator>JeffSauder</dc:creator>
      <dc:date>2017-07-24T13:17:46Z</dc:date>
    </item>
  </channel>
</rss>

