File GPS Layer Code

This sample demonstrates how to use the FileGpsCoordinateWatcher to playback NMEA sentences from a log file to show a location on a map using code.

Download Sample Application
XAML C# VB.NET
<UserControl x:Class="ArcGISWPFSDK.FileGpsLayerCodebehind"
             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="MyMap">
            <esri:ArcGISLocalTiledLayer ID="localTiledLayer" Path="..\Data\TPKs\Campus.tpk"/>
        </esri:Map>
    </Grid>
</UserControl>

Sample code usage restrictions
5/16/2014