Products
Professional Services
Demos and Downloads
Help and Support
Products
Professional Services
Demos and Downloads
Help and Support
This is an old revision of the document!
<!– Class –> This class represents the main Silverlight map control.
*System.Object System.Windows.DependencyObject *System.Windows.UIElement System.Windows.FrameworkElement *System.Windows.Controls.Panel System.Windows.Controls.Canvas *ThinkGeo.MapSuite.SilverlightEdition.Map
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
Map | This is the constructor of Map class. |
| Name | Parameters | DeclaringType | Summary |
|---|
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
AddHandler | RoutedEvent, Delegate, Boolean | UIElement | |
Arrange | Rect | UIElement | |
CaptureMouse | UIElement | ||
CheckAccess | DependencyObject | ||
ClearValue | DependencyProperty | DependencyObject | |
Equals | Object | Object | |
FindName | String | FrameworkElement | |
GetAnimationBaseValue | DependencyProperty | DependencyObject | |
GetBindingExpression | DependencyProperty | FrameworkElement | |
GetClosestZoomLevelIdFromResolution | Double | This method gets closest zoomLevel index from the resolution. | |
GetClosestZoomLevelIdFromScale | Double | This method gets closest zoomLevel index from the scale. | |
GetHashCode | Object | ||
GetResolutionFromZoomLevelId | Int32 | This method gets resolution from the zoomLevel index from the ClientZoomLevelScales. | |
GetScaleFromZoomLevelId | Int32 | This method gets scale from the zoomLevel index. | |
GetType | Object | ||
GetValue | DependencyProperty | DependencyObject | |
InvalidateArrange | UIElement | ||
InvalidateMeasure | UIElement | ||
Measure | Size | UIElement | |
MoveTo | PointShape | This method moves the map to the center PointShape that you specify. | |
MoveTo | Point | This method moves the map to the center that you specify. | |
OnApplyTemplate | FrameworkElement | ||
Pan | PanDirection, Int32 | This method moves the map by the specified angle and the percentage of the current extent. | |
Pan | Double, Double | This method move the map by the offset of the current extent. | |
Pan | Single, Int32 | This method moves the map by the specified angle and the percentage of the current extent. | |
ReadLocalValue | DependencyProperty | DependencyObject | |
Refresh | This method refreshes all the overlays and map tools configed on the map. | ||
ReleaseMouseCapture | UIElement | ||
RemoveHandler | RoutedEvent, Delegate | UIElement | |
SetBinding | DependencyProperty, Binding | FrameworkElement | |
SetValue | DependencyProperty, Object | DependencyObject | |
ToScreenCoordinate | PointShape | This method converts a specified PointShape in world coordinates to a point shape in screen coordinates. | |
ToScreenCoordinate | Point | This method converts a specified PointShape in world coordinates to a point shape in screen coordinates. | |
ToScreenCoordinate | Double, Double | This method converts a specified X, Y world coordinates to a point shape in screen coordinates. | |
ToString | Object | ||
ToWorldCoordinate | Double, Double | This method converts a specified X, Y screen coordinates to a point shape in world coordinates. | |
ToWorldCoordinate | Point | This method converts a point shape in world coordinates from a ScreenPointF structure. | |
ToWorldCoordinate | PointShape | This method converts a PointShape in screen coordinates to a point shape in world coordinates. | |
TransformToVisual | UIElement | UIElement | |
UpdateLayout | UIElement | ||
ZoomIn | This method zooms the map in to the next scale of the ClientZoomLevelScales collection. | ||
ZoomOut | This method zooms the map out to the previous scale in the ClientZoomLevelScales collection. | ||
ZoomTo | Point, Int32 | This method zooms the map to the center point and the client zoomlevel number that you specify. | |
ZoomTo | RectangleShape | This method zooms the map to the extent that you specify. | |
ZoomTo | PointShape, Int32 | This method zooms the map to the center point and the client zoomlevel number that you specify. | |
ZoomToScale | Double | This method zooms the map to a specific scale. |
| Name | Parameters | DeclaringType | Summary |
|---|---|---|---|
ArrangeOverride | Size | FrameworkElement(overriden) | |
Finalize | Object | ||
MeasureOverride | Size | FrameworkElement(overriden) | |
MemberwiseClone | Object | ||
OnClick | MapClickEventArgs | This method raises the Click event of the Map object. | |
OnCreateAutomationPeer | UIElement | ||
OnDoubleClick | MapClickEventArgs | This method raises the DoubleClick event of the Map object. | |
OnExtentChanged | ExtentChangedEventArgs | This event raises the ExtentChanged event of the Map object. | |
OnExtentChanging | ExtentChangingEventArgs | This method raises the ExtentChanging event of the Map object. |
| Name | Return | DeclaringType | Summary |
|---|---|---|---|
ActiveBaseOverlay | Overlay | Gets or sets the active base overlay. | |
ActualHeight | Double | FrameworkElement | |
ActualWidth | Double | FrameworkElement | |
Background | Brush | Panel | |
CacheMode | CacheMode | UIElement | |
Children | UIElementCollection | Panel | |
Clip | Geometry | UIElement | |
CurrentCenter | PointShape | Gets a PointShape value that indicates current center of the map. | |
CurrentExtent | RectangleShape | Gets or sets the current extent of the map. | |
CurrentResolution | Double | Gets a double value that indicates the current resolution of the map. | |
CurrentScale | Double | Gets a double value that indicates the current scale of the map. | |
CurrentZoomLevelId | Int32 | Gets a integar value that indicates current zoom level id. | |
Cursor | Cursor | FrameworkElement | |
DataContext | Object | FrameworkElement | |
DesiredSize | Size | UIElement | |
Dispatcher | Dispatcher | DependencyObject | |
EditOverlay | EditInteractiveOverlay | Gets or sets an InteractiveOverlay which maintain the algorism of Editing. | |
Effect | Effect | UIElement | |
ExtentInteractiveOverlay | ExtentInteractiveOverlay | Gets or sets an InteractiveOverlay which mantains the navigation of the map. | |
Height | Double | FrameworkElement | |
HorizontalAlignment | HorizontalAlignment | FrameworkElement | |
InteractiveOverlays | GeoCollection<Overlay> | Gets an collection which holds all kind of InteractiveOverlay. | |
IsHitTestVisible | Boolean | UIElement | |
IsItemsHost | Boolean | Panel | |
Language | XmlLanguage | FrameworkElement | |
LayoutPanel | Grid | Gets a grid panel for maintaining map tools. | |
MapTools | MapTools | Gets an object that contains all types of predefined map controls. | |
MapUnit | GeographyUnit | Gets or sets the GeographyUnit for the map. | |
Margin | Thickness | FrameworkElement | |
MaxExtent | RectangleShape | Gets the max extent of the map in current map unit. | |
MaxHeight | Double | FrameworkElement | |
MaxWidth | Double | FrameworkElement | |
MinHeight | Double | FrameworkElement | |
MinWidth | Double | FrameworkElement | |
Name | String | FrameworkElement | |
Opacity | Double | UIElement | |
OpacityMask | Brush | UIElement | |
Overlays | GeoCollection<Overlay> | Gets an Overlay collection which you can add different types of overlays. | |
Parent | DependencyObject | FrameworkElement | |
Popups | GeoCollection<GeoPopup> | Gets a Popup collection that holds all the popups in the map. | |
Projection | Projection | UIElement | |
RenderSize | Size | UIElement | |
RenderTransform | Transform | UIElement | |
RenderTransformOrigin | Point | UIElement | |
Resources | ResourceDictionary | FrameworkElement | |
RestrictedExtent | RectangleShape | Gets or sets the restricted extent of the map. | |
Style | Style | FrameworkElement | |
Tag | Object | FrameworkElement | |
TrackOverlay | TrackInteractiveOverlay | Gets or sets an InteractiveOverlay which maintain the algorism of Tracking Shape. | |
Triggers | TriggerCollection | FrameworkElement | |
UseLayoutRounding | Boolean | UIElement | |
VerticalAlignment | VerticalAlignment | FrameworkElement | |
Visibility | Visibility | UIElement | |
Width | Double | FrameworkElement | |
ZoomLevelSet | ZoomLevelSet |
| Name | Return | DeclaringType | Summary |
|---|
| Name | Event Arguments | DeclaringType | Summary |
|---|---|---|---|
BindingValidationError | ValidationErrorEventArgs | FrameworkElement | |
Click | MapClickEventArgs | This event is raised when the map is clicked. | |
DoubleClick | MapClickEventArgs | This event is raised when the map is double clicked. | |
ExtentChanged | ExtentChangedEventArgs | This event is raised after map's extent changed. | |
ExtentChanging | ExtentChangingEventArgs | This event is raised before current extent of map changing. | |
GotFocus | RoutedEventArgs | UIElement | |
KeyDown | KeyEventArgs | UIElement | |
KeyUp | KeyEventArgs | UIElement | |
LayoutUpdated | EventArgs | FrameworkElement | |
Loaded | RoutedEventArgs | FrameworkElement | |
LostFocus | RoutedEventArgs | UIElement | |
LostMouseCapture | MouseEventArgs | UIElement | |
MouseEnter | MouseEventArgs | UIElement | |
MouseLeave | MouseEventArgs | UIElement | |
MouseLeftButtonDown | MouseButtonEventArgs | UIElement | |
MouseLeftButtonUp | MouseButtonEventArgs | UIElement | |
MouseMove | MouseEventArgs | UIElement | |
MouseWheel | MouseWheelEventArgs | UIElement | |
SizeChanged | SizeChangedEventArgs | FrameworkElement |
This is the constructor of Map class.
The map class inherits from the Canvas control, so it can be defined onto the page or be created and added to a page via code like the Canvas control itself. You also need to configure the properties of the map. The most important step is adding overlays, which generate images, shapes, and stack them over each other to form a map. The map control has many methods and events through which you can interact with it.
| Name | Type | Description |
|---|
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| routedEvent | RoutedEvent<!– System.Windows.RoutedEvent –> | |
| handler | Delegate<!– System.Delegate –> | |
| handledEventsToo | Boolean<!– System.Boolean –> |
<!– System.Windows.UIElement –> Go Back
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| finalRect | Rect<!– System.Windows.Rect –> |
<!– System.Windows.UIElement –> Go Back
| Return Type | Description |
|---|---|
| Boolean<!– System.Boolean –> |
| Name | Type | Description |
|---|
<!– System.Windows.UIElement –> Go Back
| Return Type | Description |
|---|---|
| Boolean<!– System.Boolean –> |
| Name | Type | Description |
|---|
<!– System.Windows.DependencyObject –> Go Back
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| dp | DependencyProperty<!– System.Windows.DependencyProperty –> |
<!– System.Windows.DependencyObject –> Go Back
| Return Type | Description |
|---|---|
| Boolean<!– System.Boolean –> |
| Name | Type | Description |
|---|---|---|
| obj | Object<!– System.Object –> |
<!– System.Object –> Go Back
| Return Type | Description |
|---|---|
| Object<!– System.Object –> |
| Name | Type | Description |
|---|---|---|
| name | String<!– System.String –> |
<!– System.Windows.FrameworkElement –> Go Back
| Return Type | Description |
|---|---|
| Object<!– System.Object –> |
| Name | Type | Description |
|---|---|---|
| dp | DependencyProperty<!– System.Windows.DependencyProperty –> |
<!– System.Windows.DependencyObject –> Go Back
| Return Type | Description |
|---|---|
| BindingExpression<!– System.Windows.Data.BindingExpression –> |
| Name | Type | Description |
|---|---|---|
| dp | DependencyProperty<!– System.Windows.DependencyProperty –> |
<!– System.Windows.FrameworkElement –> Go Back
This method gets closest zoomLevel index from the resolution.
It returns the map zoomlevel whose resolution is nearest to the ClientZoomLevelScales specified.
Resolution = world coordinate length per screen pixel.
| Return Type | Description |
|---|---|
| Int32<!– System.Int32 –> | The closest zoomLevel index that you defined in the ClientZoomLevelScales. |
| Name | Type | Description |
|---|---|---|
| resolution | Double<!– System.Double –> | A double value of resolution to get the closest zoomLevel index. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This method gets closest zoomLevel index from the scale.
This method gets closest zoomLevel index from the scale.
It returns the map zoomlevel index whose scale is nearest to the ClientZoomLevelScales specified.
| Return Type | Description |
|---|---|
| Int32<!– System.Int32 –> | The closest zoomLevel index that you defined in the ClientZoomLevelScales. |
| Name | Type | Description |
|---|---|---|
| scale | Double<!– System.Double –> | A double value of scale to get the closest zoomLevel index. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type | Description |
|---|---|
| Int32<!– System.Int32 –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
This method gets resolution from the zoomLevel index from the ClientZoomLevelScales.
This method gets resolution from the zoomLevel index from the ClientZoomLevelScales.
Resolution = world coordinate length per screen pixel.
| Return Type | Description |
|---|---|
| Double<!– System.Double –> | The resolution of the zoomLevelId that you defined in the ClientZoomLevelScales. |
| Name | Type | Description |
|---|---|---|
| zoomLevelId | Int32<!– System.Int32 –> | The zoom level index in the ClientZoomLevelScales collection. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This method gets scale from the zoomLevel index.
This method gets scale from the zoomLevel index.
| Return Type | Description |
|---|---|
| Double<!– System.Double –> | Returns the scale of the zoomLevelId that you defined in the ClientZoomLevelScales. |
| Name | Type | Description |
|---|---|---|
| zoomLevelId | Int32<!– System.Int32 –> | ZoomLevel index in the ClientZoomLevelScales collection. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type | Description |
|---|---|
| Type<!– System.Type –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
| Return Type | Description |
|---|---|
| Object<!– System.Object –> |
| Name | Type | Description |
|---|---|---|
| dp | DependencyProperty<!– System.Windows.DependencyProperty –> |
<!– System.Windows.DependencyObject –> Go Back
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|
<!– System.Windows.UIElement –> Go Back
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|
<!– System.Windows.UIElement –> Go Back
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| availableSize | Size<!– System.Windows.Size –> |
<!– System.Windows.UIElement –> Go Back
This method moves the map to the center PointShape that you specify.
Move the map to the center PointShape that you specify.
This method moves the map to the center PointShape that you specify. It keeps current scale.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| targetCenter | PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | The target world center PointShape of the map. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This method moves the map to the center that you specify.
Move the map to the center Point that you specify.
This method moves the map to the center that you specify. It keeps current scale.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| targetCenter | Point<!– System.Windows.Point –> | The target world center Point of the map. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|
<!– System.Windows.FrameworkElement –> Go Back
This method moves the map by the specified angle and the percentage of the current extent.
Moves the map by a certain offset.
This method moves the map by the angle and the percentage that you specify.
The angle starts from the east and increases counterclockwise. For example, angle 0 represents precisely east and angle 90 represents precisely north.
The percentage specifies the offset related to the current extent. If the percentage is 20, the panning offset in the X direction is <strong>CurrentExtent.Width* 0.2</strong> and the offset in the Y direction is <strong>CurrentExtent.Height*0.2</strong>.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| panDirection | PanDirection<!– ThinkGeo.MapSuite.SilverlightCore.PanDirection –> | The panning direction. |
| percentage | Int32<!– System.Int32 –> | The percentage of the current extent. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This method move the map by the offset of the current extent.
Moves the map by a certain offset in screen coordinate.
This method move the map by the offset of the current extent.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| offsetScreenX | Double<!– System.Double –> | The x offset in screen coordinate that determines the panning. |
| offsetScreenY | Double<!– System.Double –> | The y offset in screen coordinate that determines the panning. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This method moves the map by the specified angle and the percentage of the current extent.
Moves the map by a certain offset.
This method moves the map by the angle and the percentage that you specify.
The angle starts from the east and increases counterclockwise. For example, angle 0 represents precisely east and angle 90 represents precisely north.
The percentage specifies the offset related to the current extent. If the percentage is 20, the panning offset in the X direction is <strong>CurrentExtent.Width* 0.2</strong> and the offset in the Y direction is <strong>CurrentExtent.Height*0.2</strong>.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| degree | Single<!– System.Single –> | The angle value that determines the panning direction. |
| percentage | Int32<!– System.Int32 –> | The percentage of the current extent. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type | Description |
|---|---|
| Object<!– System.Object –> |
| Name | Type | Description |
|---|---|---|
| dp | DependencyProperty<!– System.Windows.DependencyProperty –> |
<!– System.Windows.DependencyObject –> Go Back
This method refreshes all the overlays and map tools configed on the map.
This method refreshes all the overlays and map tools configed on the map. Please call it when your change related properties such as overlays and styles.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|
<!– System.Windows.UIElement –> Go Back
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| routedEvent | RoutedEvent<!– System.Windows.RoutedEvent –> | |
| handler | Delegate<!– System.Delegate –> |
<!– System.Windows.UIElement –> Go Back
| Return Type | Description |
|---|---|
| BindingExpressionBase<!– System.Windows.Data.BindingExpressionBase –> |
| Name | Type | Description |
|---|---|---|
| dp | DependencyProperty<!– System.Windows.DependencyProperty –> | |
| binding | Binding<!– System.Windows.Data.Binding –> |
<!– System.Windows.FrameworkElement –> Go Back
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| dp | DependencyProperty<!– System.Windows.DependencyProperty –> | |
| value | Object<!– System.Object –> |
<!– System.Windows.DependencyObject –> Go Back
This method converts a specified PointShape in world coordinates to a point shape in screen coordinates.
This method converts a specified PointShape in world coordinates to a point shape in screen coordinates.
This method converts the coordinates of a point shape to a point in screen coordinates.
| Return Type | Description |
|---|---|
| PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | A screen point in pixels. |
| Name | Type | Description |
|---|---|---|
| worldCoordinate | PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | A point shape in world coordinates. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This method converts a specified PointShape in world coordinates to a point shape in screen coordinates.
This method converts a specified PointShape in world coordinates to a point shape in screen coordinates.
This method converts the coordinates of a point shape to a point in screen coordinates.
| Return Type | Description |
|---|---|
| PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | A screen point in pixels. |
| Name | Type | Description |
|---|---|---|
| worldCoordinate | Point<!– System.Windows.Point –> | A point in world coordinates. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This method converts a specified X, Y world coordinates to a point shape in screen coordinates.
This method converts a specified X, Y world coordinates to a point shape in screen coordinates.
This method converts X, Y world coordinates to a point in screen coordinates.
| Return Type | Description |
|---|---|
| PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | A screen point in pixels. |
| Name | Type | Description |
|---|---|---|
| worldX | Double<!– System.Double –> | The X world coordinate. |
| worldY | Double<!– System.Double –> | The Y world coordinate. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type | Description |
|---|---|
| String<!– System.String –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
This method converts a specified X, Y screen coordinates to a point shape in world coordinates.
This method converts a specified X, Y screen coordinates to a point shape in world coordinates.
This method converts X, Y screen coordinates to a point shape in world coodinates.
| Return Type | Description |
|---|---|
| PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | A point shape in world coordinates. |
| Name | Type | Description |
|---|---|---|
| screenX | Double<!– System.Double –> | The X-value in pixels referenced to the screen origin. |
| screenY | Double<!– System.Double –> | The Y-value in pixels referenced to the screen origin. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This method converts a point shape in world coordinates from a ScreenPointF structure.
This method converts a point shape in world coordinates from a ScreenPointF structure.
This method converts a screen point to a point in world coordinates.
| Return Type | Description |
|---|---|
| PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | A point shape in world coordinates. |
| Name | Type | Description |
|---|---|---|
| screenCoordinate | Point<!– System.Windows.Point –> | The point (in screen coordinates) to convert to world coordinates. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This method converts a PointShape in screen coordinates to a point shape in world coordinates.
This method converts a PointShape in screen coordinates to a point shape in world coordinates.
This method converts a screen point to a point in world coordinates.
| Return Type | Description |
|---|---|
| PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | A point shape in world coordinates. |
| Name | Type | Description |
|---|---|---|
| screenCoordinate | PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | The point (in screen coordinates) to convert to world coordinates. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type | Description |
|---|---|
| GeneralTransform<!– System.Windows.Media.GeneralTransform –> |
| Name | Type | Description |
|---|---|---|
| visual | UIElement<!– System.Windows.UIElement –> |
<!– System.Windows.UIElement –> Go Back
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|
<!– System.Windows.UIElement –> Go Back
This method zooms the map in to the next scale of the ClientZoomLevelScales collection.
This method zooms the map in to the next scale of the ClientZoomLevelScales collection.
If the new scale is the last scale in the collection, it keeps current level and does not change.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This method zooms the map out to the previous scale in the ClientZoomLevelScales collection.
This method zooms the map out to the previous scale in the ClientZoomLevelScales collection.
If the new scale is the first scale in the collection, it keeps current level and does not change.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This method zooms the map to the center point and the client zoomlevel number that you specify.
Zoom the map to the center and zoomlevel number that you specify.
The map will be panned to the new center and zoomed to the zoomlevel number compare to the ClientZoomScales that you specify.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| targetCenter | Point<!– System.Windows.Point –> | The target world center point of the map. |
| zoomLevelId | Int32<!– System.Int32 –> | The target zoomlevel index that the map will zoom to. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This method zooms the map to the extent that you specify.
Zooms the map to the extent that you specify.
The map will be panned to the center and zoomlevel of the extent that you specify.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| targetWorldExtent | RectangleShape<!– ThinkGeo.MapSuite.SilverlightCore.RectangleShape –> | The new world extent of the map. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This method zooms the map to the center point and the client zoomlevel number that you specify.
ZoomTo(PointShape, int)ZoomTo(Point, int)
The map will be panned to the new center and zoomed to the zoomlevel number compare to the ClientZoomScales that you specify.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| targetCenter | PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> | The target world center pointShape of the map. |
| zoomLevelId | Int32<!– System.Int32 –> | The target zoomlevel index that the map will zoom to. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This method zooms the map to a specific scale.
This method will not affect the center of the map. It zooms the map to the zoomlevel whose scale is larger and nearest to the scale specified. For example, if you specify a scale that is between two zoomlevels, the map will snap to the nearest upper zoomlevel. So the map's final scale might not be equal to the specified scale after you call this method.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| targetScale | Double<!– System.Double –> | The new scale the map will zoom to. If the specific target scale is now in the ClientZoomLevelScales, it automatically snaps to the closest level. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type | Description |
|---|---|
| Size<!– System.Windows.Size –> |
| Name | Type | Description |
|---|---|---|
| arrangeSize | Size<!– System.Windows.Size –> |
<!– System.Windows.FrameworkElement(overriden) –> Go Back
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
| Return Type | Description |
|---|---|
| Size<!– System.Windows.Size –> |
| Name | Type | Description |
|---|---|---|
| constraint | Size<!– System.Windows.Size –> |
<!– System.Windows.FrameworkElement(overriden) –> Go Back
| Return Type | Description |
|---|---|
| Object<!– System.Object –> |
| Name | Type | Description |
|---|
<!– System.Object –> Go Back
This method raises the Click event of the Map object.
The <strong>OnClick</strong> method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
<strong>Notes to Inheritors:</strong> When overriding <strong>OnClick</strong> in a derived class, be sure to call the base class's <strong>OnClick</strong> method so that registered delegates receive the event.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| e | MapClickEventArgs<!– ThinkGeo.MapSuite.SilverlightEdition.MapClickEventArgs –> | The MapClickEventArgs that contains event data. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type | Description |
|---|---|
| AutomationPeer<!– System.Windows.Automation.Peers.AutomationPeer –> |
| Name | Type | Description |
|---|
<!– System.Windows.UIElement –> Go Back
This method raises the DoubleClick event of the Map object.
The <strong>DoubleClick</strong> method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
<strong>Notes to Inheritors:</strong> When overriding <strong>OnDoubleClick</strong> in a derived class, be sure to call the base class's <strong>OnDoubleClick</strong> method so that registered delegates receive the event.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| e | MapClickEventArgs<!– ThinkGeo.MapSuite.SilverlightEdition.MapClickEventArgs –> | The MapClickEventArgs that contains event data. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This event raises the ExtentChanged event of the Map object.
The <strong>OnExtentChanged</strong> method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
<strong>Notes to Inheritors:</strong> When overriding <strong>OnExtentChanged</strong> in a derived class, be sure to call the base class's <strong>OnExtentChanged</strong> method so that registered delegates receive the event.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| e | ExtentChangedEventArgs<!– ThinkGeo.MapSuite.SilverlightEdition.ExtentChangedEventArgs –> | The MapClickEventArgs that contains event data. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This method raises the ExtentChanging event of the Map object.
The <strong>OnExtentChanging</strong> method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
<strong>Notes to Inheritors:</strong> When overriding <strong>OnExtentChanging</strong> in a derived class, be sure to call the base class's <strong>OnExtentChanging</strong> method so that registered delegates receive the event.
| Return Type | Description |
|---|---|
| Void<!– System.Void –> |
| Name | Type | Description |
|---|---|---|
| e | ExtentChangingEventArgs<!– ThinkGeo.MapSuite.SilverlightEdition.ExtentChangingEventArgs –> | The MapClickEventArgs that contains event data. |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
Gets or sets the active base overlay.
The map can contain multiple base overlays, though only one of them can be displayed at a time. The <strong>ActiveBaseOverlay</strong> property specifies the one that is currently displayed. When you switch the base overlays in the <strong>OverlaySwitcher</strong>, the currently selected overlay will be synchronized to this property after postback.
| Return Type |
|---|
| Overlay<!– ThinkGeo.MapSuite.SilverlightEdition.Overlay –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type |
|---|
| Double<!– System.Double –> |
<!– System.Windows.FrameworkElement –> Go Back
| Return Type |
|---|
| Double<!– System.Double –> |
<!– System.Windows.FrameworkElement –> Go Back
| Return Type |
|---|
| Brush<!– System.Windows.Media.Brush –> |
<!– System.Windows.Controls.Panel –> Go Back
| Return Type |
|---|
| CacheMode<!– System.Windows.Media.CacheMode –> |
<!– System.Windows.UIElement –> Go Back
| Return Type |
|---|
| UIElementCollection<!– System.Windows.Controls.UIElementCollection –> |
<!– System.Windows.Controls.Panel –> Go Back
| Return Type |
|---|
| Geometry<!– System.Windows.Media.Geometry –> |
<!– System.Windows.UIElement –> Go Back
Gets a PointShape value that indicates current center of the map.
| Return Type |
|---|
| PointShape<!– ThinkGeo.MapSuite.SilverlightCore.PointShape –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
Gets or sets the current extent of the map.
| Return Type |
|---|
| RectangleShape<!– ThinkGeo.MapSuite.SilverlightCore.RectangleShape –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
Gets a double value that indicates the current resolution of the map.
| Return Type |
|---|
| Double<!– System.Double –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
Gets a double value that indicates the current scale of the map.
| Return Type |
|---|
| Double<!– System.Double –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
Gets a integar value that indicates current zoom level id.
| Return Type |
|---|
| Int32<!– System.Int32 –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type |
|---|
| Cursor<!– System.Windows.Input.Cursor –> |
<!– System.Windows.FrameworkElement –> Go Back
| Return Type |
|---|
| Object<!– System.Object –> |
<!– System.Windows.FrameworkElement –> Go Back
| Return Type |
|---|
| Size<!– System.Windows.Size –> |
<!– System.Windows.UIElement –> Go Back
| Return Type |
|---|
| Dispatcher<!– System.Windows.Threading.Dispatcher –> |
<!– System.Windows.DependencyObject –> Go Back
Gets or sets an InteractiveOverlay which maintain the algorism of Editing.
Gets or sets an InteractiveOverlay which maintain the algorism of Editing Shape.
| Return Type |
|---|
| EditInteractiveOverlay<!– ThinkGeo.MapSuite.SilverlightEdition.EditInteractiveOverlay –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type |
|---|
| Effect<!– System.Windows.Media.Effects.Effect –> |
<!– System.Windows.UIElement –> Go Back
Gets or sets an InteractiveOverlay which mantains the navigation of the map.
Gets or sets an InteractiveOverlay which mantains the navigation of the map such as panning, zooming etc.
| Return Type |
|---|
| ExtentInteractiveOverlay<!– ThinkGeo.MapSuite.SilverlightEdition.ExtentInteractiveOverlay –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type |
|---|
| Double<!– System.Double –> |
<!– System.Windows.FrameworkElement –> Go Back
| Return Type |
|---|
| HorizontalAlignment<!– System.Windows.HorizontalAlignment –> |
<!– System.Windows.FrameworkElement –> Go Back
Gets an collection which holds all kind of InteractiveOverlay.
| Return Type |
|---|
| GeoCollection<Overlay><!– ThinkGeo.MapSuite.SilverlightCore.GeoCollection{ThinkGeo.MapSuite.SilverlightEdition.Overlay} –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type |
|---|
| Boolean<!– System.Boolean –> |
<!– System.Windows.UIElement –> Go Back
| Return Type |
|---|
| Boolean<!– System.Boolean –> |
<!– System.Windows.Controls.Panel –> Go Back
| Return Type |
|---|
| XmlLanguage<!– System.Windows.Markup.XmlLanguage –> |
<!– System.Windows.FrameworkElement –> Go Back
Gets a grid panel for maintaining map tools.
Gets a grid panel for maintaining map tools. The tools are layouted by the column and row index in the Grid Panel.
It accepts the custom Silverlight controls as well.
| Return Type |
|---|
| Grid<!– System.Windows.Controls.Grid –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
Gets an object that contains all types of predefined map controls.
The property returns an object that contains all types of predefined map controls. Such as mouse coordinates etc.
| Return Type |
|---|
| MapTools<!– ThinkGeo.MapSuite.SilverlightEdition.MapTools –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
Gets or sets the GeographyUnit for the map.
| Return Type |
|---|
| GeographyUnit<!– ThinkGeo.MapSuite.SilverlightCore.GeographyUnit –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type |
|---|
| Thickness<!– System.Windows.Thickness –> |
<!– System.Windows.FrameworkElement –> Go Back
Gets the max extent of the map in current map unit.
| Return Type |
|---|
| RectangleShape<!– ThinkGeo.MapSuite.SilverlightCore.RectangleShape –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type |
|---|
| Double<!– System.Double –> |
<!– System.Windows.FrameworkElement –> Go Back
| Return Type |
|---|
| Double<!– System.Double –> |
<!– System.Windows.FrameworkElement –> Go Back
| Return Type |
|---|
| Double<!– System.Double –> |
<!– System.Windows.FrameworkElement –> Go Back
| Return Type |
|---|
| Double<!– System.Double –> |
<!– System.Windows.FrameworkElement –> Go Back
| Return Type |
|---|
| String<!– System.String –> |
<!– System.Windows.FrameworkElement –> Go Back
| Return Type |
|---|
| Double<!– System.Double –> |
<!– System.Windows.UIElement –> Go Back
| Return Type |
|---|
| Brush<!– System.Windows.Media.Brush –> |
<!– System.Windows.UIElement –> Go Back
Gets an Overlay collection which you can add different types of overlays.
You can create any type of Overlay object and add it to the Overlays collection. The overlays will be stack by its adding order.
| Return Type |
|---|
| GeoCollection<Overlay><!– ThinkGeo.MapSuite.SilverlightCore.GeoCollection{ThinkGeo.MapSuite.SilverlightEdition.Overlay} –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type |
|---|
| DependencyObject<!– System.Windows.DependencyObject –> |
<!– System.Windows.FrameworkElement –> Go Back
Gets a Popup collection that holds all the popups in the map.
| Return Type |
|---|
| GeoCollection<GeoPopup><!– ThinkGeo.MapSuite.SilverlightCore.GeoCollection{ThinkGeo.MapSuite.SilverlightEdition.GeoPopup} –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type |
|---|
| Projection<!– System.Windows.Media.Projection –> |
<!– System.Windows.UIElement –> Go Back
| Return Type |
|---|
| Size<!– System.Windows.Size –> |
<!– System.Windows.UIElement –> Go Back
| Return Type |
|---|
| Transform<!– System.Windows.Media.Transform –> |
<!– System.Windows.UIElement –> Go Back
| Return Type |
|---|
| Point<!– System.Windows.Point –> |
<!– System.Windows.UIElement –> Go Back
| Return Type |
|---|
| ResourceDictionary<!– System.Windows.ResourceDictionary –> |
<!– System.Windows.FrameworkElement –> Go Back
Gets or sets the restricted extent of the map.
| Return Type |
|---|
| RectangleShape<!– ThinkGeo.MapSuite.SilverlightCore.RectangleShape –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type |
|---|
| Style<!– System.Windows.Style –> |
<!– System.Windows.FrameworkElement –> Go Back
| Return Type |
|---|
| Object<!– System.Object –> |
<!– System.Windows.FrameworkElement –> Go Back
Gets or sets an InteractiveOverlay which maintain the algorism of Tracking Shape.
Gets or sets an InteractiveOverlay which maintain the algorism of Tracking.
| Return Type |
|---|
| TrackInteractiveOverlay<!– ThinkGeo.MapSuite.SilverlightEdition.TrackInteractiveOverlay –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Return Type |
|---|
| TriggerCollection<!– System.Windows.TriggerCollection –> |
<!– System.Windows.FrameworkElement –> Go Back
| Return Type |
|---|
| Boolean<!– System.Boolean –> |
<!– System.Windows.UIElement –> Go Back
| Return Type |
|---|
| VerticalAlignment<!– System.Windows.VerticalAlignment –> |
<!– System.Windows.FrameworkElement –> Go Back
| Return Type |
|---|
| Visibility<!– System.Windows.Visibility –> |
<!– System.Windows.UIElement –> Go Back
| Return Type |
|---|
| Double<!– System.Double –> |
<!– System.Windows.FrameworkElement –> Go Back
| Return Type |
|---|
| ZoomLevelSet<!– ThinkGeo.MapSuite.SilverlightCore.ZoomLevelSet –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Event Arguments |
|---|
| ValidationErrorEventArgs<!– System.Windows.Controls.ValidationErrorEventArgs –> |
<!– System.Windows.FrameworkElement –> Go Back
This event is raised when the map is clicked.
This event is raised when the map is clicked. In the event argument, it contains current clicked point in world coordinates and screen coordinates.
| Event Arguments |
|---|
| MapClickEventArgs<!– ThinkGeo.MapSuite.SilverlightEdition.MapClickEventArgs –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This event is raised when the map is double clicked.
This event is raised when the map is double clicked.
In the event argument, it contains current clicked point in world coordinates and screen coordinates.
When the click event and double click event are both hooked, only double click event will be raised.
| Event Arguments |
|---|
| MapClickEventArgs<!– ThinkGeo.MapSuite.SilverlightEdition.MapClickEventArgs –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This event is raised after map's extent changed.
This event is raised after the map's current extent changed. In the event arguments, it contains the new extent and new scale of the map.
| Event Arguments |
|---|
| ExtentChangedEventArgs<!– ThinkGeo.MapSuite.SilverlightEdition.ExtentChangedEventArgs –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
This event is raised before current extent of map changing.
This event is raised when the map's extent is about to change. In the event argument, it contains current extent and current scale of the map.
| Event Arguments |
|---|
| ExtentChangingEventArgs<!– ThinkGeo.MapSuite.SilverlightEdition.ExtentChangingEventArgs –> |
<!– ThinkGeo.MapSuite.SilverlightEdition.Map –> Go Back
| Event Arguments |
|---|
| RoutedEventArgs<!– System.Windows.RoutedEventArgs –> |
<!– System.Windows.UIElement –> Go Back
| Event Arguments |
|---|
| KeyEventArgs<!– System.Windows.Input.KeyEventArgs –> |
<!– System.Windows.UIElement –> Go Back
| Event Arguments |
|---|
| KeyEventArgs<!– System.Windows.Input.KeyEventArgs –> |
<!– System.Windows.UIElement –> Go Back
| Event Arguments |
|---|
| EventArgs<!– System.EventArgs –> |
<!– System.Windows.FrameworkElement –> Go Back
| Event Arguments |
|---|
| RoutedEventArgs<!– System.Windows.RoutedEventArgs –> |
<!– System.Windows.FrameworkElement –> Go Back
| Event Arguments |
|---|
| RoutedEventArgs<!– System.Windows.RoutedEventArgs –> |
<!– System.Windows.UIElement –> Go Back
| Event Arguments |
|---|
| MouseEventArgs<!– System.Windows.Input.MouseEventArgs –> |
<!– System.Windows.UIElement –> Go Back
| Event Arguments |
|---|
| MouseEventArgs<!– System.Windows.Input.MouseEventArgs –> |
<!– System.Windows.UIElement –> Go Back
| Event Arguments |
|---|
| MouseEventArgs<!– System.Windows.Input.MouseEventArgs –> |
<!– System.Windows.UIElement –> Go Back
| Event Arguments |
|---|
| MouseButtonEventArgs<!– System.Windows.Input.MouseButtonEventArgs –> |
<!– System.Windows.UIElement –> Go Back
| Event Arguments |
|---|
| MouseButtonEventArgs<!– System.Windows.Input.MouseButtonEventArgs –> |
<!– System.Windows.UIElement –> Go Back
| Event Arguments |
|---|
| MouseEventArgs<!– System.Windows.Input.MouseEventArgs –> |
<!– System.Windows.UIElement –> Go Back
| Event Arguments |
|---|
| MouseWheelEventArgs<!– System.Windows.Input.MouseWheelEventArgs –> |
<!– System.Windows.UIElement –> Go Back
| Event Arguments |
|---|
| SizeChangedEventArgs<!– System.Windows.SizeChangedEventArgs –> |
<!– System.Windows.FrameworkElement –> Go Back
NOTOC SilverlightEdition ThinkGeo.MapSuite.SilverlightEdition UpdateDocumentation
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.