<?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: WPF - Adding markers to Operational Layers using data from database rather than service in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/wpf-adding-markers-to-operational-layers-using/m-p/1657362#M13730</link>
    <description>&lt;P&gt;Thanks for the response Nicholas,&lt;/P&gt;&lt;P&gt;The current solution I have uses the Graphics Overlay functionality already, and I've implemented my own custom clustering with it before clustering officially came out for ArcGIS. It's quite a hacky solution and has its problems. That's why I ideally want to use the official ArcGIS clustering using the operational layers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to use the official ArcGIS clustering on a graphics overlay? If so, could you point me to a sample?&lt;/P&gt;&lt;P&gt;Thanks Nicholas&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Oct 2025 12:02:47 GMT</pubDate>
    <dc:creator>Kaju</dc:creator>
    <dc:date>2025-10-13T12:02:47Z</dc:date>
    <item>
      <title>WPF - Adding markers to Operational Layers using data from database rather than service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/wpf-adding-markers-to-operational-layers-using/m-p/1657123#M13727</link>
      <description>&lt;P&gt;I want to create markers on my map from a list containing C# objects with latitude and longitude properties, something similar to the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;class Marker
{
  public int Long { get; set; }
  public int Lat { get; set; }
}

List&amp;lt;Marker&amp;gt; markers = databaseConnection.GetAllMarkers();

// Create Layer from markers
var layer = GetMarkerLayer(markers);

