<?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: Changing base (tile) map in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/changing-base-tile-map/m-p/825463#M471</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey John,&lt;/P&gt;&lt;P&gt;My bad!! I was using an old version of my app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Sep 2015 20:20:48 GMT</pubDate>
    <dc:creator>joepublic</dc:creator>
    <dc:date>2015-09-14T20:20:48Z</dc:date>
    <item>
      <title>Changing base (tile) map</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/changing-base-tile-map/m-p/825461#M469</link>
      <description>&lt;P&gt;I have a esri-leaftlet app that works when I use a cloudfront base (tile) map but I get errors when I change to a Stamen base map.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;(See link below)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A style="line-height: 1.5;" title="http://cloudtobago.com/icgc/icgcWebMap5.html" href="http://cloudtobago.com/icgc/icgcWebMap5.html" target="_blank"&gt;ICGC WEB PORTAL&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; ....&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I click on a button to see the first (News) button, I get the following error:&lt;/P&gt;
&lt;P&gt;Uncaught TypeError: Cannot read property 'trim' of undefined&lt;/P&gt;
&lt;P&gt;o.Util.trim @ leaflet.js:5&lt;/P&gt;
&lt;P&gt;cleanUrl @ Util.js:387&lt;/P&gt;
&lt;P&gt;exports.Task.L.Class.extend.initialize @ Task.js:28&lt;/P&gt;
&lt;P&gt;o.Class.extend.e @ leaflet.js:5&lt;/P&gt;
&lt;P&gt;query @ Query.js:229&lt;/P&gt;
&lt;P&gt;(anonymous function) @ icgcWebMap5.html:261&lt;/P&gt;
&lt;P&gt;n.event.dispatch @ jquery.js:4435&lt;/P&gt;
&lt;P&gt;n.event.add.r.handle @ jquery.js:4121&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And if I click on any of the other buttons, I get the following error:&lt;/P&gt;
&lt;P&gt;Uncaught TypeError: Cannot read property 'query' of undefined&lt;/P&gt;
&lt;P&gt;(anonymous function) @ icgcWebMap5.html:329&lt;/P&gt;
&lt;P&gt;n.event.dispatch @ jquery.js:4435&lt;/P&gt;
&lt;P&gt;n.event.add.r.handle @ jquery.js:4121&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I at a total loss as to why this is happening.&amp;nbsp; Any help would much appreciated&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:40:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/changing-base-tile-map/m-p/825461#M469</guid>
      <dc:creator>joepublic</dc:creator>
      <dc:date>2023-08-28T13:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Changing base (tile) map</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/changing-base-tile-map/m-p/825462#M470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please reread my response to your previous geonet post, as you encountering the exact same problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/164438" target="_blank"&gt;Updating an esri-leaftlet app&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are still passing the url of the service you'd like to query as a plain string to L.esri.Query(), rather than within the options object which is currently required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var query = L.esri.query(tableURL).where("type like '" + buttonType.value + "'");
// at line 257 needs to be
var query = L.esri.query( { url: tableURL } ).where("type like '" + buttonType.value + "'");&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:50:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/changing-base-tile-map/m-p/825462#M470</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2021-12-12T09:50:11Z</dc:date>
    </item>
    <item>
      <title>Re: Changing base (tile) map</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/changing-base-tile-map/m-p/825463#M471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey John,&lt;/P&gt;&lt;P&gt;My bad!! I was using an old version of my app&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Sep 2015 20:20:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/changing-base-tile-map/m-p/825463#M471</guid>
      <dc:creator>joepublic</dc:creator>
      <dc:date>2015-09-14T20:20:48Z</dc:date>
    </item>
  </channel>
</rss>

