Create FeatureLayer with offline data

364
2
Jump to solution
01-29-2024 04:06 AM
Labels (1)
Kristian
New Contributor

I'd like to use the Clustering Feature Reduction for a bunch of MapPoints. The data is not in a portal or geodatabase and I'm struggling to see how I can create a FeatureLayer with this data (since a FeatureLayer is a requirement for using the FeatureReduction tool). There is an example for javascript which gives this capability here. I do not see how to achieve this in .NET as the FeatureTable is abstract. So, anyone able to suggest a way of creating a FeatureLayer from data in an arbitrary model, rather than data from a portal or geodatabase? Thanks.

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
MichaelBranscomb
Esri Frequent Contributor

In the Native Maps SDKs you have a couple of options, depending on whether / how you want to persist the layer. 

View solution in original post

2 Replies
MichaelBranscomb
Esri Frequent Contributor

In the Native Maps SDKs you have a couple of options, depending on whether / how you want to persist the layer. 

Kristian
New Contributor

Thanks Michael - the FeatureCollectionLayer sample is what I'm after 🙂

0 Kudos