<?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: Make a pulse animation in AGSPictureGraphics in ArcGIS Runtime SDK for iOS Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/make-a-pulse-animation-in-agspicturegraphics/m-p/136856#M1275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to do this in android too?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jul 2017 11:33:25 GMT</pubDate>
    <dc:creator>chiragshah4</dc:creator>
    <dc:date>2017-07-18T11:33:25Z</dc:date>
    <item>
      <title>Make a pulse animation in AGSPictureGraphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/make-a-pulse-animation-in-agspicturegraphics/m-p/136854#M1273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Want pulse animation in agsgraphics in esri map ios&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jun 2017 14:33:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/make-a-pulse-animation-in-agspicturegraphics/m-p/136854#M1273</guid>
      <dc:creator>chiragshah4</dc:creator>
      <dc:date>2017-06-29T14:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: Make a pulse animation in AGSPictureGraphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/make-a-pulse-animation-in-agspicturegraphics/m-p/136855#M1274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your question! &amp;nbsp;While we don't have anything specific to "pulse" graphics in the API, you can accomplish this by setting up your own timer and changing one or more graphicsOverlay, graphics, or symbol properties when the timer fires. &amp;nbsp;Below are two examples: &amp;nbsp;the first one changes the opacity of the graphics overlay containing the graphic to pulse; the second one changes the size of the symbol associated with the graphic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6162688048001w320h240r894" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6162688048001" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6162688048001w320h240r894');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6162688048001"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6162688228001w320h240r228" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6162688228001" data-account="6161463677001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6161463677001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6162688228001w320h240r228');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.esri.com/t5/video/gallerypage/video-id/6162688228001"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code to create the timer is as follows:&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #0433ff;"&gt;var&lt;/SPAN&gt; timer = &lt;SPAN style="color: #3495af;"&gt;Timer()&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&lt;SPAN style="color: #3495af;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #3495af;"&gt;timer&lt;/SPAN&gt; = &lt;SPAN style="color: #3495af;"&gt;Timer&lt;/SPAN&gt;.&lt;SPAN style="color: #3495af;"&gt;scheduledTimer&lt;/SPAN&gt;(timeInterval: 0.02,&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; target:&lt;SPAN style="color: #0433ff;"&gt;self&lt;/SPAN&gt;,&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; selector: &lt;SPAN style="color: #0433ff;"&gt;#selector&lt;/SPAN&gt;(&lt;SPAN style="color: #3495af;"&gt;pulseGraphic&lt;/SPAN&gt;),&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; userInfo: &lt;SPAN style="color: #0433ff;"&gt;nil&lt;/SPAN&gt;,&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; repeats: &lt;SPAN style="color: #0433ff;"&gt;true&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the "pulseGraphic" method to adjust the overlay opacity:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #0433ff;"&gt;var&lt;/SPAN&gt; opacity: &lt;SPAN style="color: #3495af;"&gt;Float&lt;/SPAN&gt; = 0.0&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp; &lt;SPAN style="color: #0433ff;"&gt;var&lt;/SPAN&gt; goingDown: &lt;SPAN style="color: #3495af;"&gt;Bool&lt;/SPAN&gt; = &lt;SPAN style="color: #0433ff;"&gt;true&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp; &lt;SPAN style="color: #0433ff;"&gt;func&lt;/SPAN&gt; pulseGraphic() {&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN style="color: #3495af;"&gt;opacity&lt;/SPAN&gt; = &lt;SPAN style="color: #3495af;"&gt;opacity&lt;/SPAN&gt; + (&lt;SPAN style="color: #3495af;"&gt;goingDown&lt;/SPAN&gt; ? -0.01 : 0.01)&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN style="color: #0433ff;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #3495af;"&gt;opacity&lt;/SPAN&gt; &amp;lt; 0.25 {&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN style="color: #3495af;"&gt;goingDown&lt;/SPAN&gt; = &lt;SPAN style="color: #0433ff;"&gt;false&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN style="color: #0433ff;"&gt;else&lt;/SPAN&gt; &lt;SPAN style="color: #0433ff;"&gt;if&lt;/SPAN&gt; &lt;SPAN style="color: #3495af;"&gt;opacity&lt;/SPAN&gt; &amp;gt; 1.0 {&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN style="color: #3495af;"&gt;goingDown&lt;/SPAN&gt; = &lt;SPAN style="color: #0433ff;"&gt;true&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN style="color: #0433ff;"&gt;else&lt;/SPAN&gt; {&lt;/P&gt;&lt;P style="color: #3495af; background-color: #ffffff; font-size: 12px;"&gt;&lt;SPAN style="color: #000000;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;animationGraphicsOverlay&lt;SPAN style="color: #000000;"&gt;.&lt;/SPAN&gt;opacity&lt;SPAN style="color: #000000;"&gt; = &lt;/SPAN&gt;opacity&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 12px;"&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps. &amp;nbsp;If you have further questions, let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Jul 2017 16:07:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/make-a-pulse-animation-in-agspicturegraphics/m-p/136855#M1274</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2017-07-11T16:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Make a pulse animation in AGSPictureGraphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/make-a-pulse-animation-in-agspicturegraphics/m-p/136856#M1275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to do this in android too?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 11:33:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/make-a-pulse-animation-in-agspicturegraphics/m-p/136856#M1275</guid>
      <dc:creator>chiragshah4</dc:creator>
      <dc:date>2017-07-18T11:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Make a pulse animation in AGSPictureGraphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/make-a-pulse-animation-in-agspicturegraphics/m-p/136857#M1276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code to change the opacity of the graphics overlay and the size of the marker symbol will be similar on Android. &amp;nbsp;I'm not familiar enough with it to say if Android has a similar timer to iOS, but I image they do. &amp;nbsp;If you need more help with that, please post a question on the Runtime Android forum, here: &amp;nbsp;&lt;A href="https://community.esri.com/community/developers/native-app-developers/arcgis-runtime-sdk-for-android"&gt;https://community.esri.com/community/developers/native-app-developers/arcgis-runtime-sdk-for-android&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jul 2017 15:13:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/make-a-pulse-animation-in-agspicturegraphics/m-p/136857#M1276</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2017-07-18T15:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: Make a pulse animation in AGSPictureGraphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/make-a-pulse-animation-in-agspicturegraphics/m-p/136858#M1277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Mark. &amp;nbsp;I ripped a lot of the android sample off of your iOS sample above. &amp;nbsp;I gave you a shout-out in the Readme for my Android sample in GeoNet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Esri/developer-support/pull/309" title="https://github.com/Esri/developer-support/pull/309"&gt;Pulse Graphic Sample in Kotlin by nohe427 · Pull Request #309 · Esri/developer-support · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that is okay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 14:31:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/make-a-pulse-animation-in-agspicturegraphics/m-p/136858#M1277</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-07-20T14:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Make a pulse animation in AGSPictureGraphics</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/make-a-pulse-animation-in-agspicturegraphics/m-p/136859#M1278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No problem, that's cool with me. &amp;nbsp;Glad you could use the code!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 15:19:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-ios-questions/make-a-pulse-animation-in-agspicturegraphics/m-p/136859#M1278</guid>
      <dc:creator>MarkDostal</dc:creator>
      <dc:date>2017-07-20T15:19:02Z</dc:date>
    </item>
  </channel>
</rss>

