O'Reilly logo

Learning ArcGIS Runtime SDK for .NET by Ron Vincent

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Showing locations

If you are making a mapping app these days without providing the user the option to show their location, you've kind of missed the 21st century boat, so to speak. For years now, this has been a standard feature of Google and Apple's mapping technology. ArcGIS Runtime comes with everything you will need to display your current location and more:

Showing locations

Displays the current location

Let's look at the classes that you will need to use. First, LocationDisplay is a property of MapView. It contains everything you need to show the current location. Here's an example of how it is done:

<Window.Resources> <esri:SimpleMarkerSymbol x:Key="NotMovingMarkerSym" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required