C# 클래스 SuperMap.WinRT.Mapping.Map

상속: Windows.UI.Xaml.Controls.Control, INotifyPropertyChanged
파일 보기 프로젝트 열기: SuperMap/iClient-for-Win8 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AngleProperty DependencyProperty
LayersProperty DependencyProperty
PanDurationProperty DependencyProperty
PanFactorProperty DependencyProperty
ZoomDurationProperty DependencyProperty
ZoomFactorProperty DependencyProperty

Private Properties

프로퍼티 타입 설명
AssignLayerContainer void
BuildMapAction void
CalculateStartViewBounds void
ClipScale double
CloseToolTip void
GetCurrentOffset Point
GetFullViewBounds SuperMap.WinRT.Core.Rectangle2D
InsertLayerContainer void
Layers_CollectionChanged void
Layers_LayersInitialized void
LoadLayerInView void
LoadLayersInView void
Map_Loaded void
Map_SizeChanged void
OnAnglePropertyChanged void
OnLayersPropertyChanged void
OnMapActionChanged void
PanTo void
RaiseAngleChanged void
RaiseViewBoundsChanged void
RaiseViewBoundsChanging void
RemoveMapLayers void
ResetMapStatus void
ResetTranslate void
SetOriginAndResolution void
ShowToolTip void
UpdateClip void
ZoomHelper_ZoomCompleted void
ZoomHelper_ZoomStarted void
ZoomHelper_Zooming void
getAdjustedViewBounds SuperMap.WinRT.Core.Rectangle2D
layer_Initialized void
layer_OnLayerChanged void
layersProgressHandler void
mapToPanLayer Point
panHelper_PanAnimationCompleted void
panHelper_PanStarted void
panHelper_Panning void
panLayerToMap SuperMap.WinRT.Core.Point2D
panTo void
panTo void
raisePropertyChanged void
rootElementToMap SuperMap.WinRT.Core.Point2D
zoomAbout void
zoomTo void

공개 메소드들

메소드 설명
CloseInfoWindow ( ) : void

${mapping_Map_method_closeInfoWindow_D}

Dispose ( ) : void

${mapping_Map_method_Dispose_D}

GetNextResolution ( bool plus ) : double

${mapping_Map_method_getNextResolution_D}

GetNextScale ( bool plus ) : double

${mapping_Map_method_getNextScale_D}

ManipulationPan ( int offsetX, int offsetY, MapStatus mapStatus ) : void

${mapping_Map_method_ManipulationPan_D}

ManipulationZoom ( double resolution, Point2D center, MapStatus mapStatus ) : void

${mapping_Map_method_ManipulationZoom_D}

Map ( ) : System

${mapping_Map_constructor_None_D}

MapToScreen ( Point2D point2D ) : Point

${mapping_Map_method_mapToScreen_D}

OpenInfoWindow ( Point2D location, UIElement element ) : void

${mapping_Map_method_openInfoWindow_D}

OpenInfoWindow ( Point2D location, double offsetPixelX, double offsetPixelY, UIElement element ) : void

${mapping_Map_method_openInfoWindow_D}

Pan ( double offsetX, double offsetY ) : void

${mapping_Map_method_pan_D_sl}

PanByPixel ( double pixelX, double pixelY ) : void

${mapping_Map_method_panByPixel_D}

PanTo ( Point2D center ) : void

${mapping_Map_method_panTo_D}

ScreenToMap ( Point point ) : Point2D

${mapping_Map_method_screenToMap_D}

ViewEntire ( ) : void

${mapping_Map_method_viewEntire_D}

Zoom ( double ratio ) : void

${mapping_Map_method_zoom_D}

ZoomIn ( ) : void

${mapping_Map_method_zoomIn_D}

ZoomOut ( ) : void

${mapping_Map_method_zoomOut_D}

ZoomTo ( Rectangle2D bounds ) : void

${mapping_Map_method_zoomTo_D}

ZoomToLevel ( int level ) : void

${mapping_Map_method_zoomToLevel_Int_D}

ZoomToLevel ( int level, Point2D center ) : void

${mapping_Map_method_zoomToLevel_Int_Point2D_D}

ZoomToResolution ( double resolution ) : void

${mapping_Map_method_zoomToResolution_Double_D}

