C# Class SuperMap.WindowsPhone.Mapping.Map

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

Public Properties

Property 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

Property 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

Public Methods

Method 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}

Protected Methods

Method 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

Method 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 method

${WP_mapping_Map_method_ArrangeOverride_D}
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size
return System.Windows.Size

CloseInfoWindow() public method

${WP_mapping_Map_method_closeInfoWindow_D}
public CloseInfoWindow ( ) : void
return void

GetNextResolution() public method

${WP_mapping_Map_method_getNextResolution_D}
public GetNextResolution ( bool plus ) : double
plus bool ${WP_mapping_Map_method_getNextResolution_param_plus}
return double

GetNextScale() public method

${WP_mapping_Map_method_getNextScale_D}
public GetNextScale ( bool plus ) : double
plus bool ${WP_mapping_Map_method_getNextScale_param_plus}
return double

Map() public method

${WP_mapping_Map_constructor_None_D}
public Map ( ) : SuperMap.WindowsPhone.Core
return SuperMap.WindowsPhone.Core

MapToScreen() public method

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

OnApplyTemplate() public method

${WP_mapping_Map_method_onApplyTemplate_D}
public OnApplyTemplate ( ) : void
return void

OnDoubleTap() protected method

protected OnDoubleTap ( GestureEventArgs e ) : void
e GestureEventArgs
return void

OnHold() protected method

protected OnHold ( GestureEventArgs e ) : void
e GestureEventArgs
return void

OnManipulationDelta() protected method

protected OnManipulationDelta ( System.Windows.Input.ManipulationDeltaEventArgs e ) : void
e System.Windows.Input.ManipulationDeltaEventArgs
return void

OnManipulationStarted() protected method

protected OnManipulationStarted ( System.Windows.Input.ManipulationStartedEventArgs e ) : void
e System.Windows.Input.ManipulationStartedEventArgs
return void

OnMouseEnter() protected method

${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}
return void

OnMouseLeave() protected method

${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}
return void

OnMouseLeftButtonDown() protected method

${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}
return void

OnMouseLeftButtonUp() protected method

${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}
return void

OnMouseMove() protected method

${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}
return void

OnTap() protected method

protected OnTap ( GestureEventArgs e ) : void
e GestureEventArgs
return void

OpenInfoWindow() public method

${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}
return void

OpenInfoWindow() public method

${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}
return void

Pan() public method

${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}
return void

PanByPixel() public method

${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}
return void

PanTo() public method

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

ScreenToMap() public method

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

ViewEntire() public method

${WP_mapping_Map_method_viewEntire_D}
public ViewEntire ( ) : void
return void

Zoom() public method

${WP_mapping_Map_method_zoom_D}
public Zoom ( double ratio ) : void
ratio double ${WP_mapping_Map_method_zoom_param_ratio}
return void

ZoomIn() public method

${WP_mapping_Map_method_zoomIn_D}
public ZoomIn ( ) : void
return void

ZoomOut() public method

${WP_mapping_Map_method_zoomOut_D}
public ZoomOut ( ) : void
return void

ZoomTo() public method

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

ZoomToLevel() public method

${WP_mapping_Map_method_zoomToLevel_Int_D}
public ZoomToLevel ( int level ) : void
level int ${WP_mapping_Map_method_zoomToLevel_Int_param_level}
return void

ZoomToLevel() public method

${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}
return void

ZoomToResolution() public method

${WP_mapping_Map_method_zoomToResolution_Double_D}
public ZoomToResolution ( double resolution ) : void
resolution double ${WP_mapping_Map_method_zoomToResolution_Double_param_resolution}
return void

ZoomToResolution() public method

${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}
return void

ZoomToResolution() public method

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

ZoomToScale() public method

${WP_mapping_Map_method_zoomToScale_Int_D}
public ZoomToScale ( double scale ) : void
scale double ${WP_mapping_Map_method_zoomToScale_Int_param_scale}
return void

ZoomToScale() public method

${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}
return 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
return System.Windows.DependencyProperty

ISDoubleTapProperty public_oe static_oe property

${WP_mapping_Map_attribute_field_isDoubleTapProperty_D}
public static DependencyProperty,System.Windows ISDoubleTapProperty
return System.Windows.DependencyProperty

LayersProperty public_oe static_oe property

${WP_mapping_Map_field_layersProperty_D}
public static DependencyProperty,System.Windows LayersProperty
return System.Windows.DependencyProperty

PanDurationProperty public_oe static_oe property

${WP_mapping_Map_field_PanDurationProperty_D}
public static DependencyProperty,System.Windows PanDurationProperty
return System.Windows.DependencyProperty

PanFactorProperty public_oe static_oe property

${WP_mapping_Map_attribute_field_panFactorProperty_D}
public static DependencyProperty,System.Windows PanFactorProperty
return System.Windows.DependencyProperty

ZoomDurationProperty public_oe static_oe property

${WP_mapping_Map_field_ZoomDurationProperty_D}
public static DependencyProperty,System.Windows ZoomDurationProperty
return System.Windows.DependencyProperty

ZoomFactorProperty public_oe static_oe property

${WP_mapping_Map_attribute_field_zoomFactorProperty_D}
public static DependencyProperty,System.Windows ZoomFactorProperty
return System.Windows.DependencyProperty