An early peek at the .NET Toolkit for ArcGIS Runtime SDK v100.0

17244
5
12-09-2016 03:20 PM
Labels (1)
dotMorten_esri
Esri Notable Contributor
4 5 17.2K

We're hard at work getting an updated toolkit for the new Runtime SDK out.

Even though we have some ways to go, we wanted to share the progress with you all, and provide you with an opportunity to try things out, give us feedback, or simply just use what's there.

We have an active branch going on Github that you can download and use today.All the source code is there, and is really easy to build and use:

https://github.com/Esri/arcgis-toolkit-dotnet/tree/v100

This includes a set of controls for WPF and UWP:

  • ChallengeHandler - (WPF only) Displays a UI dialog to enter or select credentials to use when accessing secure ArcGIS resources, as well as helper classes for storing credentials in Windows' credentials cache.
    • Compass - Shows a compass direction when the map is rotated. Auto-hides when the map points north up.
    • Legend - Displays a legend for a single layer in your map (and optionally for its sub layers).
    • ScaleLine - Displays current scale reference.
    • SymbolDisplay - Renders a symbol in a control.
    • TableOfContents (WPF)- Creates a tree-view of the entire map document. Optionally displays legend information for the layers as well.

    Please be aware that we might significantly refactor these controls, add more controls and helpers (or even remove some), so expect changes when you pull updated code from time to time. You can keep an eye on this Pull Request and monitor changes we're making.

    There's also a test app. It's not the prettiest (yet), and is mostly used to test the controls so far, but should help you get started. Further down the line we'll provide a proper sample app with documentation and various examples showcasing the use of these controls.

    What about Xamarin? It's on our roadmap, but we're first focusing on WPF, which in turn means we get UWP support almost for free.

    Feel free to comment below here to provide feedback etc.

    5 Comments
    SimonFisher
    Occasional Contributor II

    Hi Morten,


    I am wondering if the the TableOfContents control is coming soon for UWP?  I believe you said at the dev summit its already in the works?  Also, when is the toolkit expected to be out of beta? 

    Thanks
    Simon

    dotMorten_esri
    Esri Notable Contributor

    The ToC control relies on a TreeView control that UWP doesn't have yet. One is being added to the upcoming v1803, but it is currently too limited to use, and we are not ready to drop support for older UWP versions yet. So at this point, ToC is only planned for WPF in the near future. We might re-evaluate as the UWP TreeView control matures and we're moving the SDK version up.

    SimonFisher
    Occasional Contributor II

    Thanks Morten, that's unfortunate about the TreeView control for UWP.

    When do expect the toolkit to be out of Beta?

    Thanks again,
    Simon

    SimonFisher
    Occasional Contributor II

    Hi Morten,

    I'm wondering if there is any update on a TOC control for UWP in the toolkit?  Is it in the plans?  Or do you think its possible to extend the LayerLegend control to have checkboxes to control layer visibility?  

    Thanks
    Simon

    dotMorten_esri
    Esri Notable Contributor

    It is mainly due to the lack of a TreeView control in UWP 16299+. Yesterday a preview of the WinUI library was announced which adds it to older Win10 versions, so we might reconsider this, but it's still in preview and we can't really take a dependency on it yet. We'd also have to review it - last I looked the TreeView that was in the Preview SDKs of 17134 was insufficient, but after providing some feedback some of that has been addressed, but I haven't had a chance to see if enough has been addressed to actually use it.