<?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 Getting Drawing Images (or URLs) for Non-Picture Marker Symbols in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-drawing-images-or-urls-for-non-picture/m-p/55977#M4911</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any way to make a request for a layer's drawing information and get back the actual image (or url) for a Simple Marker/Line/Polygon/etc symbol?&amp;nbsp; This is easily done for a Picture Marker because the url is returned but for any other type, only the marker information is returned.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to use this information to create a dynamic legend TOC so I would need some image to use unless there is a way to construct the graphic from the info and turn that into an image?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example.&amp;nbsp; This returns a nice image url to use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer/0?f=pjson"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer/0?f=pjson&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This, however, only returns the graphic information:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer/1?f=pjson"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer/1?f=pjson&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What request is sent while using the Template Picker?&amp;nbsp; That returns an image for Simple Symbols....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adam&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 May 2010 00:09:06 GMT</pubDate>
    <dc:creator>AdamPfister</dc:creator>
    <dc:date>2010-05-20T00:09:06Z</dc:date>
    <item>
      <title>Getting Drawing Images (or URLs) for Non-Picture Marker Symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-drawing-images-or-urls-for-non-picture/m-p/55977#M4911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is there any way to make a request for a layer's drawing information and get back the actual image (or url) for a Simple Marker/Line/Polygon/etc symbol?&amp;nbsp; This is easily done for a Picture Marker because the url is returned but for any other type, only the marker information is returned.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to use this information to create a dynamic legend TOC so I would need some image to use unless there is a way to construct the graphic from the info and turn that into an image?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example.&amp;nbsp; This returns a nice image url to use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer/0?f=pjson"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer/0?f=pjson&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This, however, only returns the graphic information:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer/1?f=pjson"&gt;http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Fire/Sheep/MapServer/1?f=pjson&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What request is sent while using the Template Picker?&amp;nbsp; That returns an image for Simple Symbols....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adam&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 May 2010 00:09:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-drawing-images-or-urls-for-non-picture/m-p/55977#M4911</guid>
      <dc:creator>AdamPfister</dc:creator>
      <dc:date>2010-05-20T00:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Drawing Images (or URLs) for Non-Picture Marker Symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-drawing-images-or-urls-for-non-picture/m-p/55978#M4912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you ever figure this out? I'm attempting something similar and not having much luck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 12:41:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-drawing-images-or-urls-for-non-picture/m-p/55978#M4912</guid>
      <dc:creator>ReneeMaxwell</dc:creator>
      <dc:date>2010-10-15T12:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Drawing Images (or URLs) for Non-Picture Marker Symbols</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-drawing-images-or-urls-for-non-picture/m-p/55979#M4913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I ended up using the &lt;/SPAN&gt;&lt;STRONG&gt;esri.symbol.getShapeDescriptors()&lt;/STRONG&gt;&lt;SPAN&gt; method.&amp;nbsp; I followed the sample code here, &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_symbol.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_symbol.htm&lt;/A&gt;&lt;SPAN&gt;, to get it working correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Oct 2010 13:26:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/getting-drawing-images-or-urls-for-non-picture/m-p/55979#M4913</guid>
      <dc:creator>AdamPfister</dc:creator>
      <dc:date>2010-10-15T13:26:18Z</dc:date>
    </item>
  </channel>
</rss>

