<?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: Can PictureMarkerSymbol will be able to load image from Base64 string content instead of url? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-picturemarkersymbol-will-be-able-to-load-image/m-p/537308#M50089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found resolution, we can pass the data type (image) and format(png;base64) to the url property.&lt;/P&gt;&lt;DIV style="color: #c5c8c6; background-color: #1e1e1e; font-weight: normal; font-size: 16px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9872a2;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #6089b4;"&gt;weatherSymbol&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #676867;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; type: &lt;/SPAN&gt;&lt;SPAN style="color: #9aa83a;"&gt;'picture-marker'&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; url: &lt;/SPAN&gt;&lt;SPAN style="color: #9aa83a;"&gt;"data:image/png;base64,"&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #676867;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #6089b4;"&gt;base64ImageString&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; contentType: &lt;/SPAN&gt;&lt;SPAN style="color: #9aa83a;"&gt;'image/png'&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; width: &lt;/SPAN&gt;&lt;SPAN style="color: #9aa83a;"&gt;'32px'&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; height: &lt;/SPAN&gt;&lt;SPAN style="color: #9aa83a;"&gt;'32px'&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; xoffset: &lt;/SPAN&gt;&lt;SPAN style="color: #676867;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #6089b4;"&gt;10&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; yoffset: &lt;/SPAN&gt;&lt;SPAN style="color: #6089b4;"&gt;24&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; };&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2018 22:03:40 GMT</pubDate>
    <dc:creator>UmeshManilal</dc:creator>
    <dc:date>2018-03-20T22:03:40Z</dc:date>
    <item>
      <title>Can PictureMarkerSymbol will be able to load image from Base64 string content instead of url?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-picturemarkersymbol-will-be-able-to-load-image/m-p/537307#M50088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV style="color: #c5c8c6; background-color: #1e1e1e; font-weight: normal; font-size: 16px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #9872a2;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #6089b4;"&gt;weatherSymbol&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #676867;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; type: &lt;/SPAN&gt;&lt;SPAN style="color: #9aa83a;"&gt;'picture-marker'&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; url: &lt;/SPAN&gt;&lt;SPAN style="color: #6089b4;"&gt;base64StringConent&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; contentType: &lt;/SPAN&gt;&lt;SPAN style="color: #9aa83a;"&gt;'image/png'&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; width: &lt;/SPAN&gt;&lt;SPAN style="color: #9aa83a;"&gt;'32px'&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; height: &lt;/SPAN&gt;&lt;SPAN style="color: #9aa83a;"&gt;'32px'&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; yoffset: &lt;/SPAN&gt;&lt;SPAN style="color: #9aa83a;"&gt;'24px'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; };&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt;Here my requirement is to load images which are received from back-end services (say REST service). Which will receive a base64 decoded string. Can we encode this value and assign to PictureMarkerSymbol for dynamic image generation?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 18:07:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-picturemarkersymbol-will-be-able-to-load-image/m-p/537307#M50088</guid>
      <dc:creator>UmeshManilal</dc:creator>
      <dc:date>2018-03-20T18:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can PictureMarkerSymbol will be able to load image from Base64 string content instead of url?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-picturemarkersymbol-will-be-able-to-load-image/m-p/537308#M50089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found resolution, we can pass the data type (image) and format(png;base64) to the url property.&lt;/P&gt;&lt;DIV style="color: #c5c8c6; background-color: #1e1e1e; font-weight: normal; font-size: 16px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #9872a2;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #6089b4;"&gt;weatherSymbol&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #676867;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; type: &lt;/SPAN&gt;&lt;SPAN style="color: #9aa83a;"&gt;'picture-marker'&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; url: &lt;/SPAN&gt;&lt;SPAN style="color: #9aa83a;"&gt;"data:image/png;base64,"&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #676867;"&gt;+&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #6089b4;"&gt;base64ImageString&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; contentType: &lt;/SPAN&gt;&lt;SPAN style="color: #9aa83a;"&gt;'image/png'&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; width: &lt;/SPAN&gt;&lt;SPAN style="color: #9aa83a;"&gt;'32px'&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; height: &lt;/SPAN&gt;&lt;SPAN style="color: #9aa83a;"&gt;'32px'&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; xoffset: &lt;/SPAN&gt;&lt;SPAN style="color: #676867;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #6089b4;"&gt;10&lt;/SPAN&gt;&lt;SPAN style="color: #c5c8c6;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; yoffset: &lt;/SPAN&gt;&lt;SPAN style="color: #6089b4;"&gt;24&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #c5c8c6;"&gt; };&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2018 22:03:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-picturemarkersymbol-will-be-able-to-load-image/m-p/537308#M50089</guid>
      <dc:creator>UmeshManilal</dc:creator>
      <dc:date>2018-03-20T22:03:40Z</dc:date>
    </item>
  </channel>
</rss>

