Simple GPS Layer

This sample demonstrates how to use the ArcGIS Runtime SDK for WPF to leverage the Microsoft Location API and the GpsLayer to show your location on a map.

Note: This sample requires Microsoft .Net 4.0 or higher on the Windows 7 operating system and a location provider, such as a GPS device. For more information please see http://msdn.microsoft.com/en-us/library/windows/desktop/dd317661(v=VS.85).aspx and http://msdn.microsoft.com/en-us/library/ee426011.aspx

Download Sample Application
XAML C# VB.NET
<UserControl x:Class="ArcGISWPFSDK.SimpleGpsLayer"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:esri="http://schemas.esri.com/arcgis/client/2009">
    <Grid>
        <esri:Map x:Name="_mapControl">
            <esri:ArcGISTiledMapServiceLayer ID="arcGISTiledMapServiceLayer" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" />
            <esri:GpsLayer x:Name="_gpsLayer" ID="gpsLayer" PositionChanged="GpsLayer_PositionChanged"/>
        </esri:Map>
    </Grid>
</UserControl>

Sample code usage restrictions
5/16/2014