Book Image

Learning ArcGIS Runtime SDK for .NET

By : Ron Vincent
Book Image

Learning ArcGIS Runtime SDK for .NET

By: Ron Vincent

Overview of this book

ArcGIS is a geographic information system (GIS) that enables you to work with maps and geographic information. It can be used to create and utilize maps, compile geographic data, analyze mapped information, share and discover geographic information and manage geographic information in a database. This book starts by showing you where ArcGIS Runtime fits within Esri’s overall platform strategy. You'll create an initial map using the SDK, then use it to get an understanding of the MVVM model. You'll find out about the different kinds of layers and start adding layers, and you'll learn to transform maps into a 3D scene. The next chapters will help you comprehend and extract information contained in the maps using co-ordinates and layer objects. Towards the end, you will learn to set the symbology, decide whether to use 2D or 3D, see how to implement 2D or 3D, and learn to search and find objects. You'll also get to grips with many other standard features of the Application Programming Interface (API), including create applications and finally testing, licensing, and deploying them. Once completed, you will be able to meet most of the common requirements of any mapping application for desktop or mobile platforms.
Table of Contents (19 chapters)
Learning ArcGIS Runtime SDK for .NET
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
3
Maps and Layers
12
Configuring, Licensing, and Deploying
Index

MVVM Light to the rescue


If you search for MVVM in your favorite search engine, you will find that several MVVM libraries are available. Microsoft originally developed one library called Prism. Since then, several other libraries have come along, such as Unity, Caliburn, Micro, and MVVM Light. It is highly recommended that you evaluate all of them to find one that suits your team and project. In this book, we're going to use MVVM Light because, as the name implies, it's a lightweight version of the full implementation of the MVVM pattern. It also can be applied to Windows Store and Windows Phone.

Let's rebuild the app again, but this time with MVVM Light. Create a new ArcGIS Runtime app as you've done before. In the following steps, the app is called Chapter2a:

  1. Using NuGet, install MVVM Light in your new project. Right-click on the project and click on Manage NuGet Packages. In the search box in the upper-right corner of the window, type mvvmlight, as shown here:

  2. Click on MVVM Light, and then...