C# 클래스 GPS.MainPage

상속: PhoneApplicationPage
파일 보기 프로젝트 열기: ProjPossibility/CSUN-MobileMapMagnifier

공개 메소드들

메소드 설명
ConvertLocation ( GeoCoordinate location ) : void
DrawACircle ( GeoCoordinate oLoc, double dRadius ) : LocationCollection
GetScreenSize ( ) : Size
MainPage ( ) : System
Navigate_To_Bookmarks ( ) : void
ReverseGeocodeAddress ( Dispatcher uiDispatcher, CredentialsProvider credentialsProvider, Location location, Action completed = null, Action error = null ) : void
ToRadian ( double x ) : double
drawCircle ( GeoCoordinate oLoc, double radius ) : LocationCollection
drawCircle ( GeoCoordinate oLoc, double radius, Color color ) : LocationCollection
drawCircle ( LocationCollection locations, Color color ) : void
drawLine ( LocationCollection points, Color color, int thickness ) : void
drawLine ( double X1, double Y1, double X2, double Y2, Color color, int thickness ) : void
getDistance ( GeoCoordinate start, GeoCoordinate end ) : double

보호된 메소드들

메소드 설명
OnNavigatedFrom ( System e ) : void
OnNavigatedTo ( System e ) : void

비공개 메소드들

메소드 설명
Alert_Click ( object sender, EventArgs e ) : void
Alert_Sound_MediaEnded ( object sender, RoutedEventArgs e ) : void
CalculateRouteByAddress ( String From, String To ) : void
CalculateRouteByLocation ( Location from, Location to ) : void
DeviceStatus_Click ( object sender, EventArgs e ) : void
FadeInOutAnimation ( ) : System.Windows.Media.Animation.Storyboard
FindMe_Click ( object sender, EventArgs e ) : void
HelpMe_Click ( object sender, RoutedEventArgs e ) : void
HelpMe_Hold ( object sender, System e ) : void
Help_Click ( object sender, EventArgs e ) : void
HighButtonClick ( object sender, EventArgs e ) : void

Click event handler for the high accuracy button

ImageToMap_Click ( object sender, RoutedEventArgs e ) : void
ImageToMap_Hold ( object sender, System e ) : void
Info_Click ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void
List_Click ( object sender, EventArgs e ) : void
LocationBookmarks_Click ( object sender, RoutedEventArgs e ) : void
LocationBookmarks_Hold ( object sender, System e ) : void
LowButtonClick ( object sender, EventArgs e ) : void

Click event handler for the low accuracy button

MainPage_BarMenuItem_Aerial_Click ( object sender, EventArgs e ) : void
MainPage_BarMenuItem_CarLocator_Click ( object sender, EventArgs e ) : void
Map_MapPan ( object sender, MapDragEventArgs e ) : void
Map_MapResolved ( object sender, EventArgs e ) : void
Map_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
MenuItem_CarLocation_Click ( object sender, RoutedEventArgs e ) : void
MenuItem_Destination_Click ( object sender, RoutedEventArgs e ) : void
MenuItem_StartLocation_Click ( object sender, RoutedEventArgs e ) : void
NotifyPropertyChanged ( string propertyName ) : void
OnTimerTick ( object sender, EventArgs e ) : void
Pushpin_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
SelectColor ( string type ) : Color
Settings_Click ( object sender, EventArgs e ) : void
Share_Click ( object sender, EventArgs e ) : void
StartLocationService ( GeoPositionAccuracy accuracy ) : void

Helper method to start up the location data acquisition

StopButtonClick ( object sender, EventArgs e ) : void
TakeMeHome_Click ( object sender, RoutedEventArgs e ) : void
TakeMeHome_Hold ( object sender, System e ) : void
Test_Click ( object sender, EventArgs e ) : void
TransitionElement ( string family, string mode ) : TransitionElement
TurnstileTransitionElement ( string mode ) : Microsoft.Phone.Controls.TurnstileTransition
button1_Click ( object sender, RoutedEventArgs e ) : void
findMyCar ( ) : void
findMyCar_Click ( object sender, EventArgs e ) : void
infoTimer_Tick ( object sender, EventArgs e ) : void
watcher_PositionChanged ( object sender, GeoPositionChangedEventArgs e ) : void
watcher_StatusChanged ( object sender, GeoPositionStatusChangedEventArgs e ) : void

메소드 상세

ConvertLocation() 공개 메소드

public ConvertLocation ( GeoCoordinate location ) : void
location GeoCoordinate
리턴 void

DrawACircle() 공개 메소드

public DrawACircle ( GeoCoordinate oLoc, double dRadius ) : LocationCollection
oLoc GeoCoordinate
dRadius double
리턴 LocationCollection

GetScreenSize() 공개 메소드

public GetScreenSize ( ) : Size
리턴 System.Windows.Size

MainPage() 공개 메소드

public MainPage ( ) : System
리턴 System

Navigate_To_Bookmarks() 공개 메소드

public Navigate_To_Bookmarks ( ) : void
리턴 void

OnNavigatedFrom() 보호된 메소드

protected OnNavigatedFrom ( System e ) : void
e System
리턴 void

OnNavigatedTo() 보호된 메소드

protected OnNavigatedTo ( System e ) : void
e System
리턴 void

ReverseGeocodeAddress() 공개 정적인 메소드

public static ReverseGeocodeAddress ( Dispatcher uiDispatcher, CredentialsProvider credentialsProvider, Location location, Action completed = null, Action error = null ) : void
uiDispatcher System.Windows.Threading.Dispatcher
credentialsProvider CredentialsProvider
location Location
completed Action
error Action
리턴 void

ToRadian() 공개 메소드

public ToRadian ( double x ) : double
x double
리턴 double

drawCircle() 공개 메소드

public drawCircle ( GeoCoordinate oLoc, double radius ) : LocationCollection
oLoc GeoCoordinate
radius double
리턴 LocationCollection

drawCircle() 공개 메소드

public drawCircle ( GeoCoordinate oLoc, double radius, Color color ) : LocationCollection
oLoc GeoCoordinate
radius double
color Color
리턴 LocationCollection

drawCircle() 공개 메소드

public drawCircle ( LocationCollection locations, Color color ) : void
locations LocationCollection
color Color
리턴 void

drawLine() 공개 메소드

public drawLine ( LocationCollection points, Color color, int thickness ) : void
points LocationCollection
color Color
thickness int
리턴 void

drawLine() 공개 메소드

public drawLine ( double X1, double Y1, double X2, double Y2, Color color, int thickness ) : void
X1 double
Y1 double
X2 double
Y2 double
color Color
thickness int
리턴 void

getDistance() 공개 메소드

public getDistance ( GeoCoordinate start, GeoCoordinate end ) : double
start GeoCoordinate
end GeoCoordinate
리턴 double