MapView.Map.OperationalLayers.Add(layer);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These markers need to be in a feature inside the "operationalLayers" list as I want to do clustering with them.&lt;/P&gt;&lt;P&gt;From my research, it seems like this is only possible by getting the data from a URL or some kind of service, but I want this functionality to be completely offline and mutable.&lt;/P&gt;&lt;P&gt;Is this possible?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 15:23:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/wpf-adding-markers-to-operational-layers-using/m-p/1657123#M13727</guid>
      <dc:creator>Kaju</dc:creator>
      <dc:date>2025-10-10T15:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: WPF - Adding markers to Operational Layers using data from database rather than service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/wpf-adding-markers-to-operational-layers-using/m-p/1657163#M13728</link>
      <description>&lt;P&gt;The simplest way to do this is to add Graphics to a Graphics Overlay.&lt;/P&gt;&lt;P&gt;See this sample:&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/wpf/sample-code/add-graphics-with-renderer/" target="_blank"&gt;https://developers.arcgis.com/net/wpf/sample-code/add-graphics-with-renderer/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Look at the MakePointGraphicsOverlay() method.&lt;/P&gt;&lt;P&gt;A Graphic combines a geometry (in this case point) and optionally attributes, and can provide a symbol to determine what it will look like on the map (although you can optionally define a renderer on the Graphics Overlay to provide the symbol, which is what this sample does).&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2025 17:49:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/wpf-adding-markers-to-operational-layers-using/m-p/1657163#M13728</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2025-10-10T17:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: WPF - Adding markers to Operational Layers using data from database rather than service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/wpf-adding-markers-to-operational-layers-using/m-p/1657362#M13730</link>
      <description>&lt;P&gt;Thanks for the response Nicholas,&lt;/P&gt;&lt;P&gt;The current solution I have uses the Graphics Overlay functionality already, and I've implemented my own custom clustering with it before clustering officially came out for ArcGIS. It's quite a hacky solution and has its problems. That's why I ideally want to use the official ArcGIS clustering using the operational layers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to use the official ArcGIS clustering on a graphics overlay? If so, could you point me to a sample?&lt;/P&gt;&lt;P&gt;Thanks Nicholas&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 12:02:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/wpf-adding-markers-to-operational-layers-using/m-p/1657362#M13730</guid>
      <dc:creator>Kaju</dc:creator>
      <dc:date>2025-10-13T12:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: WPF - Adding markers to Operational Layers using data from database rather than service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/wpf-adding-markers-to-operational-layers-using/m-p/1657431#M13732</link>
      <description>&lt;P&gt;Take a look at &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Mapping.FeatureCollectionLayer.-ctor.html" target="_self"&gt;FeatureCollectionLayer&lt;/A&gt; / &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.FeatureCollection.html" target="_self"&gt;FeatureCollection&lt;/A&gt; for in-memory feature tables as well as just creating your own on on-disk Geodatabase using &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.Geodatabase.CreateAsync.html#Esri_ArcGISRuntime_Data_Geodatabase_CreateAsync_System_String_" target="_self"&gt;Geodatabase.Create&lt;/A&gt;&amp;nbsp;and &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.Geodatabase.CreateTableAsync.html" target="_self"&gt;CreateTableAsync&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;This will allow you to store data in feature tables that you can render using a feature layer and apply cluster rendering to using the &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Mapping.FeatureLayer.FeatureReduction.html" target="_self"&gt;FeatureReduction property&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Having said that, &lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.UI.GraphicsOverlay.FeatureReduction.html" target="_self"&gt;GraphicsOverlay also supports FeatureReduction&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 15:22:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/wpf-adding-markers-to-operational-layers-using/m-p/1657431#M13732</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2025-10-13T15:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: WPF - Adding markers to Operational Layers using data from database rather than service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/wpf-adding-markers-to-operational-layers-using/m-p/1657484#M13734</link>
      <description>&lt;P&gt;Feature Collections are also a great solution, and mean you can put your data anywhere in the operational layers stack (rather than drawn above it, as the graphics overlays are).&lt;BR /&gt;&lt;BR /&gt;Just a couple of things to bear in mind:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;While you can initially populate a FeatureCollectionTable at the Lite license level &lt;A href="https://developers.arcgis.com/net/api-reference/api/netwin/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.FeatureCollectionTable.-ctor.html" target="_self"&gt;using one of these constructors&lt;/A&gt;, making subsequent &lt;EM&gt;changes&lt;/EM&gt; to those features (adding, editing, or deleting features) uses the editing APIs, which will require a Basic license.&lt;/LI&gt;&lt;LI&gt;FeatureCollectionTables are schema-based, defining the fields expected for each feature, whereas GraphicsOverlays don't require that. This could be a good thing or not.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But as Morten mentioned, clustering is supported on Graphics Overlay for point graphics, so perhaps that'll provide what you need.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 18:45:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/wpf-adding-markers-to-operational-layers-using/m-p/1657484#M13734</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2025-10-13T18:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: WPF - Adding markers to Operational Layers using data from database rather than service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/wpf-adding-markers-to-operational-layers-using/m-p/1657717#M13738</link>
      <description>&lt;P&gt;Thanks for your help Nicholas,&lt;/P&gt;&lt;P&gt;You mentioned I'd need a basic license for working with &lt;SPAN&gt;Feature Collections and I'm wondering if I'd need a license for the graphics overlay method of implementing feature reduction.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 15:29:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/wpf-adding-markers-to-operational-layers-using/m-p/1657717#M13738</guid>
      <dc:creator>Kaju</dc:creator>
      <dc:date>2025-10-14T15:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: WPF - Adding markers to Operational Layers using data from database rather than service</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/wpf-adding-markers-to-operational-layers-using/m-p/1657720#M13739</link>
      <description>&lt;P&gt;A Lite license is all you'll need (it's free).&lt;/P&gt;&lt;P&gt;While you're developing you typically don't use a license, and you see the "Licensed for developer use only" watermark on your map. When it comes time to deploy, you need to use a license. You can learn more here:&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/license-and-deployment/" target="_blank"&gt;https://developers.arcgis.com/net/license-and-deployment/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 15:44:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/wpf-adding-markers-to-operational-layers-using/m-p/1657720#M13739</guid>
      <dc:creator>Nicholas-Furness</dc:creator>
      <dc:date>2025-10-14T15:44:32Z</dc:date>
    </item>
  </channel>
</rss>

