AnsweredAssumed Answered

Annotation Layers in ArcGIS Runtime SDK for .NET

Question asked by JamieBurmeister on Mar 11, 2020
Latest reply on Apr 22, 2020 by MBranscomb-esristaff

I'm trying to add the following Esri.ArcGISRuntime.Mapping.AnnotationLayer to my Esri.ArcGISRuntime.Mapping.Map but I get a LoadError on Loaded.

 

Layer Source: https://maps.cern.ch/arcgis/rest/services/General/General/MapServer/45
Layer Type: Esri.ArcGISRuntime.Mapping.AnnotationLayer
Layer Display Name: Voirie_texte
Exception:

Esri.ArcGISRuntime.ArcGISRuntimeException: Invalid response    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()    at Adapt.Presentation.Esri.LayerConfigPersister.<ConfigureLayer>d__15.MoveNext() in C:\Users\Laura\RiderProjects\AdaptSource\src\Adapt.Presentation.WPF\Adapt\Presentation\ESRI\LayerConfigPersister.cs:line 120

 

Any and all help appreciated.

Outcomes