<?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 Construction Legend from AGOL Feature Service in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/construction-legend-from-agol-feature-service/m-p/1559388#M86080</link>
    <description>&lt;P&gt;I'm trying to create images from a Feature Service to put in the legend of a web mapping application.&lt;/P&gt;&lt;P&gt;Since there are no 'legend' endpoints for those I need to render these images from the layer's 'drawing info'.&lt;/P&gt;&lt;P&gt;I cannot use the Legend widget since it is a custom application.&lt;/P&gt;&lt;P&gt;In JS 3.x one can use dojo/gfx to create a symbol based on the drawing info, but I don't know what's available in 4.x?&lt;/P&gt;&lt;P&gt;Any advice is appreciated.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:04:45 GMT</pubDate>
    <dc:creator>MichaelWen_Timmons</dc:creator>
    <dc:date>2024-11-15T22:04:45Z</dc:date>
    <item>
      <title>Construction Legend from AGOL Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/construction-legend-from-agol-feature-service/m-p/1559388#M86080</link>
      <description>&lt;P&gt;I'm trying to create images from a Feature Service to put in the legend of a web mapping application.&lt;/P&gt;&lt;P&gt;Since there are no 'legend' endpoints for those I need to render these images from the layer's 'drawing info'.&lt;/P&gt;&lt;P&gt;I cannot use the Legend widget since it is a custom application.&lt;/P&gt;&lt;P&gt;In JS 3.x one can use dojo/gfx to create a symbol based on the drawing info, but I don't know what's available in 4.x?&lt;/P&gt;&lt;P&gt;Any advice is appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:04:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/construction-legend-from-agol-feature-service/m-p/1559388#M86080</guid>
      <dc:creator>MichaelWen_Timmons</dc:creator>
      <dc:date>2024-11-15T22:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Construction Legend from AGOL Feature Service</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/construction-legend-from-agol-feature-service/m-p/1559406#M86081</link>
      <description>&lt;P&gt;You can use symbolUtils to help you out here.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-support-symbolUtils.html" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-support-symbolUtils.html&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const symbol = await getDisplayedSymbol(graphic);
const previewElement = await renderPreviewHTML(symbol, options);&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:30:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/construction-legend-from-agol-feature-service/m-p/1559406#M86081</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2024-11-15T22:30:57Z</dc:date>
    </item>
  </channel>
</rss>

