<?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: Reference both esri-leaflet and ESRI JS API in same environment (Used separately / NOT mixed in mapviewers) in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/reference-both-esri-leaflet-and-esri-js-api-in/m-p/1405030#M650</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Since I asked the question I got it working. (The leaflet side definitely 100%)&lt;/P&gt;&lt;P&gt;I'm working on an intermittent dojo&amp;nbsp;&amp;nbsp;require(["dojo/ready"] issue that fail to load my own custom dojo package that use the ESRI JS API.&lt;/P&gt;&lt;P&gt;The times that my dojo package loads, both map frameworks work with two maps on the same page. Dont ask me to explain why one would do that... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The order of references are important it seems.&lt;/P&gt;&lt;P&gt;I will give a complete example once it got my loading issue resolved, just to make sure its not related.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just an update&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2024 04:49:28 GMT</pubDate>
    <dc:creator>GertConradie</dc:creator>
    <dc:date>2024-04-03T04:49:28Z</dc:date>
    <item>
      <title>Reference both esri-leaflet and ESRI JS API in same environment (Used separately / NOT mixed in mapviewers)</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/reference-both-esri-leaflet-and-esri-js-api-in/m-p/1404279#M648</link>
      <description>&lt;P&gt;When I reference/include both&amp;nbsp;&lt;A href="https://unpkg.com/esri-leaflet@3.0.4/dist/esri-leaflet.js" target="_blank"&gt;https://unpkg.com/esri-leaflet@3.0.4/dist/esri-leaflet.js&amp;nbsp;&lt;/A&gt; and&amp;nbsp;js.arcgis.com/4.19 into a shared html layout template (templates is used in two separate map pages ), the inclusion of the ESRI JS replace L.esri with something else.&lt;/P&gt;&lt;P&gt;Are there a way to use different global names for the two packages?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Else I will duplicate my layout template.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any advice would be much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 06:16:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/reference-both-esri-leaflet-and-esri-js-api-in/m-p/1404279#M648</guid>
      <dc:creator>GertConradie</dc:creator>
      <dc:date>2024-04-02T06:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reference both esri-leaflet and ESRI JS API in same environment (Used separately / NOT mixed in mapviewers)</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/reference-both-esri-leaflet-and-esri-js-api-in/m-p/1404570#M649</link>
      <description>&lt;P&gt;Hi, thanks for the question. Could you please post an example code that demonstrates the error/problem that you're seeing? You can either post the HTML/JS/CSS right into a message here, or you can use a service like JSBin or Codepen or Stackblitz. Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 13:39:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/reference-both-esri-leaflet-and-esri-js-api-in/m-p/1404570#M649</guid>
      <dc:creator>GavinRehkemper</dc:creator>
      <dc:date>2024-04-02T13:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reference both esri-leaflet and ESRI JS API in same environment (Used separately / NOT mixed in mapviewers)</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/reference-both-esri-leaflet-and-esri-js-api-in/m-p/1405030#M650</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Since I asked the question I got it working. (The leaflet side definitely 100%)&lt;/P&gt;&lt;P&gt;I'm working on an intermittent dojo&amp;nbsp;&amp;nbsp;require(["dojo/ready"] issue that fail to load my own custom dojo package that use the ESRI JS API.&lt;/P&gt;&lt;P&gt;The times that my dojo package loads, both map frameworks work with two maps on the same page. Dont ask me to explain why one would do that... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The order of references are important it seems.&lt;/P&gt;&lt;P&gt;I will give a complete example once it got my loading issue resolved, just to make sure its not related.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just an update&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 04:49:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/reference-both-esri-leaflet-and-esri-js-api-in/m-p/1405030#M650</guid>
      <dc:creator>GertConradie</dc:creator>
      <dc:date>2024-04-03T04:49:28Z</dc:date>
    </item>
  </channel>
</rss>