ZoomToResolution ( double resolution, Point2D center ) : void

${mapping_Map_method_zoomToResolution_Double_Point2D_D}

ZoomToResolution ( double resolution, Point2D center, bool skipAnimation ) : void

${mapping_Map_method_zoomToResolution_Double_Point2D_Bool_D}

ZoomToScale ( double scale ) : void

${mapping_Map_method_zoomToScale_Int_D}

ZoomToScale ( double scale, Point2D center ) : void

${mapping_Map_method_zoomToScale_Int_Point2D_D}

보호된 메소드들

메소드 설명
ArrangeOverride ( Size finalSize ) : Size

${mapping_Map_method_ArrangeOverride_D}

OnApplyTemplate ( ) : void

${mapping_Map_method_onApplyTemplate_D}

OnDoubleTapped ( DoubleTappedRoutedEventArgs e ) : void
OnHolding ( HoldingRoutedEventArgs e ) : void
OnKeyDown ( KeyRoutedEventArgs e ) : void
OnKeyUp ( KeyRoutedEventArgs e ) : void
OnManipulationCompleted ( ManipulationCompletedRoutedEventArgs e ) : void
OnManipulationDelta ( ManipulationDeltaRoutedEventArgs e ) : void
OnManipulationInertiaStarting ( ManipulationInertiaStartingRoutedEventArgs e ) : void
OnManipulationStarted ( ManipulationStartedRoutedEventArgs e ) : void
OnManipulationStarting ( ManipulationStartingRoutedEventArgs e ) : void
OnPointerCanceled ( PointerRoutedEventArgs e ) : void
OnPointerCaptureLost ( PointerRoutedEventArgs e ) : void
OnPointerEntered ( PointerRoutedEventArgs e ) : void
OnPointerExited ( PointerRoutedEventArgs e ) : void
OnPointerMoved ( PointerRoutedEventArgs e ) : void
OnPointerPressed ( PointerRoutedEventArgs e ) : void
OnPointerReleased ( PointerRoutedEventArgs e ) : void
OnPointerWheelChanged ( PointerRoutedEventArgs e ) : void
OnRightTapped ( RightTappedRoutedEventArgs e ) : void
OnTapped ( TappedRoutedEventArgs e ) : void

비공개 메소드들

메소드 설명
AssignLayerContainer ( Layer layer ) : void
BuildMapAction ( ) : void
CalculateStartViewBounds ( Size size ) : void
ClipScale ( double scale ) : double
CloseToolTip ( ) : void
GetCurrentOffset ( ) : Point

获取地图的偏移量,用作平移用。

GetFullViewBounds ( ) : Rectangle2D
InsertLayerContainer ( Layer layer ) : void
Layers_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
Layers_LayersInitialized ( object sender, EventArgs args ) : void
LoadLayerInView ( bool useTransitions, Rectangle2D drawBounds, Layer layer ) : void
LoadLayersInView ( bool useTransitions, Rectangle2D drawBounds ) : void
Map_Loaded ( object sender, RoutedEventArgs e ) : void
Map_SizeChanged ( object sender, SizeChangedEventArgs e ) : void
OnAnglePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnLayersPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnMapActionChanged ( MapActionArgs args ) : void
PanTo ( Rectangle2D bounds, bool skipAnimation ) : void
RaiseAngleChanged ( DependencyPropertyChangedEventArgs e ) : void
RaiseViewBoundsChanged ( ) : void
RaiseViewBoundsChanging ( ViewBoundsEventArgs args ) : void
RemoveMapLayers ( Layer _layer ) : void
ResetMapStatus ( ) : void
ResetTranslate ( ) : void
SetOriginAndResolution ( double currentResolution, Point2D currentOrigin, bool resetTransforms ) : void

所有对Map的分辨率的实际修改都要通过这个方法,这个方法在修改分辨率之前,需要重置偏移量和参考原点。

