.Net Runtime Tutorial Errors

945
2
12-07-2016 10:10 PM
DennisGeasan
Occasional Contributor II

For other newbies to .Net Runtime working thru the tutorials.

Tutorial  Author, edit, and save maps to your portal—ArcGIS Runtime SDK for .NET | ArcGIS for Developers 

1) At the end of the XAML GRID block that lays out the text boxes:

   change <esri:MapView Map="{Binding Map, Source={StaticResource MapViewModel}}" Grid.Column="1"/>

 to 

<esri:MapView x:Name="MyMapView" Map="{Binding Map, Source={StaticResource MapViewModel}}" Grid.Column="1"/>

2) For method "OnSaveMapClick" in MainWindow.xaml.cs the 'catch' section is buggered.  Should be:

MessageBox.Show("Error while saving: " + ex.Message);

DG

Tags (1)
0 Kudos
2 Replies
dotMorten_esri
Esri Frequent Contributor

Thank you! We'll get that fixed

0 Kudos
ThadTilton
Esri Contributor

Thanks Dennis!

I've made those fixes and should have the updates on-line soon. I've also added another (shorter!) tutorial about working with a variety of basemaps in your app  ... look for that soon.

You might also be interested in the series of blog posts I'm working on that steps through different facets of working with the ArcGIS platform. You'll find the first post here: Go from zero to app ...

Thanks again ... feel free to pass along any other problems you find (or suggestions).

0 Kudos