C# Class SuperMap.Connector.Control.WindowsPhone.MapControl

Inheritance: System.Windows.Controls.Control
Show file Open project: SuperMap/iClient-for-DotNet

Public Properties

Property Type Description
LayersProperty System.Windows.DependencyProperty

Public Methods

Method Description
MapControl ( ) : System
MapToScreen ( SuperMap.Connector.Utility point2D ) : Point
MapToScreen ( System.Windows.Controls.Utility point2D ) : Point
OnApplyTemplate ( ) : void
Pan ( System.Windows.Controls.Utility bounds ) : void
Screen2Map ( Point point ) : Utility.Point2D
ScreenToMap ( Point point ) : SuperMap.Connector.Utility.Point2D
ScreenToMap ( Point point ) : Utility.Point2D

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size
OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void

Private Methods

Method Description
AssignLayerContainer ( Layer layer ) : void
CalculateStartViewBounds ( Size size ) : void
GetFullViewBounds ( ) : Utility.Rectangle2D
InsertLayerContainer ( Layer layer ) : void
Layer_Initialized ( object sender, EventArgs e ) : void
Layers_CollectionChanged ( object sender, System e ) : void
Layers_LayersInitialized ( object sender, EventArgs e ) : void
LoadLayerInView ( bool useTransitions, System.Windows.Controls.Utility drawBounds, Layer layer ) : void
LoadLayersInView ( bool useTransitions, System.Windows.Controls.Utility drawBounds ) : void
MapControl_Loaded ( object sender, RoutedEventArgs e ) : void
MapControl_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
OnLayersChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnLayersPropertyChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
PanLayerCollectionCanvas ( double offsetX, double offsetY ) : void
ResetTranslate ( ) : void
SetOriginAndResolution ( double newResolution, System.Windows.Controls.Utility originPoint ) : void
SetOriginAndResolution ( double currentResolution, System.Windows.Controls.Utility currentOrigin, bool resetTransforms ) : void
UpdateClip ( Size arrangeSize ) : void
mapToPanLayer ( System.Windows.Controls.Utility pt ) : Point
panLayerToMap ( Point pnt ) : Utility.Point2D

Method Details

ArrangeOverride() protected method

protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
return System.Windows.Size

MapControl() public method

public MapControl ( ) : System
return System

MapToScreen() public method

public MapToScreen ( SuperMap.Connector.Utility point2D ) : Point
point2D SuperMap.Connector.Utility
return Point

MapToScreen() public method

public MapToScreen ( System.Windows.Controls.Utility point2D ) : Point
point2D System.Windows.Controls.Utility
return Point

OnApplyTemplate() public method

public OnApplyTemplate ( ) : void
return void

OnMouseLeftButtonDown() protected method

protected OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
return void

OnMouseLeftButtonUp() protected method

protected OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
return void

Pan() public method

public Pan ( System.Windows.Controls.Utility bounds ) : void
bounds System.Windows.Controls.Utility
return void

Screen2Map() public method

public Screen2Map ( Point point ) : Utility.Point2D
point Point
return Utility.Point2D

ScreenToMap() public method

public ScreenToMap ( Point point ) : SuperMap.Connector.Utility.Point2D
point Point
return SuperMap.Connector.Utility.Point2D

ScreenToMap() public method

public ScreenToMap ( Point point ) : Utility.Point2D
point Point
return Utility.Point2D

Property Details

LayersProperty public static property

public static DependencyProperty,System.Windows LayersProperty
return System.Windows.DependencyProperty