ShowToolTip ( ) : void
UpdateClip ( Size arrangeSize ) : void
ZoomHelper_ZoomCompleted ( object sender, ZoomAnimationEventArgs e ) : void
ZoomHelper_ZoomStarted ( object sender, EventArgs e ) : void
ZoomHelper_Zooming ( object sender, ZoomAnimationEventArgs e ) : void
getAdjustedViewBounds ( Rectangle2D viewBounds, Size viewSize ) : Rectangle2D
layer_Initialized ( object sender, EventArgs e ) : void
layer_OnLayerChanged ( object sender, EventArgs args ) : void
layersProgressHandler ( object sender, ProgressEventArgs args ) : void
mapToPanLayer ( Point2D pt ) : Point
panHelper_PanAnimationCompleted ( object sender, PanAnimationEventArgs e ) : void
panHelper_PanStarted ( object sender, EventArgs e ) : void
panHelper_Panning ( object sender, PanAnimationEventArgs e ) : void
panLayerToMap ( Point pnt ) : Point2D
panTo ( Point2D center, bool skipAnimation ) : void
panTo ( Rectangle2D bounds ) : void
raisePropertyChanged ( string propertyName ) : void
rootElementToMap ( Point pnt ) : Point2D
zoomAbout ( double factor, Point2D center, bool skipAnimation ) : void
zoomTo ( Rectangle2D bounds, bool skipAnimation ) : void

메소드 상세

ArrangeOverride() 보호된 메소드

${mapping_Map_method_ArrangeOverride_D}
protected ArrangeOverride ( Size finalSize ) : Size
finalSize Size
리턴 Size

CloseInfoWindow() 공개 메소드

${mapping_Map_method_closeInfoWindow_D}
public CloseInfoWindow ( ) : void
리턴 void

Dispose() 공개 메소드

${mapping_Map_method_Dispose_D}
public Dispose ( ) : void
리턴 void

GetNextResolution() 공개 메소드

${mapping_Map_method_getNextResolution_D}
public GetNextResolution ( bool plus ) : double
plus bool ${mapping_Map_method_getNextResolution_param_plus}
리턴 double

GetNextScale() 공개 메소드

${mapping_Map_method_getNextScale_D}
public GetNextScale ( bool plus ) : double
plus bool ${mapping_Map_method_getNextScale_param_plus}
리턴 double

ManipulationPan() 공개 메소드

${mapping_Map_method_ManipulationPan_D}
public ManipulationPan ( int offsetX, int offsetY, MapStatus mapStatus ) : void
offsetX int
offsetY int
mapStatus MapStatus
리턴 void

ManipulationZoom() 공개 메소드

${mapping_Map_method_ManipulationZoom_D}
public ManipulationZoom ( double resolution, Point2D center, MapStatus mapStatus ) : void
resolution double
center SuperMap.WinRT.Core.Point2D
mapStatus MapStatus
리턴 void

Map() 공개 메소드

${mapping_Map_constructor_None_D}
public Map ( ) : System
리턴 System

MapToScreen() 공개 메소드

${mapping_Map_method_mapToScreen_D}
public MapToScreen ( Point2D point2D ) : Point
point2D SuperMap.WinRT.Core.Point2D ${mapping_Map_method_mapToScreen_param_point2D}
리턴 Point

OnApplyTemplate() 보호된 메소드

${mapping_Map_method_onApplyTemplate_D}
protected OnApplyTemplate ( ) : void
리턴 void

OnDoubleTapped() 보호된 메소드

