<?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: Extend MapImageLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-mapimagelayer/m-p/573602#M53602</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our custom Basemap contains 500+ layers including group layers, made with all type of geometries (Point, Line, Polygon and Annotation) and complex symbology was used. Can I apply “only color” through rendering across all the layers at once for every request to the MapImageLayer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 May 2020 01:10:50 GMT</pubDate>
    <dc:creator>Ranga_Tolapi</dc:creator>
    <dc:date>2020-05-05T01:10:50Z</dc:date>
    <item>
      <title>Extend MapImageLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-mapimagelayer/m-p/573598#M53598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for the possible ways to extend MapImageLayer to return a greyscale map image (using TypeScript). Or any other way to get the greyscale image from a map service?&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;Any suggestions/samples please.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;Your support is sincerely appreciated.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;A href="https://community.esri.com/migrated-users/6443"&gt;Rene Rubalcava&lt;/A&gt;‌ &lt;A href="https://community.esri.com/migrated-users/12351"&gt;Matt Driscoll&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/19493"&gt;Juan Carlos Franco&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.esri.com/group/1759"&gt;Esri Technical Support&lt;/A&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;arcgis api for javascript 4.x‌&amp;nbsp;greyscale&amp;nbsp;typescript&amp;nbsp;mapimagelayer&amp;nbsp;canvas&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;A _jive_internal="true" data-containerid="17" data-containertype="-2" data-objectid="2534" data-objecttype="700" href="https://community.esri.com/groups/html5-css-javascript-and-javascript-frameworks/activity" style="color: #287433; background-color: transparent; border: 0px; font-weight: inherit; padding: 1px 0px 1px calc(12px + 0.35ex);"&gt;HTML5, CSS, JavaScript, and JavaScript Frameworks&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 04:22:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-mapimagelayer/m-p/573598#M53598</guid>
      <dc:creator>Ranga_Tolapi</dc:creator>
      <dc:date>2020-05-04T04:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extend MapImageLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-mapimagelayer/m-p/573599#M53599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ranga,&lt;/P&gt;&lt;P&gt;The source of a mapImage layer is always a dynamic map service. When dynamic map service is enabled with 'dynamicLayers' capability (which is the case by default since may be 10.3), a client can pass in a drawinInfo (i.e. renderer) in an export request to ask the map service to draw features using the drawingInfo client passes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if I misunderstood what you asked for.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Tanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 15:00:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-mapimagelayer/m-p/573599#M53599</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2020-05-04T15:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Extend MapImageLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-mapimagelayer/m-p/573600#M53600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tanu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To elaborate, we got a colourful map service which is being used as a Basemap in our JavaScript based application. We got a new scenario where Basemap need to be shown also in Greyscale. We are exploring the possible and probably the best ways to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time being, we created an additional Greyscale map service. But don’t want to maintain 2 map services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: We are not looking for solutions based out of CSS based filters for browser.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 16:30:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-mapimagelayer/m-p/573600#M53600</guid>
      <dc:creator>Ranga_Tolapi</dc:creator>
      <dc:date>2020-05-04T16:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Extend MapImageLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-mapimagelayer/m-p/573601#M53601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tanu already explained how you can achieve this with the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html"&gt;MapImageLayer&lt;/A&gt;, which is to override the default renderer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take a look at this example: &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/layers-mapimagelayer-renderers/index.html"&gt;MapImageLayer - set renderer on sublayers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option is just to use a &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#basemap"&gt;light or dark gray vector basemap&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2020 18:07:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-mapimagelayer/m-p/573601#M53601</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2020-05-04T18:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Extend MapImageLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-mapimagelayer/m-p/573602#M53602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Our custom Basemap contains 500+ layers including group layers, made with all type of geometries (Point, Line, Polygon and Annotation) and complex symbology was used. Can I apply “only color” through rendering across all the layers at once for every request to the MapImageLayer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2020 01:10:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-mapimagelayer/m-p/573602#M53602</guid>
      <dc:creator>Ranga_Tolapi</dc:creator>
      <dc:date>2020-05-05T01:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Extend MapImageLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-mapimagelayer/m-p/1070200#M73550</link>
      <description>&lt;P&gt;It's perfectly feasible with ArcGIS API for JavaScript v4.18 (and above), need to use &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html#effect" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;effect&lt;/STRONG&gt;&lt;/A&gt;&amp;nbsp;property for &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-MapImageLayer.html" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;MapImageLayer&lt;/STRONG&gt;&lt;/A&gt;.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var layer = new MapImageLayer({
  url: "...",
  effect: "grayscale(100%)",
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jun 2021 14:21:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/extend-mapimagelayer/m-p/1070200#M73550</guid>
      <dc:creator>Ranga_Tolapi</dc:creator>
      <dc:date>2021-06-20T14:21:07Z</dc:date>
    </item>
  </channel>
</rss>

