User Tools

Site Tools


thinkgeo.mapsuite.silverlightedition.map

ThinkGeo.MapSuite.SilverlightEdition.Map

Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.

This class represents the main Silverlight map control.

Inheritance Hierarchy

  • System.Object
    • System.Windows.DependencyObject
      • System.Windows.UIElement
        • System.Windows.FrameworkElement
          • System.Windows.Controls.Panel
            • System.Windows.Controls.Canvas
              • ThinkGeo.MapSuite.SilverlightEdition.Map

Members Summary

Public Constructors

Map()

  • This is the constructor of Map class.
Remarks
  • 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.
Parameters

Protected Constructors

Public Methods

Refresh()

  • This method refreshes all the overlays and map tools configed on the map.
Remarks
  • 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 Value
  • Type:Void
  • Description:None
Parameters

ZoomIn()

  • This method zooms the map in to the next scale of the ClientZoomLevelScales collection.
Remarks
  • 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 Value
  • Type:Void
  • Description:N/A
Parameters

ZoomOut()

  • This method zooms the map out to the previous scale in the ClientZoomLevelScales collection.
Remarks
  • 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 Value
  • Type:Void
  • Description:N/A
Parameters

ZoomToScale(Double)

  • This method zooms the map to a specific scale.
Remarks
  • 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 Value
  • Type:Void
  • Description:N/A
Parameters
  • targetScale
    • Type:Double
    • Description: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.

ZoomTo(PointShape,Int32)

  • This method zooms the map to the center point and the client zoomlevel number that you specify.
Remarks
  • The map will be panned to the new center and zoomed to the zoomlevel number compare to the ClientZoomScales that you specify.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetCenter
    • Description:The target world center pointShape of the map.
  • zoomLevelId
    • Type:Int32
    • Description:The target zoomlevel index that the map will zoom to.

ZoomTo(Point,Int32)

  • This method zooms the map to the center point and the client zoomlevel number that you specify.
Remarks
  • The map will be panned to the new center and zoomed to the zoomlevel number compare to the ClientZoomScales that you specify.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetCenter
    • Type:Point
    • Description:The target world center point of the map.
  • zoomLevelId
    • Type:Int32
    • Description:The target zoomlevel index that the map will zoom to.

ZoomTo(RectangleShape)

  • This method zooms the map to the extent that you specify.
Remarks
  • The map will be panned to the center and zoomlevel of the extent that you specify.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetWorldExtent

MoveTo(PointShape)

  • This method moves the map to the center PointShape that you specify.
Remarks
  • This method moves the map to the center PointShape that you specify. It keeps current scale.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetCenter
    • Description:The target world center PointShape of the map.

MoveTo(Point)

  • This method moves the map to the center that you specify.
Remarks
  • This method moves the map to the center that you specify. It keeps current scale.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetCenter
    • Type:Point
    • Description:The target world center Point of the map.

Pan(Single,Int32)

  • This method moves the map by the specified angle and the percentage of the current extent.
Remarks
  • 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 CurrentExtent.Width* 0.2 and the offset in the Y direction is CurrentExtent.Height*0.2.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • degree
    • Type:Single
    • Description:The angle value that determines the panning direction.
  • percentage
    • Type:Int32
    • Description:The percentage of the current extent.

Pan(PanDirection,Int32)

  • This method moves the map by the specified angle and the percentage of the current extent.
Remarks
  • 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 CurrentExtent.Width* 0.2 and the offset in the Y direction is CurrentExtent.Height*0.2.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • panDirection
  • percentage
    • Type:Int32
    • Description:The percentage of the current extent.

Pan(Double,Double)

  • This method move the map by the offset of the current extent.
Remarks
  • This method move the map by the offset of the current extent.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • offsetScreenX
    • Type:Double
    • Description:The x offset in screen coordinate that determines the panning.
  • offsetScreenY
    • Type:Double
    • Description:The y offset in screen coordinate that determines the panning.

