Isn't the System.Action Anonymous and takes 0 args?would we have to create a new delegate with a Graphic set as one of the args....??? I have been trying to get this to work for days now and still can't seem to get this thing going 😞
if (graphics.Count() > 0) foreach (Graphic g in graphics) GraphicLayer.GraphicsSource = graphics;
if (graphics.Count() > 0) GraphicLayer.GraphicsSource = graphics;
Dispatcher.CurrentDispatcher.Invoke((System.Action)(() =>
Dispatcher.CurrentDispatcher.Invoke((System.Action)((graphics) =>
Can you post the code that you are using to accomplish this? What error do you get when you attempt to use the Dispatcher?
I have tried to use Dispatcher object for the screen, the map object, the graphics layer but none seems to work for me.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.