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

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

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

Свойство Тип Описание
AngleProperty System.Windows.DependencyProperty
ISDoubleTapProperty 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
CloseToolTip void
CreateErrorMessage void
GetFullViewBounds SuperMap.WindowsPhone.Core.Rectangle2D
InsertLayerContainer void
IsPinchOrStretch bool
Layers_CollectionChanged void
Layers_LayersInitialized void
LoadContinuousLayersInView void
LoadLayerInView void
LoadLayersInView void
Map_Loaded void
Map_SizeChanged void
OnAnglePropertyChanged void
OnLayersPropertyChanged void
PanCompleted void
QuinticEaseOut double
RaiseAngleChanged void
RaiseViewBoundsChanged void
RemoveMapLayers void
ResetMapStatus void
SetOriginAndResolution void
ShowToolTip void
UpdateClip void
beginZoomToTargetBounds void
getAdjustedViewBounds SuperMap.WindowsPhone.Core.Rectangle2D
layer_Initialized void
layer_OnLayerChanged void
layersProgressHandler void
mapToPanLayer Point
panHelper_PanAnimationCompleted void
panHelper_Panning void
panLayerToMap SuperMap.WindowsPhone.Core.Point2D
panTo void
panTo void
panTo void
raisePropertyChanged void
rootElementToMap SuperMap.WindowsPhone.Core.Point2D
zoomAbout void
zoomTo void

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

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

${WP_mapping_Map_method_closeInfoWindow_D}

GetNextResolution ( bool plus ) : double

${WP_mapping_Map_method_getNextResolution_D}

GetNextScale ( bool plus ) : double

${WP_mapping_Map_method_getNextScale_D}

Map ( ) : SuperMap.WindowsPhone.Core

${WP_mapping_Map_constructor_None_D}

MapToScreen ( Point2D point2D ) : Point

${WP_mapping_Map_method_mapToScreen_D}

OnApplyTemplate ( ) : void

${WP_mapping_Map_method_onApplyTemplate_D}

OpenInfoWindow ( Point2D location, UIElement element ) : void

${WP_mapping_Map_method_openInfoWindow_D}

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

${WP_mapping_Map_method_openInfoWindow_D}

Pan ( double offsetX, double offsetY ) : void

${WP_mapping_Map_method_pan_D_sl}

PanByPixel ( double pixelX, double pixelY ) : void

${WP_mapping_Map_method_panByPixel_D}

PanTo ( Point2D center ) : void

${WP_mapping_Map_method_panTo_D}

ScreenToMap ( Point point ) : Point2D

${WP_mapping_Map_method_screenToMap_D}

ViewEntire ( ) : void

${WP_mapping_Map_method_viewEntire_D}

Zoom ( double ratio ) : void

${WP_mapping_Map_method_zoom_D}

ZoomIn ( ) : void

${WP_mapping_Map_method_zoomIn_D}

ZoomOut ( ) : void

${WP_mapping_Map_method_zoomOut_D}

ZoomTo ( Rectangle2D bounds ) : void

${WP_mapping_Map_method_zoomTo_D}

ZoomToLevel ( int level ) : void

${WP_mapping_Map_method_zoomToLevel_Int_D}

ZoomToLevel ( int level, Point2D center ) : void

${WP_mapping_Map_method_zoomToLevel_Int_Point2D_D}

ZoomToResolution ( double resolution ) : void

${WP_mapping_Map_method_zoomToResolution_Double_D}

ZoomToResolution ( double resolution, Point2D center ) : void

${WP_mapping_Map_method_zoomToResolution_Double_Point2D_D}

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

${WP_mapping_Map_method_zoomToScale_Int_D}

ZoomToScale ( double scale, Point2D center ) : void

${WP_mapping_Map_method_zoomToScale_Int_Point2D_D}

Защищенные методы

Метод Описание
ArrangeOverride ( Size finalSize ) : Size

${WP_mapping_Map_method_ArrangeOverride_D}

OnDoubleTap ( GestureEventArgs e ) : void
OnHold ( GestureEventArgs e ) : void
OnManipulationDelta ( System.Windows.Input.ManipulationDeltaEventArgs e ) : void
OnManipulationStarted ( System.Windows.Input.ManipulationStartedEventArgs e ) : void
OnMouseEnter ( System.Windows.Input.MouseEventArgs e ) : void

${WP_ui_action_MapAction_event_onMouseEnter_D}

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

${WP_ui_action_MapAction_event_onMouseLeave_D}

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

${WP_ui_action_MapAction_event_onMouseDown_D}

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

${WP_ui_action_MapAction_event_onMouseUp_D}

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

${WP_ui_action_MapAction_event_onMouseMove_D}

OnTap ( GestureEventArgs e ) : void

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

Метод Описание
AssignLayerContainer ( Layer layer ) : void
BuildMapAction ( ) : void

${WP_mapping_Map_event_actionChanged_D}

CalculateStartViewBounds ( Size size ) : void
CloseToolTip ( ) : void
CreateErrorMessage ( string message ) : void
GetFullViewBounds ( ) : Rectangle2D
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_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
OnAnglePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnLayersPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : 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
UpdateClip ( Size arrangeSize ) : void
beginZoomToTargetBounds ( Rectangle2D targetBounds, bool skipAnimation ) : 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

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

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

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

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

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

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

${WP_mapping_Map_method_getNextResolution_D}
public GetNextResolution ( bool plus ) : double
plus bool ${WP_mapping_Map_method_getNextResolution_param_plus}
Результат double

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

${WP_mapping_Map_method_getNextScale_D}
public GetNextScale ( bool plus ) : double
plus bool ${WP_mapping_Map_method_getNextScale_param_plus}
Результат double

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