GetScaleFromZoomLevelId(Int32)

  • This method gets scale from the zoomLevel index.
Remarks
  • This method gets scale from the zoomLevel index.
Return Value
  • Type:Double
  • Description:Returns the scale of the zoomLevelId that you defined in the ClientZoomLevelScales.
Parameters
  • zoomLevelId
    • Type:Int32
    • Description:ZoomLevel index in the ClientZoomLevelScales collection.

GetResolutionFromZoomLevelId(Int32)

  • This method gets resolution from the zoomLevel index from the ClientZoomLevelScales.
Remarks
  • This method gets resolution from the zoomLevel index from the ClientZoomLevelScales.Resolution = world coordinate length per screen pixel.
Return Value
  • Type:Double
  • Description:The resolution of the zoomLevelId that you defined in the ClientZoomLevelScales.
Parameters
  • zoomLevelId
    • Type:Int32
    • Description:The zoom level index in the ClientZoomLevelScales collection.

GetClosestZoomLevelIdFromScale(Double)

  • This method gets closest zoomLevel index from the scale.
Remarks
  • This method gets closest zoomLevel index from the scale.It returns the map zoomlevel index whose scale is nearest to the ClientZoomLevelScales specified.
Return Value
  • Type:Int32
  • Description:The closest zoomLevel index that you defined in the ClientZoomLevelScales.
Parameters
  • scale
    • Type:Double
    • Description:A double value of scale to get the closest zoomLevel index.

GetClosestZoomLevelIdFromResolution(Double)

  • This method gets closest zoomLevel index from the resolution.
Remarks
  • It returns the map zoomlevel whose resolution is nearest to the ClientZoomLevelScales specified.Resolution = world coordinate length per screen pixel.
Return Value
  • Type:Int32
  • Description:The closest zoomLevel index that you defined in the ClientZoomLevelScales.
Parameters
  • resolution
    • Type:Double
    • Description:A double value of resolution to get the closest zoomLevel index.

ToWorldCoordinate(Double,Double)

  • This method converts a specified X, Y screen coordinates to a point shape in world coordinates.
Remarks
  • This method converts X, Y screen coordinates to a point shape in world coodinates.
Return Value
  • Description:A point shape in world coordinates.
Parameters
  • screenX
    • Type:Double
    • Description:The X-value in pixels referenced to the screen origin.
  • screenY
    • Type:Double
    • Description:The Y-value in pixels referenced to the screen origin.

ToWorldCoordinate(PointShape)

  • This method converts a PointShape in screen coordinates to a point shape in world coordinates.
Remarks
  • This method converts a screen point to a point in world coordinates.
Return Value
  • Description:A point shape in world coordinates.
Parameters
  • screenCoordinate
    • Description:The point (in screen coordinates) to convert to world coordinates.

ToWorldCoordinate(Point)

  • This method converts a point shape in world coordinates from a ScreenPointF structure.
Remarks
  • This method converts a screen point to a point in world coordinates.
Return Value
  • Description:A point shape in world coordinates.
Parameters
  • screenCoordinate
    • Type:Point
    • Description:The point (in screen coordinates) to convert to world coordinates.

ToScreenCoordinate(Double,Double)

  • This method converts a specified X, Y world coordinates to a point shape in screen coordinates.
Remarks
  • This method converts X, Y world coordinates to a point in screen coordinates.
Return Value
  • Description:A screen point in pixels.
Parameters
  • worldX
    • Type:Double
    • Description:The X world coordinate.
  • worldY
    • Type:Double
    • Description:The Y world coordinate.

ToScreenCoordinate(PointShape)

  • This method converts a specified PointShape in world coordinates to a point shape in screen coordinates.
Remarks
  • This method converts the coordinates of a point shape to a point in screen coordinates.
Return Value
  • Description:A screen point in pixels.
Parameters
  • worldCoordinate
    • Description:A point shape in world coordinates.

