<?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: Do graphics layers support the time extent property on the mapview. If so, how do i define the individual graphics time extent, or start/end. in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/do-graphics-layers-support-the-time-extent/m-p/419861#M5052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. I will give this a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Nov 2014 20:57:20 GMT</pubDate>
    <dc:creator>vincentvassallo</dc:creator>
    <dc:date>2014-11-18T20:57:20Z</dc:date>
    <item>
      <title>Do graphics layers support the time extent property on the mapview. If so, how do i define the individual graphics time extent, or start/end.</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/do-graphics-layers-support-the-time-extent/m-p/419859#M5050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm coming from the WPF sdk where you defined the time extent on the map and layers and then each individual graphic had a TimeExtent property to set. This doesn't exist in the .net sdk, do I set attributes to the TimeExtent? If so how do I define what attribute I am using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vincent Vassallo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 19:55:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/do-graphics-layers-support-the-time-extent/m-p/419859#M5050</guid>
      <dc:creator>vincentvassallo</dc:creator>
      <dc:date>2014-11-18T19:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Do graphics layers support the time extent property on the mapview. If so, how do i define the individual graphics time extent, or start/end.</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/do-graphics-layers-support-the-time-extent/m-p/419860#M5051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This approach in the .NET Runtime is by subclassing GraphicsLayer and defining what attributes controls the start/end times of the graphics.&lt;/P&gt;&lt;P&gt;In the subclass you will need to override the 'OnInitializeGraphicsLayerRequestedAsync' method, and return a 'GraphicsLayerInitializationInfo' object with the fields set for TimeStartField and TimeEndField.&lt;/P&gt;&lt;P&gt;You don't need to set a time extent on the graphics - The two attribute fields specified in the initialize method are automatically pulling it out from the graphics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;

 public class MyTimeGraphicsLayer : GraphicsLayer
 {
&amp;nbsp; protected override Task&amp;lt;GraphicsLayerInitializationInfo&amp;gt; OnInitializeGraphicsLayerRequestedAsync()
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; return Task.FromResult(
&amp;nbsp;&amp;nbsp;&amp;nbsp; new GraphicsLayerInitializationInfo() { TimeStartField = "Start", TimeEndField = "End" }
&amp;nbsp;&amp;nbsp;&amp;nbsp; );
&amp;nbsp; }
 }


&lt;/PRE&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;




&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 18:58:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/do-graphics-layers-support-the-time-extent/m-p/419860#M5051</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2021-12-11T18:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: Do graphics layers support the time extent property on the mapview. If so, how do i define the individual graphics time extent, or start/end.</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/do-graphics-layers-support-the-time-extent/m-p/419861#M5052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. I will give this a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Nov 2014 20:57:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/do-graphics-layers-support-the-time-extent/m-p/419861#M5052</guid>
      <dc:creator>vincentvassallo</dc:creator>
      <dc:date>2014-11-18T20:57:20Z</dc:date>
    </item>
  </channel>
</rss>