${WP_mapping_Map_constructor_None_D}
public Map ( ) : SuperMap.WindowsPhone.Core
Результат SuperMap.WindowsPhone.Core

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

${WP_mapping_Map_method_mapToScreen_D}
public MapToScreen ( Point2D point2D ) : Point
point2D SuperMap.WindowsPhone.Core.Point2D ${WP_mapping_Map_method_mapToScreen_param_point2D}
Результат Point

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

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

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

protected OnDoubleTap ( GestureEventArgs e ) : void
e GestureEventArgs
Результат void

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

protected OnHold ( GestureEventArgs e ) : void
e GestureEventArgs
Результат void

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

protected OnManipulationDelta ( System.Windows.Input.ManipulationDeltaEventArgs e ) : void
e System.Windows.Input.ManipulationDeltaEventArgs
Результат void

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

protected OnManipulationStarted ( System.Windows.Input.ManipulationStartedEventArgs e ) : void
e System.Windows.Input.ManipulationStartedEventArgs
Результат void

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

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

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

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

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

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

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

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

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

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

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

protected OnTap ( GestureEventArgs e ) : void
e GestureEventArgs
Результат void

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

${WP_mapping_Map_method_openInfoWindow_D}
public OpenInfoWindow ( Point2D location, UIElement element ) : void
location SuperMap.WindowsPhone.Core.Point2D ${WP_mapping_Map_method_openInfoWindow_param_location}
element UIElement ${WP_mapping_Map_method_openInfoWindow_param_element}
Результат void

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

${WP_mapping_Map_method_openInfoWindow_D}
public OpenInfoWindow ( Point2D location, double offsetPixelX, double offsetPixelY, UIElement element ) : void
location SuperMap.WindowsPhone.Core.Point2D ${WP_mapping_Map_method_openInfoWindow_param_location}
offsetPixelX double ${WP_mapping_Map_method_openInfoWindow_param_offsetPixelX}
offsetPixelY double ${WP_mapping_Map_method_openInfoWindow_param_offsetPixelY}
element UIElement ${WP_mapping_Map_method_openInfoWindow_param_element}
Результат void

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

${WP_mapping_Map_method_pan_D_sl}
public Pan ( double offsetX, double offsetY ) : void
offsetX double ${WP_mapping_Map_method_pan_param_offsetX}
offsetY double ${WP_mapping_Map_method_pan_param_offsetY}
Результат void

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

${WP_mapping_Map_method_panByPixel_D}
public PanByPixel ( double pixelX, double pixelY ) : void
pixelX double ${WP_mapping_Map_method_panByPixel_param_pixelX}
pixelY double ${WP_mapping_Map_method_panByPixel_param_pixelY}
Результат void

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

${WP_mapping_Map_method_panTo_D}
public PanTo ( Point2D center ) : void
center SuperMap.WindowsPhone.Core.Point2D ${WP_mapping_Map_method_panTo_param_center}
Результат void

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

${WP_mapping_Map_method_screenToMap_D}
public ScreenToMap ( Point point ) : Point2D
point Point ${WP_mapping_Map_method_screenToMap_param_point}
Результат SuperMap.WindowsPhone.Core.Point2D

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

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

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

${WP_mapping_Map_method_zoom_D}
public Zoom ( double ratio ) : void
ratio double ${WP_mapping_Map_method_zoom_param_ratio}
Результат void

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

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

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

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

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

${WP_mapping_Map_method_zoomTo_D}
public ZoomTo ( Rectangle2D bounds ) : void
bounds SuperMap.WindowsPhone.Core.Rectangle2D ${WP_mapping_Map_method_zoomTo_param_bounds}
Результат void

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

${WP_mapping_Map_method_zoomToLevel_Int_D}
public ZoomToLevel ( int level ) : void
level int ${WP_mapping_Map_method_zoomToLevel_Int_param_level}
Результат void

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

${WP_mapping_Map_method_zoomToLevel_Int_Point2D_D}
public ZoomToLevel ( int level, Point2D center ) : void
level int ${WP_mapping_Map_method_zoomToLevel_Int_param_level}
center SuperMap.WindowsPhone.Core.Point2D ${WP_mapping_Map_method_zoomToLevel_Int_Point2D_param_center}
Результат void

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

${WP_mapping_Map_method_zoomToResolution_Double_D}
public ZoomToResolution ( double resolution ) : void
resolution double ${WP_mapping_Map_method_zoomToResolution_Double_param_resolution}
Результат void

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

${WP_mapping_Map_method_zoomToResolution_Double_Point2D_D}
public ZoomToResolution ( double resolution, Point2D center ) : void
resolution double ${WP_mapping_Map_method_zoomToResolution_Double_param_resolution}
center SuperMap.WindowsPhone.Core.Point2D ${WP_mapping_Map_method_zoomToResolution_Double_Point2D_param_center}
Результат void

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

public ZoomToResolution ( double resolution, Point2D center, bool skipAnimation ) : void
resolution double
center SuperMap.WindowsPhone.Core.Point2D
skipAnimation bool
Результат void

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

${WP_mapping_Map_method_zoomToScale_Int_D}
public ZoomToScale ( double scale ) : void
scale double ${WP_mapping_Map_method_zoomToScale_Int_param_scale}
Результат void

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

${WP_mapping_Map_method_zoomToScale_Int_Point2D_D}
public ZoomToScale ( double scale, Point2D center ) : void
scale double ${WP_mapping_Map_method_zoomToScale_Int_param_scale}
center SuperMap.WindowsPhone.Core.Point2D ${WP_mapping_Map_method_zoomToScale_Int_Point2D_param_center}
Результат void

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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