<?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 How to add only points to a feature collection layer?? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-add-only-points-to-a-feature-collection/m-p/386468#M4557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a &lt;STRONG&gt;FeatureCollectionTable&amp;nbsp;&lt;/STRONG&gt;for multi points , when i am trying to add &lt;STRONG&gt;FeatureCollectionLayer&amp;nbsp;&lt;/STRONG&gt;to map, then it gives me an Null Reference Exception (Object reference not set to an instance of object) ?? Why is it so ??&lt;/P&gt;&lt;P&gt;But if i create feature for points , line and polygon also then the application runs fine ?? I am not able to understand this issue. If in case my features are only point features then what is the need to add other features to map ??&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/406456_error.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2018 12:27:31 GMT</pubDate>
    <dc:creator>VijitWadhwa</dc:creator>
    <dc:date>2018-05-16T12:27:31Z</dc:date>
    <item>
      <title>How to add only points to a feature collection layer??</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-add-only-points-to-a-feature-collection/m-p/386468#M4557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I created a &lt;STRONG&gt;FeatureCollectionTable&amp;nbsp;&lt;/STRONG&gt;for multi points , when i am trying to add &lt;STRONG&gt;FeatureCollectionLayer&amp;nbsp;&lt;/STRONG&gt;to map, then it gives me an Null Reference Exception (Object reference not set to an instance of object) ?? Why is it so ??&lt;/P&gt;&lt;P&gt;But if i create feature for points , line and polygon also then the application runs fine ?? I am not able to understand this issue. If in case my features are only point features then what is the need to add other features to map ??&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/406456_error.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 12:27:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-add-only-points-to-a-feature-collection/m-p/386468#M4557</guid>
      <dc:creator>VijitWadhwa</dc:creator>
      <dc:date>2018-05-16T12:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to add only points to a feature collection layer??</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-add-only-points-to-a-feature-collection/m-p/386469#M4558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you able to share the full snippet of code you're using to create the FeatureCollectionTable and FeatureCollectionLayer?&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;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2018 18:46:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-add-only-points-to-a-feature-collection/m-p/386469#M4558</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2018-05-16T18:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to add only points to a feature collection layer??</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-add-only-points-to-a-feature-collection/m-p/386470#M4559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;I am sharing the two images , each image has a method which i am using , the first image has a method named addMultiPoints() and the second mehtod is CreateRenderer().&lt;/P&gt;&lt;P&gt;The exception comes at the last line of first method i.e addMultiPoints() , but when i create all features i.e Point , Polygon and Line , then the application runs fine. My requirement is to add only one feature.&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/406782_multipoints.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the second image is&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/406783_renderer.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 May 2018 04:30:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-add-only-points-to-a-feature-collection/m-p/386470#M4559</guid>
      <dc:creator>VijitWadhwa</dc:creator>
      <dc:date>2018-05-17T04:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to add only points to a feature collection layer??</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-add-only-points-to-a-feature-collection/m-p/386471#M4560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Sir as per your request, I posted the complete code , Kindly go through it once and help me solving the issue? Thanks in advance &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2018 08:53:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-add-only-points-to-a-feature-collection/m-p/386471#M4560</guid>
      <dc:creator>VijitWadhwa</dc:creator>
      <dc:date>2018-05-21T08:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to add only points to a feature collection layer??</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/how-to-add-only-points-to-a-feature-collection/m-p/386472#M4561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please create a project and zip it up? There's still code missing. The exception seems to indicate your exception happens on the mapView.Map but I don't see any reference to how that is all set up. The best thing is to create a small sample project that reproduces that error and share it with us.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2018 18:14:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/how-to-add-only-points-to-a-feature-collection/m-p/386472#M4561</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2018-05-22T18:14:30Z</dc:date>
    </item>
  </channel>
</rss>

