Clear All Map Selections

296
1
Jump to solution
11-30-2017 06:41 AM
Highlighted
by
Occasional Contributor II

I can't seem to find the simple logic to clear all map selections?  Am I missing something here?

Reply
0 Kudos
1 Solution

Accepted Solutions
Highlighted
by
Occasional Contributor II

Nevermind.  I thought there would be a command, but i just did this

return QueuedTask.Run(() =>
                {
                    if (MapView.Active != null && MapView.Active.Map != null)
                    {    
                    MapView.Active.Map.SetSelection(null);
                    }

                };

View solution in original post

1 Reply
Highlighted
by
Occasional Contributor II

Nevermind.  I thought there would be a command, but i just did this

return QueuedTask.Run(() =>
                {
                    if (MapView.Active != null && MapView.Active.Map != null)
                    {    
                    MapView.Active.Map.SetSelection(null);
                    }

                };

View solution in original post