<?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: KML switcher and base map? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607550#M56834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #111111; background-color: #fafafa;"&gt;Yes now I see&amp;nbsp;Pennsylvania, sorry it is way off the loading extent. Only now where is my second kml? Doesn't show up&amp;nbsp;in the UR menu either. I double checked them they are valid kml's. I have only changed the base map to "satellite" and the kml URL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #111111; background-color: #fafafa;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Sep 2018 22:26:52 GMT</pubDate>
    <dc:creator>EricParrish</dc:creator>
    <dc:date>2018-09-25T22:26:52Z</dc:date>
    <item>
      <title>KML switcher and base map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607545#M56829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" data-block="true" data-editor="5v9vj" data-offset-key="94h5q-0-0" style="color: #111111; border: 0px; font-weight: normal; text-decoration: none; padding: 0px;"&gt;&lt;DIV class="" data-offset-key="94h5q-0-0" style="border: 0px; padding: 0px;"&gt;&lt;SPAN data-offset-key="94h5q-0-0" style="border: 0px; padding: 0px;"&gt;&lt;SPAN data-text="true" style="border: 0px; padding: 0px;"&gt;I don't a huge amount&amp;nbsp;of experience with JavaScript. I have done some things in Google Maps/Earth API's but my knowledge is still basic. I need to build&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;an web&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;interface with two base&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;kml's.&amp;nbsp;I also need to add a bunch more optional&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;kml's&amp;nbsp;with checkboxes or other form-based controls. These controls would&lt;SPAN&gt;&amp;nbsp;be&amp;nbsp;toggled&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-offset-key="94h5q-2-0" style="border: 0px; padding: 0px;"&gt;&lt;SPAN data-text="true" style="border: 0px; padding: 0px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;on and off by the user. I found this resource&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jssamples/layers_kml.html" style="border: 0px; padding: 0px;"&gt;&lt;SPAN data-offset-key="94h5q-3-0" style="border: 0px; padding: 0px;"&gt;&lt;SPAN data-text="true" style="border: 0px; padding: 0px;"&gt;KML | ArcGIS API for JavaScript 3.25&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN data-offset-key="94h5q-4-0" style="border: 0px; padding: 0px;"&gt;&lt;SPAN data-text="true" style="border: 0px; padding: 0px;"&gt;.&amp;nbsp; But what do I&amp;nbsp;need to do to add the functionality I have described. Been searching around but still don't have something that works.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="5v9vj" data-offset-key="6vl2l-0-0" style="color: #111111; border: 0px; font-weight: normal; text-decoration: none; padding: 0px;"&gt;&lt;DIV class="" data-offset-key="6vl2l-0-0" style="border: 0px; padding: 0px;"&gt;&lt;SPAN data-offset-key="6vl2l-0-0" style="border: 0px; padding: 0px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="" data-block="true" data-editor="5v9vj" data-offset-key="78d4l-0-0" style="color: #111111; border: 0px; font-weight: normal; text-decoration: none; padding: 0px;"&gt;&lt;DIV class="" data-offset-key="78d4l-0-0" style="border: 0px; padding: 0px;"&gt;&lt;SPAN data-offset-key="78d4l-0-0" style="border: 0px; padding: 0px;"&gt;&lt;SPAN data-text="true" style="border: 0px; padding: 0px;"&gt;Any help or examples would be&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="background-color: #c4e3f3; border: 0px; padding: 0px;"&gt;&lt;SPAN data-offset-key="78d4l-1-0" style="border: 0px; padding: 0px;"&gt;&lt;SPAN data-text="true" style="border: 0px; padding: 0px;"&gt;greatly&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN data-offset-key="78d4l-2-0" style="border: 0px; padding: 0px;"&gt;&lt;SPAN data-text="true" style="border: 0px; padding: 0px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;appreciated! Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;argis‌&amp;nbsp;toggle layers on and off‌&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;kml‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2018 22:06:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607545#M56829</guid>
      <dc:creator>EricParrish</dc:creator>
      <dc:date>2018-09-24T22:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: KML switcher and base map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607546#M56830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric you would have to combine that sample and this one:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/map_explicitlayerlist.html" title="https://developers.arcgis.com/javascript/3/jssamples/map_explicitlayerlist.html"&gt;Toggle layer visibility | ArcGIS API for JavaScript 3.25&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 13:22:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607546#M56830</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-09-25T13:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: KML switcher and base map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607547#M56831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also accomplish this task with the newer 4.x version of the ArcGIS API for JavaScript.&amp;nbsp; You'll use the same approach of combining the KML sample with the LayerList sample:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KML sample:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/layers-kml/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/layers-kml/index.html"&gt;KMLLayer | ArcGIS API for JavaScript 4.8&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LayerList sample:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-layerlist/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/widgets-layerlist/index.html"&gt;LayerList widget | ArcGIS API for JavaScript 4.8&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Combined Sample:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://jsbin.com/muriwap/edit?html,output" title="http://jsbin.com/muriwap/edit?html,output"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 17:34:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607547#M56831</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2018-09-25T17:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: KML switcher and base map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607548#M56832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kelly, I tried your hybrid. Only I get only the one layer to work not only in your example but mine as well?&lt;/P&gt;&lt;P&gt;yours&amp;nbsp;&lt;A href="https://bcczo.colorado.edu/GISapi/layers-kmltoggle-source.html"&gt;https://bcczo.colorado.edu/GISapi/layers-kmltoggle-source.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;mine&amp;nbsp;&lt;A href="https://bcczo.colorado.edu/GISapi/layers-kmltoggleczo.html"&gt;https://bcczo.colorado.edu/GISapi/layers-kmltoggleczo.html&lt;BR /&gt;&lt;BR /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks so much!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 22:00:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607548#M56832</guid>
      <dc:creator>EricParrish</dc:creator>
      <dc:date>2018-09-25T22:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: KML switcher and base map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607549#M56833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric in my example they both work - one&amp;nbsp;layer is in California and the other in Pennsylvania.&amp;nbsp; &amp;nbsp;And in your example if I look in the dev console it seems like there is an issue with adding the boundaries kml.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some limitations when using KML that are outlined here:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://doc.arcgis.com/en/arcgis-online/reference/kml.htm" title="http://doc.arcgis.com/en/arcgis-online/reference/kml.htm"&gt;KML—ArcGIS Online Help | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 22:03:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607549#M56833</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2018-09-25T22:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: KML switcher and base map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607550#M56834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #111111; background-color: #fafafa;"&gt;Yes now I see&amp;nbsp;Pennsylvania, sorry it is way off the loading extent. Only now where is my second kml? Doesn't show up&amp;nbsp;in the UR menu either. I double checked them they are valid kml's. I have only changed the base map to "satellite" and the kml URL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #111111; background-color: #fafafa;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 22:26:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607550#M56834</guid>
      <dc:creator>EricParrish</dc:creator>
      <dc:date>2018-09-25T22:26:52Z</dc:date>
    </item>
    <item>
      <title>Re: KML switcher and base map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607551#M56835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neither excel the 10mb limit or exceed the extent seen. It was built own the same manner as the one that does show.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 22:34:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607551#M56835</guid>
      <dc:creator>EricParrish</dc:creator>
      <dc:date>2018-09-25T22:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: KML switcher and base map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607552#M56836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not a kml expert so not sure what is wrong but if I run both of your kml files through this kml validator&amp;nbsp;the one that displays comes back as valid and the one that does not display comes back as invalid.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.kmlvalidator.com/home.htm" title="http://www.kmlvalidator.com/home.htm"&gt;Galdos KML Validator&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Sep 2018 22:56:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607552#M56836</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2018-09-25T22:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: KML switcher and base map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607553#M56837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kelly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for everything so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Part 2: Now I need better control for the user over those kml layers. This will allow the user choose which ones they want to see and all but one or two would be turned "off" when the page loads until the user clicks on it. I was originally looking to do this with check boxes but am open to what will work best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've looked around but have not seen a good ways to do this. Found a few that don't work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any helpful suggestions here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again THANKS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2018 19:57:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/kml-switcher-and-base-map/m-p/607553#M56837</guid>
      <dc:creator>EricParrish</dc:creator>
      <dc:date>2018-10-02T19:57:06Z</dc:date>
    </item>
  </channel>
</rss>

