C# Класс SuperMap.Web.Mapping.Map

Наследование: System.Windows.Controls.Control, INotifyPropertyChanged
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
AngleProperty System.Windows.DependencyProperty
LayersProperty System.Windows.DependencyProperty
PanDurationProperty System.Windows.DependencyProperty
PanFactorProperty System.Windows.DependencyProperty
ZoomDurationProperty System.Windows.DependencyProperty
ZoomFactorProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
AssignLayerContainer void
BuildMapAction void
CalculateStartViewBounds void
ClipResolution double
ClipScale double
CloseToolTip void
CreateErrorMessage void
EndPinch void
GetFullViewBounds SuperMap.Web.Core.Rectangle2D
InitTimer void
InsertLayerContainer void
IsPinchOrStretch bool
Layers_CollectionChanged void
Layers_LayersInitialized void
LoadContinuousLayersInView void
LoadLayerInView void
LoadLayersInView void
Map_Loaded void
Map_ManipulationCompleted void
Map_ManipulationDelta void
Map_ManipulationStarted void
Map_MouseDoubleClick void
Map_SizeChanged void
OnAnglePropertyChanged void
OnLayersPropertyChanged void
OnMapActionChanged void
PanCompleted void
QuinticEaseOut double
RaiseAngleChanged void
RaiseViewBoundsChanged void
RemoveMapLayers void
ResetMapStatus void
SetOriginAndResolution void
ShowToolTip void
StartPinch void
Touch_FrameReported void
UpdateClip void
_drawTimer_Tick void
beginZoomToTargetBounds void
beginZoomToTargetBounds void
getAdjustedViewBounds SuperMap.Web.Core.Rectangle2D
layer_Initialized void
layer_OnLayerChanged void
layersProgressHandler void
mapToPanLayer Point
panHelper_PanAnimationCompleted void
panHelper_Panning void
panLayerToMap SuperMap.Web.Core.Point2D
panTo void
panTo void
panTo void
raisePropertyChanged void
rootElementToMap SuperMap.Web.Core.Point2D
zoomAbout void
zoomTo void
zoomToResolution void

Открытые методы

Метод Описание
CloseInfoWindow ( ) : void

${mapping_Map_method_closeInfoWindow_D}

GetNextResolution ( bool plus ) : double

${mapping_Map_method_getNextResolution_D}

GetNextScale ( bool plus ) : double

${mapping_Map_method_getNextScale_D}

Map ( ) : System

${mapping_Map_constructor_None_D}

MapToScreen ( Point2D point2D ) : Point

${mapping_Map_method_mapToScreen_D}

OnApplyTemplate ( ) : void

${mapping_Map_method_onApplyTemplate_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}

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}

OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void

${mapping_Map_event_onKeyDown_D}

OnKeyUp ( System.Windows.Input.KeyEventArgs e ) : void

${mapping_Map_event_onKeyUp_D}

OnMouseEnter ( System.Windows.Input.MouseEventArgs e ) : void

${ui_action_MapAction_event_onMouseEnter_D}

OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void

${ui_action_MapAction_event_onMouseLeave_D}

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

${ui_action_MapAction_event_onMouseDown_D}

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

${ui_action_MapAction_event_onMouseUp_D}

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

${ui_action_MapAction_event_onMouseMove_D}

OnMouseRightButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void

${ui_action_MapAction_event_onMouseRightButtonDown_D}

OnMouseRightButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void

${ui_action_MapAction_event_onMouseRightButtonUp_D}

OnMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void

${ui_action_MapAction_event_onMouseWheel_D}

Приватные методы

Метод Описание
AssignLayerContainer ( Layer layer ) : void
BuildMapAction ( ) : void
CalculateStartViewBounds ( Size size ) : void
ClipResolution ( double resolution ) : double
ClipScale ( double scale ) : double
CloseToolTip ( ) : void
CreateErrorMessage ( string message ) : void
EndPinch ( ) : void
GetFullViewBounds ( ) : Rectangle2D
InitTimer ( ) : void
InsertLayerContainer ( Layer layer ) : void
IsPinchOrStretch ( Point scale ) : bool
Layers_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
Layers_LayersInitialized ( object sender, EventArgs args ) : void
LoadContinuousLayersInView ( bool useTransitions ) : void
LoadLayerInView ( bool useTransitions, Rectangle2D drawBounds, Layer layer ) : void
LoadLayersInView ( bool useTransitions, Rectangle2D drawBounds ) : void
Map_Loaded ( object sender, RoutedEventArgs e ) : void
Map_ManipulationCompleted ( object sender, System.Windows.Input.ManipulationCompletedEventArgs e ) : void
Map_ManipulationDelta ( object sender, System.Windows.Input.ManipulationDeltaEventArgs e ) : void
Map_ManipulationStarted ( object sender, System.Windows.Input.ManipulationStartedEventArgs e ) : void
Map_MouseDoubleClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Map_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
OnAnglePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnLayersPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMapActionChanged ( MapActionArgs args ) : void
PanCompleted ( ) : void
QuinticEaseOut ( double t, double b, double c, double d ) : double
RaiseAngleChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
RaiseViewBoundsChanged ( ) : void
RemoveMapLayers ( Layer _layer ) : void
ResetMapStatus ( ) : void
SetOriginAndResolution ( double currentResolution, Point2D currentOrigin, bool resetTransforms ) : void
ShowToolTip ( ) : void
StartPinch ( ) : void
Touch_FrameReported ( object sender, System.Windows.Input.TouchFrameEventArgs e ) : void
UpdateClip ( Size arrangeSize ) : void
_drawTimer_Tick ( object sender, EventArgs e ) : void
beginZoomToTargetBounds ( Rectangle2D targetBounds, bool skipAnimation ) : void
beginZoomToTargetBounds ( Rectangle2D targetBounds, bool skipAnimation, bool notDraw = false ) : 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, EventArgs e ) : void
panHelper_Panning ( object sender, EventArgs e ) : void
panLayerToMap ( Point pnt ) : Point2D
panTo ( Point2D center, bool skipAnimation ) : void
panTo ( Rectangle2D bounds ) : void
panTo ( Rectangle2D bounds, bool skipAnimation ) : void
raisePropertyChanged ( string propertyName ) : void
rootElementToMap ( Point pnt ) : Point2D
zoomAbout ( double factor, Point2D center, bool skipAnimation ) : void
zoomTo ( Rectangle2D bounds, bool skipAnimation ) : void
zoomToResolution ( double resolution, Point2D center, bool skipAnimation ) : void

