<?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 MapImageLayer in Esri Leaflet in Open Source Mapping Libraries Ques.</title>
    <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/mapimagelayer-in-esri-leaflet/m-p/871535#M153</link>
    <description>&lt;P&gt;I was wondering if there is any plans to incorporate MapImageLayers into Esri Leaflet.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In theory, it would seem possible since according to the docs '&lt;SPAN&gt;MapImageLayer processing is handled by the server, not the client.'&amp;nbsp; I know that the 'Dynamic Map Layer' does many similar things, but the '&lt;SPAN&gt;MapImageLayer'&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;in Esri Js API 4.x seems to be significantly more powerful.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Specifically, I love the 'renderer' and 'definitionExpression' in the '&lt;/SPAN&gt;&lt;SPAN&gt;MapImageLayer' 4.x functionality, which I can't find equivalents&amp;nbsp;for in the 'Dynamic Map Layer'.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Any chance this could end up in Esri Leaflet?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 12:53:33 GMT</pubDate>
    <dc:creator>NathanielEvatt</dc:creator>
    <dc:date>2023-08-28T12:53:33Z</dc:date>
    <item>
      <title>MapImageLayer in Esri Leaflet</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/mapimagelayer-in-esri-leaflet/m-p/871535#M153</link>
      <description>&lt;P&gt;I was wondering if there is any plans to incorporate MapImageLayers into Esri Leaflet.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In theory, it would seem possible since according to the docs '&lt;SPAN&gt;MapImageLayer processing is handled by the server, not the client.'&amp;nbsp; I know that the 'Dynamic Map Layer' does many similar things, but the '&lt;SPAN&gt;MapImageLayer'&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;in Esri Js API 4.x seems to be significantly more powerful.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Specifically, I love the 'renderer' and 'definitionExpression' in the '&lt;/SPAN&gt;&lt;SPAN&gt;MapImageLayer' 4.x functionality, which I can't find equivalents&amp;nbsp;for in the 'Dynamic Map Layer'.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Any chance this could end up in Esri Leaflet?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 12:53:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/mapimagelayer-in-esri-leaflet/m-p/871535#M153</guid>
      <dc:creator>NathanielEvatt</dc:creator>
      <dc:date>2023-08-28T12:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: MapImageLayer in Esri Leaflet</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/mapimagelayer-in-esri-leaflet/m-p/871536#M154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nathaniel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think Esri Leaflet does cover this use case for adding layers based on MapService endpoints - in Esri Leaflet it's called &lt;A class="link-titled" href="https://esri.github.io/esri-leaflet/api-reference/layers/dynamic-map-layer.html" title="https://esri.github.io/esri-leaflet/api-reference/layers/dynamic-map-layer.html"&gt;L.esri.DynamicMapLayer&lt;/A&gt;. Please review that link and let me know if it's what you need. &lt;A href="https://esri.github.io/esri-leaflet/examples/simple-dynamic-map-layer.html"&gt;Example here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Aug 2019 18:24:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/mapimagelayer-in-esri-leaflet/m-p/871536#M154</guid>
      <dc:creator>GavinRehkemper</dc:creator>
      <dc:date>2019-08-27T18:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: MapImageLayer in Esri Leaflet</title>
      <link>https://community.esri.com/t5/open-source-mapping-libraries-ques/mapimagelayer-in-esri-leaflet/m-p/871537#M155</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gavin,&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Yes, you are correct.&amp;nbsp; I was aware of the DynamicMapLayer, but I didn't see the ability to control the image server output.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;The solution was to edit the `dynamicLayers` options, specifically `drawingInfo`&lt;BR /&gt;```&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4c; background-color: #fafbfe; font-size: 13.6px;"&gt;dynamicMapLayer.setDynamicLayers([{&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4c; background-color: #fafbfe; font-size: 13.6px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ... "drawingInfo": { ... } &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4c; background-color: #fafbfe; font-size: 13.6px;"&gt;}]);&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4c; background-color: #fafbfe; font-size: 13.6px;"&gt;```&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4c; background-color: #fafbfe; font-size: 13.6px;"&gt;And for anyone else trying to get more information on what `&lt;SPAN&gt;drawingInfo` syntax looks like you can refer the Web Map Specification &lt;A class="link-titled" href="https://developers.arcgis.com/web-map-specification/objects/drawingInfo/" title="https://developers.arcgis.com/web-map-specification/objects/drawingInfo/"&gt;drawingInfo | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4c; background-color: #fafbfe; font-size: 13.6px;"&gt;&lt;SPAN&gt;Maybe I will create a Pull Request to add an example to the ESRI Leaflet Repo.&amp;nbsp; Do you accept &lt;SPAN style="background-color: #fafbfe;"&gt;Pull Requests?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2019 15:54:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/open-source-mapping-libraries-ques/mapimagelayer-in-esri-leaflet/m-p/871537#M155</guid>
      <dc:creator>NathanielEvatt</dc:creator>
      <dc:date>2019-10-31T15:54:31Z</dc:date>
    </item>
  </channel>
</rss>

