C# Class SuperMap.WindowsPhone.Mapping.Map

Inheritance: System.Windows.Controls.Control, INotifyPropertyChanged
Afficher le fichier Open project: SuperMap/iClient-for-Win8 Class Usage Examples

Méthodes publiques

Свойство Type Description
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

Свойство Type Description
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

Méthodes publiques

Méthode Description
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}

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

ArrangeOverride() protected méthode

${WP_mapping_Map_method_ArrangeOverride_D}
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
Résultat System.Windows.Size

CloseInfoWindow() public méthode

${WP_mapping_Map_method_closeInfoWindow_D}
public CloseInfoWindow ( ) : void
Résultat void

GetNextResolution() public méthode

${WP_mapping_Map_method_getNextResolution_D}
public GetNextResolution ( bool plus ) : double
plus bool ${WP_mapping_Map_method_getNextResolution_param_plus}
Résultat double

GetNextScale() public méthode

${WP_mapping_Map_method_getNextScale_D}
public GetNextScale ( bool plus ) : double
plus bool ${WP_mapping_Map_method_getNextScale_param_plus}
Résultat double

Map() public méthode

${WP_mapping_Map_constructor_None_D}
public Map ( ) : SuperMap.WindowsPhone.Core
Résultat SuperMap.WindowsPhone.Core

MapToScreen() public méthode

${WP_mapping_Map_method_mapToScreen_D}
public MapToScreen ( Point2D point2D ) : Point
point2D SuperMap.WindowsPhone.Core.Point2D ${WP_mapping_Map_method_mapToScreen_param_point2D}
Résultat Point

OnApplyTemplate() public méthode

${WP_mapping_Map_method_onApplyTemplate_D}
public OnApplyTemplate ( ) : void
Résultat void

OnDoubleTap() protected méthode

protected OnDoubleTap ( GestureEventArgs e ) : void
e GestureEventArgs
Résultat void

OnHold() protected méthode

protected OnHold ( GestureEventArgs e ) : void
e GestureEventArgs
Résultat void

OnManipulationDelta() protected méthode

protected OnManipulationDelta ( System.Windows.Input.ManipulationDeltaEventArgs e ) : void
e System.Windows.Input.ManipulationDeltaEventArgs
Résultat void

OnManipulationStarted() protected méthode

protected OnManipulationStarted ( System.Windows.Input.ManipulationStartedEventArgs e ) : void
e System.Windows.Input.ManipulationStartedEventArgs
Résultat void

OnMouseEnter() protected méthode

${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}
Résultat void

OnMouseLeave() protected méthode

${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}
Résultat void

OnMouseLeftButtonDown() protected méthode

${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}
Résultat void

OnMouseLeftButtonUp() protected méthode

${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}
Résultat void

OnMouseMove() protected méthode

${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}
Résultat void

OnTap() protected méthode

protected OnTap ( GestureEventArgs e ) : void
e GestureEventArgs
Résultat void

OpenInfoWindow() public méthode

${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}
Résultat void

OpenInfoWindow() public méthode

${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}
Résultat void

Pan() public méthode

${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}
Résultat void

PanByPixel() public méthode

${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}
Résultat void

PanTo() public méthode

${WP_mapping_Map_method_panTo_D}
public PanTo ( Point2D center ) : void
center SuperMap.WindowsPhone.Core.Point2D ${WP_mapping_Map_method_panTo_param_center}
Résultat void

ScreenToMap() public méthode

${WP_mapping_Map_method_screenToMap_D}
public ScreenToMap ( Point point ) : Point2D
point Point ${WP_mapping_Map_method_screenToMap_param_point}
Résultat SuperMap.WindowsPhone.Core.Point2D

ViewEntire() public méthode

${WP_mapping_Map_method_viewEntire_D}
public ViewEntire ( ) : void
Résultat void

Zoom() public méthode

${WP_mapping_Map_method_zoom_D}
public Zoom ( double ratio ) : void
ratio double ${WP_mapping_Map_method_zoom_param_ratio}
Résultat void

ZoomIn() public méthode

${WP_mapping_Map_method_zoomIn_D}
public ZoomIn ( ) : void
Résultat void

ZoomOut() public méthode

${WP_mapping_Map_method_zoomOut_D}
public ZoomOut ( ) : void
Résultat void

ZoomTo() public méthode

${WP_mapping_Map_method_zoomTo_D}
public ZoomTo ( Rectangle2D bounds ) : void
bounds SuperMap.WindowsPhone.Core.Rectangle2D ${WP_mapping_Map_method_zoomTo_param_bounds}
Résultat void

ZoomToLevel() public méthode

${WP_mapping_Map_method_zoomToLevel_Int_D}
public ZoomToLevel ( int level ) : void
level int ${WP_mapping_Map_method_zoomToLevel_Int_param_level}
Résultat void

ZoomToLevel() public méthode

${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}
Résultat void

ZoomToResolution() public méthode

${WP_mapping_Map_method_zoomToResolution_Double_D}
public ZoomToResolution ( double resolution ) : void
resolution double ${WP_mapping_Map_method_zoomToResolution_Double_param_resolution}
Résultat void

ZoomToResolution() public méthode

${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}
Résultat void

ZoomToResolution() public méthode

public ZoomToResolution ( double resolution, Point2D center, bool skipAnimation ) : void
resolution double
center SuperMap.WindowsPhone.Core.Point2D
skipAnimation bool
Résultat void

ZoomToScale() public méthode

${WP_mapping_Map_method_zoomToScale_Int_D}
public ZoomToScale ( double scale ) : void
scale double ${WP_mapping_Map_method_zoomToScale_Int_param_scale}
Résultat void

ZoomToScale() public méthode

${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}
Résultat void

Property Details

AngleProperty public_oe static_oe property

${WP_pubilc_fields_identifies_sl} Angle ${WP_pubilc_fields_attachedproperty_sl}
public static DependencyProperty,System.Windows AngleProperty
Résultat System.Windows.DependencyProperty

ISDoubleTapProperty public_oe static_oe property

${WP_mapping_Map_attribute_field_isDoubleTapProperty_D}
public static DependencyProperty,System.Windows ISDoubleTapProperty
Résultat System.Windows.DependencyProperty

LayersProperty public_oe static_oe property

${WP_mapping_Map_field_layersProperty_D}
public static DependencyProperty,System.Windows LayersProperty
Résultat System.Windows.DependencyProperty

PanDurationProperty public_oe static_oe property

${WP_mapping_Map_field_PanDurationProperty_D}
public static DependencyProperty,System.Windows PanDurationProperty
Résultat System.Windows.DependencyProperty

PanFactorProperty public_oe static_oe property

${WP_mapping_Map_attribute_field_panFactorProperty_D}
public static DependencyProperty,System.Windows PanFactorProperty
Résultat System.Windows.DependencyProperty

ZoomDurationProperty public_oe static_oe property

${WP_mapping_Map_field_ZoomDurationProperty_D}
public static DependencyProperty,System.Windows ZoomDurationProperty
Résultat System.Windows.DependencyProperty

ZoomFactorProperty public_oe static_oe property

${WP_mapping_Map_attribute_field_zoomFactorProperty_D}
public static DependencyProperty,System.Windows ZoomFactorProperty
Résultat System.Windows.DependencyProperty