Описание методов

ArrangeOverride() защищенный Метод

${mapping_Map_method_ArrangeOverride_D}
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
Результат System.Windows.Size

CloseInfoWindow() публичный Метод

${mapping_Map_method_closeInfoWindow_D}
public CloseInfoWindow ( ) : 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

Map() публичный Метод

${mapping_Map_constructor_None_D}
public Map ( ) : System
Результат System

MapToScreen() публичный Метод

${mapping_Map_method_mapToScreen_D}
public MapToScreen ( Point2D point2D ) : Point
point2D SuperMap.Web.Core.Point2D ${mapping_Map_method_mapToScreen_param_point2D}
Результат Point

OnApplyTemplate() публичный Метод

${mapping_Map_method_onApplyTemplate_D}
public OnApplyTemplate ( ) : void
Результат void

OnKeyDown() защищенный Метод

${mapping_Map_event_onKeyDown_D}
protected OnKeyDown ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs ${mapping_Map_event_onKeyDown_param_e}
Результат void

OnKeyUp() защищенный Метод

${mapping_Map_event_onKeyUp_D}
protected OnKeyUp ( System.Windows.Input.KeyEventArgs e ) : void
e System.Windows.Input.KeyEventArgs ${mapping_Map_event_onKeyUp_param_e}
Результат void

OnMouseEnter() защищенный Метод

${ui_action_MapAction_event_onMouseEnter_D}
protected OnMouseEnter ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs ${ui_action_MapAction_event_onMouseEnter_param_e}
Результат void

OnMouseLeave() защищенный Метод

${ui_action_MapAction_event_onMouseLeave_D}
protected OnMouseLeave ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs ${ui_action_MapAction_event_onMouseLeave_param_e}
Результат void

OnMouseLeftButtonDown() защищенный Метод

${ui_action_MapAction_event_onMouseDown_D}
protected OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs ${ui_action_MapAction_event_onMouseDown_param_e}
Результат void

OnMouseLeftButtonUp() защищенный Метод

${ui_action_MapAction_event_onMouseUp_D}
protected OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs ${ui_action_MapAction_event_onMouseUp_param_e}
Результат void

OnMouseMove() защищенный Метод

${ui_action_MapAction_event_onMouseMove_D}
protected OnMouseMove ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs ${ui_action_MapAction_event_onMouseMove_param_e}
Результат void

OnMouseRightButtonDown() защищенный Метод

${ui_action_MapAction_event_onMouseRightButtonDown_D}
protected OnMouseRightButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs ${ui_action_MapAction_event_onMouseRightButtonDown_param_e}
Результат void

OnMouseRightButtonUp() защищенный Метод

${ui_action_MapAction_event_onMouseRightButtonUp_D}
protected OnMouseRightButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs ${ui_action_MapAction_event_onMouseRightButtonUp_param_e}
Результат void

OnMouseWheel() защищенный Метод

${ui_action_MapAction_event_onMouseWheel_D}
protected OnMouseWheel ( System.Windows.Input.MouseWheelEventArgs e ) : void
e System.Windows.Input.MouseWheelEventArgs ${ui_action_MapAction_event_onMouseWheel_param_e}
Результат void

OpenInfoWindow() публичный Метод

${mapping_Map_method_openInfoWindow_D}
public OpenInfoWindow ( Point2D location, UIElement element ) : void
location SuperMap.Web.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.Web.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.Web.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.Web.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.Web.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.Web.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.Web.Core.Point2D ${mapping_Map_method_zoomToResolution_Double_Point2D_param_center}
Результат 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.Web.Core.Point2D ${mapping_Map_method_zoomToScale_Int_Point2D_param_center}
Результат void

Описание свойств

AngleProperty публичное статическое свойство

${pubilc_fields_identifies_sl} Angle ${pubilc_fields_attachedproperty_sl}
public static DependencyProperty,System.Windows AngleProperty
Результат System.Windows.DependencyProperty

LayersProperty публичное статическое свойство

${mapping_Map_field_layersProperty_D}
public static DependencyProperty,System.Windows LayersProperty
Результат System.Windows.DependencyProperty

PanDurationProperty публичное статическое свойство

${mapping_Map_field_PanDurationProperty_D}
public static DependencyProperty,System.Windows PanDurationProperty
Результат System.Windows.DependencyProperty

PanFactorProperty публичное статическое свойство

${mapping_Map_attribute_field_panFactorProperty_D}
public static DependencyProperty,System.Windows PanFactorProperty
Результат System.Windows.DependencyProperty

ZoomDurationProperty публичное статическое свойство

${mapping_Map_field_ZoomDurationProperty_D}
public static DependencyProperty,System.Windows ZoomDurationProperty
Результат System.Windows.DependencyProperty

ZoomFactorProperty публичное статическое свойство

${mapping_Map_attribute_field_zoomFactorProperty_D}
public static DependencyProperty,System.Windows ZoomFactorProperty
Результат System.Windows.DependencyProperty