I am experiencing an issue where features are not fully loading. Their geometry remains generalized.
Here is the code I am using (.net arcGISRuntime 100.9.0)
Uri serviceUri = new Uri(layerInfo.LayerUrl);
CenterlineFeatureLayer = new FeatureLayer(serviceUri);
await CenterlineFeatureLayer.LoadAsync();
Map.OperationalLayers.Add(CenterlineFeatureLayer);
This happens before the map is visible (it's in another tab of the application). When we view the map it looks like the attached snapshot, map-after-loadAsync.
Oddly, if I don't load the layer by commenting out line 3, the geometry seems to be fully loaded. This is a bit hard to demonstrate, but in snapshot Map-no-load, you can see one non-generalized feature. There are other features visible because we apply normally apply definition expression. But the unloaded features don't have the needed columns so the code applies a blank definition expression and nothing is filtered out.
A couple of more details: There should be tens of thousands of features in the service feature table. I seem to remember it only loading 1000 records at a time, so maybe its not loading the one I want to see? The features are all over north america, and we set the extent on the mapView after the feature is loaded -- the users selects a record on a different tab, then the map goes to corresponding feature in another tab (using MapView.SetViewpointGeometryAsync).
Is there a way to force the features in the mapView's current viewport to load? Do I have to do anything after setting the definition expression? In the examples I've seen, the code just sets the definition expression.