I am trying to figure out ArcGIS Indoors. I don't want to worry about paths right now, I just want to be able to get a blue dot to pop up on a screen. I am working with the IndoorPositioning example in the ArcGIS Samples app (this is for .NET MAUI), and it throws an exception on this line:
FeatureLayer pathwaysFeatureLayer = MyMapView.Map.OperationalLayers.OfType<FeatureLayer>().Single(l => l.Name.Equals(PathwaysLayerName, StringComparison.InvariantCultureIgnoreCase));
The exception is InvalidOperationsException: Sequence contains no matching elements.
My Map does have a Pathways feature class, it's just empty (it has columns, but no rows). Is that why this is throwing the exception? And how can I get around this without having to go through the rigmarole of making paths?