C# Class ESRI.ArcGIS.Client.Toolkit.OverviewMap

Inheritance: System.Windows.Controls.Control
显示文件 Open project: Esri/arcgis-toolkit-sl-wpf Class Usage Examples

Public Properties

Property Type Description
IsStaticProperty System.Windows.DependencyProperty
LayerProperty System.Windows.DependencyProperty
MapProperty System.Windows.DependencyProperty
MaximumExtentProperty System.Windows.DependencyProperty

Public Methods

Method Description
OnApplyTemplate ( ) : void

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call M:System.Windows.Controls.Control.ApplyTemplate.

Protected Methods

Method Description
ArrangeOverride ( Size finalSize ) : Size

Provides the behavior for the "Arrange" pass of Silverlight layout. Classes can override this method to define their own arrange pass behavior.

Private Methods

Method Description
AOI_MouseLeftButtonDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
AOI_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
AOI_MouseMove ( object sender, System.Windows.Input.MouseEventArgs e ) : void
CreateDateLineExtent ( Polygon polygon ) : Envelope
Layer_LayersInitialized ( object sender, EventArgs args ) : void

Sets extents, limits, and events after layers have been initialized

NeedUpdate ( MapPoint newCenter, MapPoint currentCenter, double resolution ) : bool
NormalizeExtent ( Envelope extent ) : Envelope
OnIsStaticPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnLayerPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMapPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnMaximumExtentPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OverviewMap ( ) : System

Static initialization for the OverviewMap control.

UpdateAOI ( ) : void

Sets size and position of AOI Box

UpdateExtentToMaixumExtent ( ) : void
UpdateMap ( ) : void

Set new map extent of main map control. Called after AOI Box has been repositioned by user

UpdateOVMap ( ) : void

Determines if the OverviewMap extent should be changed. If so, set new extent and call ZoomTo or PanTo. If not, send to UpdateAOI

UpdateOVMap ( object sender, ESRI e ) : void

Overload of UpdateOVMap - ExtentEventHandler version

ZoomFullExtent ( ) : void
ZoomToNewExtent ( ) : void
map_RotationChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

ArrangeOverride() protected method

Provides the behavior for the "Arrange" pass of Silverlight layout. Classes can override this method to define their own arrange pass behavior.
protected ArrangeOverride ( Size finalSize ) : Size
finalSize System.Windows.Size The final area within the parent that this /// object should use to arrange itself and its children.
return System.Windows.Size

OnApplyTemplate() public method

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call M:System.Windows.Controls.Control.ApplyTemplate.
public OnApplyTemplate ( ) : void
return void

Property Details

IsStaticProperty public_oe static_oe property

Identifies the IsStatic dependency property.
public static DependencyProperty,System.Windows IsStaticProperty
return System.Windows.DependencyProperty

LayerProperty public_oe static_oe property

Identifies the Layer dependency property.
public static DependencyProperty,System.Windows LayerProperty
return System.Windows.DependencyProperty

MapProperty public_oe static_oe property

Identifies the Map dependency property.
public static DependencyProperty,System.Windows MapProperty
return System.Windows.DependencyProperty

MaximumExtentProperty public_oe static_oe property

Identifies the MaximumExtent dependency property.
public static DependencyProperty,System.Windows MaximumExtentProperty
return System.Windows.DependencyProperty