Select to view content in your preferred language

Create a feature layer from GeoJSON data

464
0
03-25-2022 05:45 AM
AndréGrce
Emerging Contributor

// Create a feature layer to display the shapefile
FeatureLayer newFeatureLayer = new FeatureLayer(featureTable);

// Add the feature layer to the map
MyMapView.Map.OperationalLayers.Add(newFeatureLayer);

How can i get featureTable to contain data from a geojson file so I can create a feature layer as above in c#?
I know I have to use a third party parser. So a code example would be nice.

0 Kudos
0 Replies