protected OnDoubleTapped ( DoubleTappedRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.DoubleTappedRoutedEventArgs
리턴 void

OnHolding() 보호된 메소드

protected OnHolding ( HoldingRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.HoldingRoutedEventArgs
리턴 void

OnKeyDown() 보호된 메소드

protected OnKeyDown ( KeyRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.KeyRoutedEventArgs
리턴 void

OnKeyUp() 보호된 메소드

protected OnKeyUp ( KeyRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.KeyRoutedEventArgs
리턴 void

OnManipulationCompleted() 보호된 메소드

protected OnManipulationCompleted ( ManipulationCompletedRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.ManipulationCompletedRoutedEventArgs
리턴 void

OnManipulationDelta() 보호된 메소드

protected OnManipulationDelta ( ManipulationDeltaRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.ManipulationDeltaRoutedEventArgs
리턴 void

OnManipulationInertiaStarting() 보호된 메소드

protected OnManipulationInertiaStarting ( ManipulationInertiaStartingRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.ManipulationInertiaStartingRoutedEventArgs
리턴 void

OnManipulationStarted() 보호된 메소드

protected OnManipulationStarted ( ManipulationStartedRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.ManipulationStartedRoutedEventArgs
리턴 void

OnManipulationStarting() 보호된 메소드

protected OnManipulationStarting ( ManipulationStartingRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.ManipulationStartingRoutedEventArgs
리턴 void

OnPointerCanceled() 보호된 메소드

protected OnPointerCanceled ( PointerRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.PointerRoutedEventArgs
리턴 void

OnPointerCaptureLost() 보호된 메소드

protected OnPointerCaptureLost ( PointerRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.PointerRoutedEventArgs
리턴 void

OnPointerEntered() 보호된 메소드

protected OnPointerEntered ( PointerRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.PointerRoutedEventArgs
리턴 void

OnPointerExited() 보호된 메소드

protected OnPointerExited ( PointerRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.PointerRoutedEventArgs
리턴 void

OnPointerMoved() 보호된 메소드

protected OnPointerMoved ( PointerRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.PointerRoutedEventArgs
리턴 void

OnPointerPressed() 보호된 메소드

protected OnPointerPressed ( PointerRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.PointerRoutedEventArgs
리턴 void

OnPointerReleased() 보호된 메소드

protected OnPointerReleased ( PointerRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.PointerRoutedEventArgs
리턴 void

OnPointerWheelChanged() 보호된 메소드

protected OnPointerWheelChanged ( PointerRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.PointerRoutedEventArgs
리턴 void

OnRightTapped() 보호된 메소드

protected OnRightTapped ( RightTappedRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.RightTappedRoutedEventArgs
리턴 void

OnTapped() 보호된 메소드

protected OnTapped ( TappedRoutedEventArgs e ) : void
e Windows.UI.Xaml.Input.TappedRoutedEventArgs
리턴 void

OpenInfoWindow() 공개 메소드

${mapping_Map_method_openInfoWindow_D}
public OpenInfoWindow ( Point2D location, UIElement element ) : void
location SuperMap.WinRT.Core.Point2D ${mapping_Map_method_openInfoWindow_param_location}
element UIElement ${mapping_Map_method_openInfoWindow_param_element}
리턴 void

OpenInfoWindow() 공개 메소드

${mapping_Map_method_openInfoWindow_D}
public OpenInfoWindow ( Point2D location, double offsetPixelX, double offsetPixelY, UIElement element ) : void
location SuperMap.WinRT.Core.Point2D ${mapping_Map_method_openInfoWindow_param_location}
offsetPixelX double ${mapping_Map_method_openInfoWindow_param_offsetPixelX}
offsetPixelY double ${mapping_Map_method_openInfoWindow_param_offsetPixelY}
element UIElement ${mapping_Map_method_openInfoWindow_param_element}
리턴 void

Pan() 공개 메소드

${mapping_Map_method_pan_D_sl}
public Pan ( double offsetX, double offsetY ) : void
offsetX double ${mapping_Map_method_pan_param_offsetX}
offsetY double ${mapping_Map_method_pan_param_offsetY}
리턴 void

PanByPixel() 공개 메소드

${mapping_Map_method_panByPixel_D}
public PanByPixel ( double pixelX, double pixelY ) : void
pixelX double ${mapping_Map_method_panByPixel_param_pixelX}
pixelY double ${mapping_Map_method_panByPixel_param_pixelY}
리턴 void

PanTo() 공개 메소드

${mapping_Map_method_panTo_D}
public PanTo ( Point2D center ) : void
center SuperMap.WinRT.Core.Point2D ${mapping_Map_method_panTo_param_center}
리턴 void

ScreenToMap() 공개 메소드

${mapping_Map_method_screenToMap_D}
public ScreenToMap ( Point point ) : Point2D
point Point ${mapping_Map_method_screenToMap_param_point}
리턴 SuperMap.WinRT.Core.Point2D

ViewEntire() 공개 메소드

${mapping_Map_method_viewEntire_D}
public ViewEntire ( ) : void
리턴 void

Zoom() 공개 메소드

${mapping_Map_method_zoom_D}
public Zoom ( double ratio ) : void
ratio double ${mapping_Map_method_zoom_param_ratio}
리턴 void

ZoomIn() 공개 메소드

${mapping_Map_method_zoomIn_D}
public ZoomIn ( ) : void
리턴 void

ZoomOut() 공개 메소드

${mapping_Map_method_zoomOut_D}
public ZoomOut ( ) : void
리턴 void

ZoomTo() 공개 메소드

${mapping_Map_method_zoomTo_D}
public ZoomTo ( Rectangle2D bounds ) : void
bounds SuperMap.WinRT.Core.Rectangle2D ${mapping_Map_method_zoomTo_param_bounds}
리턴 void

ZoomToLevel() 공개 메소드

${mapping_Map_method_zoomToLevel_Int_D}
public ZoomToLevel ( int level ) : void
level int ${mapping_Map_method_zoomToLevel_Int_param_level}
리턴 void

ZoomToLevel() 공개 메소드

${mapping_Map_method_zoomToLevel_Int_Point2D_D}
public ZoomToLevel ( int level, Point2D center ) : void
level int ${mapping_Map_method_zoomToLevel_Int_param_level}
center SuperMap.WinRT.Core.Point2D ${mapping_Map_method_zoomToLevel_Int_Point2D_param_center}
리턴 void

ZoomToResolution() 공개 메소드

${mapping_Map_method_zoomToResolution_Double_D}
public ZoomToResolution ( double resolution ) : void
resolution double ${mapping_Map_method_zoomToResolution_Double_param_resolution}
리턴 void

ZoomToResolution() 공개 메소드

${mapping_Map_method_zoomToResolution_Double_Point2D_D}
public ZoomToResolution ( double resolution, Point2D center ) : void
resolution double ${mapping_Map_method_zoomToResolution_Double_param_resolution}
center SuperMap.WinRT.Core.Point2D ${mapping_Map_method_zoomToResolution_Double_Point2D_param_center}
리턴 void

ZoomToResolution() 공개 메소드

${mapping_Map_method_zoomToResolution_Double_Point2D_Bool_D}
public ZoomToResolution ( double resolution, Point2D center, bool skipAnimation ) : void
resolution double ${mapping_Map_method_zoomToResolution_Double_param_resolution}
center SuperMap.WinRT.Core.Point2D ${mapping_Map_method_zoomToResolution_Double_Point2D_param_center}
skipAnimation bool
리턴 void

ZoomToScale() 공개 메소드

${mapping_Map_method_zoomToScale_Int_D}
public ZoomToScale ( double scale ) : void
scale double ${mapping_Map_method_zoomToScale_Int_param_scale}
리턴 void

ZoomToScale() 공개 메소드

${mapping_Map_method_zoomToScale_Int_Point2D_D}
public ZoomToScale ( double scale, Point2D center ) : void
scale double ${mapping_Map_method_zoomToScale_Int_param_scale}
center SuperMap.WinRT.Core.Point2D ${mapping_Map_method_zoomToScale_Int_Point2D_param_center}
리턴 void

프로퍼티 상세

AngleProperty 공개적으로 정적으로 프로퍼티

${pubilc_fields_identifies_sl} Angle ${pubilc_fields_attachedproperty_sl}
public static DependencyProperty AngleProperty
리턴 DependencyProperty

LayersProperty 공개적으로 정적으로 프로퍼티

${mapping_Map_field_layersProperty_D}
public static DependencyProperty LayersProperty
리턴 DependencyProperty

PanDurationProperty 공개적으로 정적으로 프로퍼티

${mapping_Map_field_PanDurationProperty_D}
public static DependencyProperty PanDurationProperty
리턴 DependencyProperty

PanFactorProperty 공개적으로 정적으로 프로퍼티

${mapping_Map_attribute_field_panFactorProperty_D}
public static DependencyProperty PanFactorProperty
리턴 DependencyProperty

ZoomDurationProperty 공개적으로 정적으로 프로퍼티

${mapping_Map_field_ZoomDurationProperty_D}
public static DependencyProperty ZoomDurationProperty
리턴 DependencyProperty

ZoomFactorProperty 공개적으로 정적으로 프로퍼티

${mapping_Map_attribute_field_zoomFactorProperty_D}
public static DependencyProperty ZoomFactorProperty
리턴 DependencyProperty