The view has two buttons, which are bound to the viewmodel’s
StopCommand (see Listing 17.7).
GeoLocationView contains several
TextBlock elements that are bound to viewmodel properties.
Slider is bound to the viewmodel’s
SampleIntervalMs property, allowing the user to control the sample frequency. The sampling feature is explored later in the chapter.
A Windows Phone Toolkit
ToggleSwitch is bound to the viewmodel’s
UseMockLocator property and changes the
IGeoLocator implementation that is used during tracking.
<StackPanel Grid.Row="1" Margin="21,30,21,0"> <StackPanel ...