C# Class Mapsui.UI.Android.MapControl

Inheritance: AndroidGameView
显示文件 Open project: pauldendulk/Mapsui

Public Methods

Method Description
Initialize ( ) : void
MapControl ( Android.Content.Context context, IAttributeSet attrs ) : System
MapControl ( Android.Content.Context context, IAttributeSet attrs, int defStyle ) : System
MapDataChanged ( object sender, DataChangedEventArgs e ) : void
MapView_Touch ( object sender, TouchEventArgs args ) : void
RefreshGraphics ( ) : void

Protected Methods

Method Description
OnDraw ( SKSurface surface, SKImageInfo info ) : void

Private Methods

Method Description
InitializeViewport ( ) : void
MapPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
MapRefreshGraphics ( object sender, EventArgs eventArgs ) : void
MidPoint ( Android.Graphics.PointF point, Android.Views.MotionEvent me ) : void
OnViewportInitialized ( ) : void
Spacing ( Android.Views.MotionEvent me ) : float

Method Details

Initialize() public method

public Initialize ( ) : void
return void

MapControl() public method

public MapControl ( Android.Content.Context context, IAttributeSet attrs ) : System
context Android.Content.Context
attrs IAttributeSet
return System

MapControl() public method

public MapControl ( Android.Content.Context context, IAttributeSet attrs, int defStyle ) : System
context Android.Content.Context
attrs IAttributeSet
defStyle int
return System

MapDataChanged() public method

public MapDataChanged ( object sender, DataChangedEventArgs e ) : void
sender object
e Mapsui.Fetcher.DataChangedEventArgs
return void

MapView_Touch() public method

public MapView_Touch ( object sender, TouchEventArgs args ) : void
sender object
args TouchEventArgs
return void

OnDraw() protected method

protected OnDraw ( SKSurface surface, SKImageInfo info ) : void
surface SKSurface
info SKImageInfo
return void

RefreshGraphics() public method

public RefreshGraphics ( ) : void
return void