ToScreenCoordinate(Point)

  • This method converts a specified PointShape in world coordinates to a point shape in screen coordinates.
Remarks
  • This method converts the coordinates of a point shape to a point in screen coordinates.
Return Value
  • Description:A screen point in pixels.
Parameters
  • worldCoordinate
    • Type:Point
    • Description:A point in world coordinates.

FindName(String)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters
  • name
    • Type:String
    • Description:N/A

OnApplyTemplate()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

SetBinding(DependencyProperty,Binding)

  • N/A
Remarks
  • N/A
Return Value
  • Type:BindingExpressionBase
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A
  • binding
    • Type:Binding
    • Description:N/A

GetBindingExpression(DependencyProperty)

  • N/A
Remarks
  • N/A
Return Value
  • Type:BindingExpression
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A

AddHandler(RoutedEvent,Delegate,Boolean)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • routedEvent
    • Type:RoutedEvent
    • Description:N/A
  • handler
    • Type:Delegate
    • Description:N/A
  • handledEventsToo
    • Type:Boolean
    • Description:N/A

RemoveHandler(RoutedEvent,Delegate)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • routedEvent
    • Type:RoutedEvent
    • Description:N/A
  • handler
    • Type:Delegate
    • Description:N/A

TransformToVisual(UIElement)

  • N/A
Remarks
  • N/A
Return Value
  • Type:GeneralTransform
  • Description:N/A
Parameters
  • visual
    • Type:UIElement
    • Description:N/A

Measure(Size)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • availableSize
    • Type:Size
    • Description:N/A

Arrange(Rect)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • finalRect
    • Type:Rect
    • Description:N/A

CaptureMouse()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters

ReleaseMouseCapture()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

InvalidateMeasure()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

InvalidateArrange()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

UpdateLayout()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

CheckAccess()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters

