<?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: How to animate symbols (PictureMarkerSymbol in my example) using css. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-animate-symbols-picturemarkersymbol-in-my/m-p/75963#M6918</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the answer. I will definitly check it out.&lt;/P&gt;&lt;P&gt;I use 4.7 api and I can't find&amp;nbsp;&lt;/P&gt;&lt;PRE class="" style="color: #000000; background-color: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;SimpleRenderer.createSubclass&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;method in the documentation:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-SimpleRenderer.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-SimpleRenderer.html"&gt;SimpleRenderer | API Reference | ArcGIS API for JavaScript 4.7&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does it work for you? &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2018 12:23:15 GMT</pubDate>
    <dc:creator>deleted-user-OOe4JK-9Abnm</dc:creator>
    <dc:date>2018-05-22T12:23:15Z</dc:date>
    <item>
      <title>How to animate symbols (PictureMarkerSymbol in my example) using css.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-animate-symbols-picturemarkersymbol-in-my/m-p/75960#M6915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to make some animations on PictureMakerSymbol which is SVG-image. But I can not find any way to add css-class to the symbol. I use 4.7 api version. I expected that it would be a parameter in the symbol definition like "className". In addition to this I build a React solution and it is not so trivial to get access to the dom-node of the symbol. I found very little info about animations for js-api. I think animations is one of the key functionality which make maps more productive and fun to use.&amp;nbsp; I would appreciate any answer around this theme.&amp;nbsp;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #333333; background-color: #fdf6e3; font-weight: normal; font-size: 12px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #073642; font-weight: bold;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;symbol&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #859900;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #859900;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;PictureMarkerSymbol&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; url: &lt;/SPAN&gt;&lt;SPAN style="color: #268bd2;"&gt;image&lt;/SPAN&gt;&lt;SPAN style="color: #333333;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt;className: 'myStyle'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #333333;"&gt; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 May 2018 13:59:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-animate-symbols-picturemarkersymbol-in-my/m-p/75960#M6915</guid>
      <dc:creator>deleted-user-OOe4JK-9Abnm</dc:creator>
      <dc:date>2018-05-15T13:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to animate symbols (PictureMarkerSymbol in my example) using css.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-animate-symbols-picturemarkersymbol-in-my/m-p/75961#M6916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a related question:&amp;nbsp;&lt;A href="https://community.esri.com/thread/66487"&gt;https://community.esri.com/thread/66487&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No answer either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 06:20:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-animate-symbols-picturemarkersymbol-in-my/m-p/75961#M6916</guid>
      <dc:creator>deleted-user-OOe4JK-9Abnm</dc:creator>
      <dc:date>2018-05-16T06:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to animate symbols (PictureMarkerSymbol in my example) using css.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-animate-symbols-picturemarkersymbol-in-my/m-p/75962#M6917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might try subclassing the PictureMarkerSymbol, you might be able to change the class or animations there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to make a custom renderer that would display any symbol. This&amp;nbsp;was my solution.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/192639"&gt;Custom SimpleRenderer JS 4.3&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 13:06:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-animate-symbols-picturemarkersymbol-in-my/m-p/75962#M6917</guid>
      <dc:creator>JordanBaumgardner</dc:creator>
      <dc:date>2018-05-16T13:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to animate symbols (PictureMarkerSymbol in my example) using css.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-animate-symbols-picturemarkersymbol-in-my/m-p/75963#M6918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the answer. I will definitly check it out.&lt;/P&gt;&lt;P&gt;I use 4.7 api and I can't find&amp;nbsp;&lt;/P&gt;&lt;PRE class="" style="color: #000000; background-color: #f5f2f0; border: 0px; margin: 0.5em 0px; padding: 1em 1em 1em 3.8em;"&gt;&lt;CODE style="border: 0px; font-weight: inherit;"&gt;SimpleRenderer.createSubclass&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;method in the documentation:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-SimpleRenderer.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-SimpleRenderer.html"&gt;SimpleRenderer | API Reference | ArcGIS API for JavaScript 4.7&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How does it work for you? &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 12:23:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-animate-symbols-picturemarkersymbol-in-my/m-p/75963#M6918</guid>
      <dc:creator>deleted-user-OOe4JK-9Abnm</dc:creator>
      <dc:date>2018-05-22T12:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to animate symbols (PictureMarkerSymbol in my example) using css.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-animate-symbols-picturemarkersymbol-in-my/m-p/75964#M6919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ya, that is not really clear. It's Object Oriented JS - So some objects inherit all the properties and methods of its base class and it's parents base class, and so on. So.... Way way back is Accessor. [&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Accessor.html"&gt;Accessor | API Reference | ArcGIS API for JavaScript 4.7&lt;/A&gt;&amp;nbsp; ]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This gives each class the ability to create a copy of its code, with that copy you can overwrite any method you wish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I needed to change the symbology to Any Color/Size/Outline the user wanted - So I createSubclass and overwrote its "&lt;SPAN style="background-color: #ffffff;"&gt;getSymbol" method. I'm thinking you can do the same but instead of changing color and style, you could insert some CSS to or an animated SVG. Either way, you could place a hook on it that you could use the DOM to look for later after render.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;community.esri.com/thread/192639-custom-simplerenderer-js-43&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Hope that helps&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 13:43:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-animate-symbols-picturemarkersymbol-in-my/m-p/75964#M6919</guid>
      <dc:creator>JordanBaumgardner</dc:creator>
      <dc:date>2018-05-22T13:43:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to animate symbols (PictureMarkerSymbol in my example) using css.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-animate-symbols-picturemarkersymbol-in-my/m-p/75965#M6920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Jordan!&lt;/P&gt;&lt;P&gt;I will check it out &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 09:06:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-animate-symbols-picturemarkersymbol-in-my/m-p/75965#M6920</guid>
      <dc:creator>deleted-user-OOe4JK-9Abnm</dc:creator>
      <dc:date>2018-05-30T09:06:56Z</dc:date>
    </item>
  </channel>
</rss>