SetValue(DependencyProperty,Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A
  • value
    • Type:Object
    • Description:N/A

ClearValue(DependencyProperty)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A

ReadLocalValue(DependencyProperty)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A

GetAnimationBaseValue(DependencyProperty)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A

GetValue(DependencyProperty)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A

ToString()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

Equals(Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • obj
    • Type:Object
    • Description:N/A

GetHashCode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetType()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Type
  • Description:N/A
Parameters

Protected Methods

eRQ=(Point,Int32)

  • N/A
Remarks
  • N/A
Return Value
Parameters
  • targetCenter
    • Type:Point
    • Description:N/A
  • zoomLevel
    • Type:Int32
    • Description:N/A

YhQ=(PointShape,Int32,OverlayDrawType)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • zoomLevelId
    • Type:Int32
    • Description:N/A

YhQ=(Point,Int32,OverlayDrawType)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetCenter
    • Type:Point
    • Description:N/A
  • zoomLevelId
    • Type:Int32
    • Description:N/A

ZRQ=(Single,Int32,OverlayDrawType)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • degree
    • Type:Single
    • Description:N/A
  • percentage
    • Type:Int32
    • Description:N/A

ZRQ=(Double,Double,OverlayDrawType)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • offsetScreenX
    • Type:Double
    • Description:N/A
  • offsetScreenY
    • Type:Double
    • Description:N/A

OnClick(MapClickEventArgs)

  • This method raises the Click event of the Map object.
Remarks
  • The OnClick 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.Notes to Inheritors: When overriding OnClick in a derived class, be sure to call the base class's OnClick method so that registered delegates receive the event.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e

OnDoubleClick(MapClickEventArgs)

  • This method raises the DoubleClick event of the Map object.
Remarks
  • The DoubleClick 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.Notes to Inheritors: When overriding OnDoubleClick in a derived class, be sure to call the base class's OnDoubleClick method so that registered delegates receive the event.
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e

OnExtentChanging(ExtentChangingEventArgs)

  • This method raises the ExtentChanging event of the Map object.
Remarks
  • The OnExtentChanging 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.Notes to Inheritors: When overriding OnExtentChanging in a derived class, be sure to call the base class's OnExtentChanging method so that registered delegates receive the event.
Return Value
  • Type:Void
  • Description:N/A
Parameters

OnExtentChanged(ExtentChangedEventArgs)

  • This event raises the ExtentChanged event of the Map object.
Remarks
  • The OnExtentChanged 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.Notes to Inheritors: When overriding OnExtentChanged in a derived class, be sure to call the base class's OnExtentChanged method so that registered delegates receive the event.
Return Value
  • Type:Void
  • Description:N/A
Parameters

MeasureOverride(Size)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Size
  • Description:N/A
Parameters
  • constraint
    • Type:Size
    • Description:N/A

ArrangeOverride(Size)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Size
  • Description:N/A
Parameters
  • arrangeSize
    • Type:Size
    • Description:N/A

ApplyTemplateInternal()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters

GetValueInternal(DependencyProperty)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A

OnTreeParentUpdated(DependencyObject,Boolean)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • newParent
    • Type:DependencyObject
    • Description:N/A
  • bIsNewParentAlive
    • Type:Boolean
    • Description:N/A

NotifyDataContextChanged(DataContextChangedEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e
    • Type:DataContextChangedEventArgs
    • Description:N/A

OnBindingValidationError(ValidationErrorEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • args
    • Type:ValidationErrorEventArgs
    • Description:N/A

CalculateBubblePath()

  • N/A
Remarks
  • N/A
Return Value
  • Type:List<FrameworkElement>
  • Description:N/A
Parameters

RaiseBindingValidationError(ValidationErrorEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • args
    • Type:ValidationErrorEventArgs
    • Description:N/A

OnSizeChanged(Object,SizeChangedEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • sender
    • Type:Object
    • Description:N/A
  • e
    • Type:SizeChangedEventArgs
    • Description:N/A

OnAncestorDataContextChanged(DataContextChangedEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e
    • Type:DataContextChangedEventArgs
    • Description:N/A

IsDataContextChangeRelevant(DataContextChangedEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • e
    • Type:DataContextChangedEventArgs
    • Description:N/A

OnDataContextChanged(DataContextChangedEventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • e
    • Type:DataContextChangedEventArgs
    • Description:N/A

OnPropertyChanged(DependencyProperty)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A

GetValueFromStyle(DependencyProperty,Object&)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • value
    • Type:Object&
    • Description:N/A

HasFocus()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters

FindNameInPage(String,Boolean)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters
  • name
    • Type:String
    • Description:N/A
  • calledFromUserControl
    • Type:Boolean
    • Description:N/A

GetPlainText()

  • N/A
Remarks
  • N/A
Return Value
  • Type:String
  • Description:N/A
Parameters

HitTest(Point)

  • N/A
Remarks
  • N/A
Return Value
  • Type:IEnumerable<UIElement>
  • Description:N/A
Parameters
  • point
    • Type:Point
    • Description:N/A

HitTest(Rect)

  • N/A
Remarks
  • N/A
Return Value
  • Type:IEnumerable<UIElement>
  • Description:N/A
Parameters
  • rect
    • Type:Rect
    • Description:N/A

IsAncestorOf(UIElement)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • element
    • Type:UIElement
    • Description:N/A

OnCreateAutomationPeer()

  • N/A
Remarks
  • N/A
Return Value
  • Type:AutomationPeer
  • Description:N/A
Parameters

GetOrCreateAutomationPeer()

  • N/A
Remarks
  • N/A
Return Value
  • Type:AutomationPeer
  • Description:N/A
Parameters

GetAutomationPeer()

  • N/A
Remarks
  • N/A
Return Value
  • Type:AutomationPeer
  • Description:N/A
Parameters

InvalidateAutomationPeer()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetChildrenCount()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Int32
  • Description:N/A
Parameters

GetChild(Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:UIElement
  • Description:N/A
Parameters
  • childIndex
    • Type:Int32
    • Description:N/A

BringIntoView()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

BringIntoView(Rect)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • targetRectangle
    • Type:Rect
    • Description:N/A

GetIsUnloadingNode()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters

PegManagedPeerNoRef()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

UnpegManagedPeerNoRef()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

GetManagedReference(UInt32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:DependencyObject
  • Description:N/A
Parameters
  • nPropertyID
    • Type:UInt32
    • Description:N/A

RefreshExpression(DependencyProperty)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A

EnsureValueTable()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

SetValueInternal(DependencyProperty,Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A
  • value
    • Type:Object
    • Description:N/A

SetValueInternal(DependencyProperty,Object,Boolean)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A
  • value
    • Type:Object
    • Description:N/A
  • allowReadOnlySet
    • Type:Boolean
    • Description:N/A

SetValueInternal(DependencyProperty,Object,Boolean,Boolean)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A
  • value
    • Type:Object
    • Description:N/A
  • allowReadOnlySet
    • Type:Boolean
    • Description:N/A
  • isBindingInStyleSetter
    • Type:Boolean
    • Description:N/A

ClearValueInternal(DependencyProperty)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A

ReadLocalValueInternal(DependencyProperty)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A

IsPropertyDefault(DependencyProperty)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A

GetMentor()

  • N/A
Remarks
  • N/A
Return Value
  • Type:FrameworkElement
  • Description:N/A
Parameters

PrepareCorePropertyExpression(DependencyProperty,Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • value
    • Type:Object
    • Description:N/A

InvalidateStyleBinding(DependencyProperty,Boolean&)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • dp
    • Type:DependencyProperty
    • Description:N/A
  • hasLocalOrAnimatedValue
    • Type:Boolean&
    • Description:N/A

SetValue(DependencyProperty,Matrix)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • m
    • Type:Matrix
    • Description:N/A

SetValue(DependencyProperty,Matrix3D)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • m
    • Type:Matrix3D
    • Description:N/A

SetValue(DependencyProperty,Point)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • p
    • Type:Point
    • Description:N/A

SetValue(DependencyProperty,DependencyObject)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • doh
    • Type:DependencyObject
    • Description:N/A

SetValue(DependencyProperty,Int32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • i
    • Type:Int32
    • Description:N/A

SetValue(DependencyProperty,Boolean)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • b
    • Type:Boolean
    • Description:N/A

SetValue(DependencyProperty,Enum)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • e
    • Type:Enum
    • Description:N/A

SetValue(DependencyProperty,Color)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • c
    • Type:Color
    • Description:N/A

SetValue(DependencyProperty,Double)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • d
    • Type:Double
    • Description:N/A

SetValue(DependencyProperty,GridLength)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • g
    • Type:GridLength
    • Description:N/A

InvalidateProperty(DependencyProperty)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A

GetOldValue(DependencyProperty,EffectiveValueEntry&)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • oldEntry
    • Type:EffectiveValueEntry&
    • Description:N/A

GetNewValue(DependencyProperty,EffectiveValueEntry&)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • newEntry
    • Type:EffectiveValueEntry&
    • Description:N/A

SetEffectiveValue(DependencyProperty,EffectiveValueEntry&,Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • newEntry
    • Type:EffectiveValueEntry&
    • Description:N/A
  • newValue
    • Type:Object
    • Description:N/A

UpdateParentInheritanceContextPropagation()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

SetAnimatedValue(DependencyProperty,Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • animatedValue
    • Type:Object
    • Description:N/A

ClearAnimatedValue(DependencyProperty,Boolean,Object)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • hasHoldEndValue
    • Type:Boolean
    • Description:N/A
  • holdEndValue
    • Type:Object
    • Description:N/A

GetValueFromBuiltInStyle(DependencyProperty,Object&)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • value
    • Type:Object&
    • Description:N/A

OnInheritanceContextChanged(Object,EventArgs)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • sender
    • Type:Object
    • Description:N/A
  • e
    • Type:EventArgs
    • Description:N/A

AddEventListener(DependencyProperty,Delegate)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • handler
    • Type:Delegate
    • Description:N/A

AddEventListener(DependencyProperty,Delegate,Boolean)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • handler
    • Type:Delegate
    • Description:N/A
  • handledEventsToo
    • Type:Boolean
    • Description:N/A

RemoveEventListener(DependencyProperty,Delegate)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • property
    • Type:DependencyProperty
    • Description:N/A
  • handler
    • Type:Delegate
    • Description:N/A

UpdateTreeParent(IManagedPeer,IManagedPeer,Boolean,Boolean)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • oldParent
    • Type:IManagedPeer
    • Description:N/A
  • newParent
    • Type:IManagedPeer
    • Description:N/A
  • bIsNewParentAlive
    • Type:Boolean
    • Description:N/A
  • keepReferenceToParent
    • Type:Boolean
    • Description:N/A

UpdateTreeParentHelper(IManagedPeer,IManagedPeer,Boolean)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • oldParent
    • Type:IManagedPeer
    • Description:N/A
  • newParent
    • Type:IManagedPeer
    • Description:N/A
  • keepReferenceToParent
    • Type:Boolean
    • Description:N/A

IsPropertyLocal(CoreDependencyProperty)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Boolean
  • Description:N/A
Parameters
  • dp
    • Type:CoreDependencyProperty
    • Description:N/A

OnParentEnter(IntPtr,UInt32,UInt32,UInt32,UInt32)

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters
  • nativeNamescopeOwner
    • Type:IntPtr
    • Description:N/A
  • bLive
    • Type:UInt32
    • Description:N/A
  • bSkipNameRegistration
    • Type:UInt32
    • Description:N/A
  • bCoercedIsEnabled
    • Type:UInt32
    • Description:N/A
  • bUseLayoutRounding
    • Type:UInt32
    • Description:N/A

Finalize()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Void
  • Description:N/A
Parameters

MemberwiseClone()

  • N/A
Remarks
  • N/A
Return Value
  • Type:Object
  • Description:N/A
Parameters

Public Properties

ZoomLevelSet

N/A

Remarks

N/A

Return Value

Overlays

Gets an Overlay collection which you can add different types of overlays.

Remarks

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 Value
Remarks

N/A

Return Value

MapTools

Gets an object that contains all types of predefined map controls.

Remarks

The property returns an object that contains all types of predefined map controls. Such as mouse coordinates etc.

Return Value

ActiveBaseOverlay

Gets or sets the active base overlay.

Remarks

The map can contain multiple base overlays, though only one of them can be displayed at a time. The ActiveBaseOverlay property specifies the one that is currently displayed. When you switch the base overlays in the OverlaySwitcher, the currently selected overlay will be synchronized to this property after postback.

Return Value

CurrentZoomLevelId

Gets a integar value that indicates current zoom level id.

Remarks

N/A

Return Value
  • Type:Int32

CurrentScale

Gets a double value that indicates the current scale of the map.

Remarks

N/A

Return Value
  • Type:Double

CurrentResolution

Gets a double value that indicates the current resolution of the map.

Remarks

N/A

Return Value
  • Type:Double

CurrentExtent

Gets or sets the current extent of the map.

Remarks

N/A

Return Value

RestrictedExtent

Gets or sets the restricted extent of the map.

Remarks

N/A

Return Value

MaxExtent

Gets the max extent of the map in current map unit.

Remarks

N/A

Return Value

CurrentCenter

Gets a PointShape value that indicates current center of the map.

Remarks

N/A

Return Value

Popups

Gets a Popup collection that holds all the popups in the map.

Remarks

N/A

Return Value
Remarks

N/A

Return Value
Remarks

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 Value
  • Type:Grid

ExtentInteractiveOverlay

Gets or sets an InteractiveOverlay which mantains the navigation of the map.

Remarks

Gets or sets an InteractiveOverlay which mantains the navigation of the map such as panning, zooming etc.

Return Value

TrackOverlay

Gets or sets an InteractiveOverlay which maintain the algorism of Tracking Shape.

Remarks

Gets or sets an InteractiveOverlay which maintain the algorism of Tracking.

Return Value

EditOverlay

Gets or sets an InteractiveOverlay which maintain the algorism of Editing.

Remarks

Gets or sets an InteractiveOverlay which maintain the algorism of Editing Shape.

Return Value

Children

N/A

Remarks

N/A

Return Value
  • Type:UIElementCollection

Background

N/A

Remarks

N/A

Return Value
  • Type:Brush

IsItemsHost

N/A

Remarks

N/A

Return Value
  • Type:Boolean

Triggers

N/A

Remarks

N/A

Return Value
  • Type:TriggerCollection

Resources

N/A

Remarks

N/A

Return Value
  • Type:ResourceDictionary

ActualWidth

N/A

Remarks

N/A

Return Value
  • Type:Double

ActualHeight

N/A

Remarks

N/A

Return Value
  • Type:Double

Width

N/A

Remarks

N/A

Return Value
  • Type:Double

Height

N/A

Remarks

N/A

Return Value
  • Type:Double

MinWidth

N/A

Remarks

N/A

Return Value
  • Type:Double

MaxWidth

N/A

Remarks

N/A

Return Value
  • Type:Double

MinHeight

N/A

Remarks

N/A

Return Value
  • Type:Double

MaxHeight

N/A

Remarks

N/A

Return Value
  • Type:Double

HorizontalAlignment

N/A

Remarks

N/A

Return Value
  • Type:HorizontalAlignment

VerticalAlignment

N/A

Remarks

N/A

Return Value
  • Type:VerticalAlignment

Margin

N/A

Remarks

N/A

Return Value
  • Type:Thickness

Style

N/A

Remarks

N/A

Return Value
  • Type:Style

Parent

N/A

Remarks

N/A

Return Value
  • Type:DependencyObject

FlowDirection

N/A

Remarks

N/A

Return Value
  • Type:FlowDirection

Name

N/A

Remarks

N/A

Return Value
  • Type:String

Tag

N/A

Remarks

N/A

Return Value
  • Type:Object

Cursor

N/A

Remarks

N/A

Return Value
  • Type:Cursor

Language

N/A

Remarks

N/A

Return Value
  • Type:XmlLanguage

DataContext

N/A

Remarks

N/A

Return Value
  • Type:Object

AllowDrop

N/A

Remarks

N/A

Return Value
  • Type:Boolean

Opacity

N/A

Remarks

N/A

Return Value
  • Type:Double

Clip

N/A

Remarks

N/A

Return Value
  • Type:Geometry

Effect

N/A

Remarks

N/A

Return Value
  • Type:Effect

Projection

N/A

Remarks

N/A

Return Value
  • Type:Projection

OpacityMask

N/A

Remarks

N/A

Return Value
  • Type:Brush

RenderTransformOrigin

N/A

Remarks

N/A

Return Value
  • Type:Point

IsHitTestVisible

N/A

Remarks

N/A

Return Value
  • Type:Boolean

Visibility

N/A

Remarks

N/A

Return Value
  • Type:Visibility

RenderSize

N/A

Remarks

N/A

Return Value
  • Type:Size

UseLayoutRounding

N/A

Remarks

N/A

Return Value
  • Type:Boolean

CacheMode

N/A

Remarks

N/A

Return Value
  • Type:CacheMode

DesiredSize

N/A

Remarks

N/A

Return Value
  • Type:Size

RenderTransform

N/A

Remarks

N/A

Return Value
  • Type:Transform

Dispatcher

N/A

Remarks

N/A

Return Value
  • Type:Dispatcher

Protected Properties

XBQ=

N/A

Remarks

N/A

Return Value
  • Type:Collection<Double>

XhQ=

N/A

Remarks

N/A

Return Value
  • Type:Canvas

TagInternal

N/A

Remarks

N/A

Return Value
  • Type:Object

TemplatedParent

N/A

Remarks

N/A

Return Value
  • Type:DependencyObject

IsDataContextBound

N/A

Remarks

N/A

Return Value
  • Type:Boolean

IsDataContextChangingInternal

N/A

Remarks

N/A

Return Value
  • Type:Boolean

ChildrenInternal

N/A

Remarks

N/A

Return Value
  • Type:UIElementCollection

NativeObject

N/A

Remarks

N/A

Return Value
  • Type:IntPtr

NativeObjectSafeHandle

N/A

Remarks

N/A

Return Value
  • Type:NativeObjectSafeHandle

NeedsInheritanceContextChanges

N/A

Remarks

N/A

Return Value
  • Type:Boolean

IsInLiveTree

N/A

Remarks

N/A

Return Value
  • Type:Boolean

Public Events

ExtentChanging This event is raised before current extent of map changing.

Remarks

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

ExtentChanged This event is raised after map's extent changed.

Remarks

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

Click This event is raised when the map is clicked.

Remarks

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

DoubleClick This event is raised when the map is double clicked.

Remarks

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

Loaded N/A

Remarks

N/A

Event Arguments:

Unloaded N/A

Remarks

N/A

Event Arguments:

SizeChanged N/A

Remarks

N/A

Event Arguments:

LayoutUpdated N/A

Remarks

N/A

Event Arguments:

BindingValidationError N/A

Remarks

N/A

Event Arguments:ValidationErrorEventArgs

DataContextChanged N/A

Remarks

N/A

Event Arguments:

MouseMove N/A

Remarks

N/A

Event Arguments:

MouseEnter N/A

Remarks

N/A

Event Arguments:

MouseLeave N/A

Remarks

N/A

Event Arguments:

MouseLeftButtonDown N/A

Remarks

N/A

Event Arguments:

MouseLeftButtonUp N/A

Remarks

N/A

Event Arguments:

MouseRightButtonDown N/A

Remarks

N/A

Event Arguments:

MouseRightButtonUp N/A

Remarks

N/A

Event Arguments:

MouseWheel N/A

Remarks

N/A

Event Arguments:

KeyUp N/A

Remarks

N/A

Event Arguments:

KeyDown N/A

Remarks

N/A

Event Arguments:

MediaCommand N/A

Remarks

N/A

Event Arguments:

GotFocus N/A

Remarks

N/A

Event Arguments:

LostFocus N/A

Remarks

N/A

Event Arguments:

LostMouseCapture N/A

Remarks

N/A

Event Arguments:

TextInput N/A

Remarks

N/A

Event Arguments:

TextInputStart N/A

Remarks

N/A

Event Arguments:

TextInputUpdate N/A

Remarks

N/A

Event Arguments:

DragEnter N/A

Remarks

N/A

Event Arguments:

DragLeave N/A

Remarks

N/A

Event Arguments:

DragOver N/A

Remarks

N/A

Event Arguments:

Drop N/A

Remarks

N/A

Event Arguments:

ManipulationStarted N/A

Remarks

N/A

Event Arguments:ManipulationStartedEventArgs

ManipulationDelta N/A

Remarks

N/A

Event Arguments:ManipulationDeltaEventArgs

ManipulationCompleted N/A

Remarks

N/A

Event Arguments:ManipulationCompletedEventArgs

Tap N/A

Remarks

N/A

Event Arguments:GestureEventArgs

DoubleTap N/A

Remarks

N/A

Event Arguments:GestureEventArgs

Hold N/A

Remarks

N/A

Event Arguments:GestureEventArgs

thinkgeo.mapsuite.silverlightedition.map.txt · Last modified: 2017/03/16 21:59 (external edit)