Click or drag to resize

MapView Methods

The MapView type exposes the following members.

Methods
  NameDescription
Public methodCancelSetViewpointOperations
Cancels any pending or currently running SetViewpointAsync operations.
(Overrides GeoViewCancelSetViewpointOperations.)
Public methodDismissCallout
Dismisses a callout if it's open.
(Inherited from GeoView.)
Public methodExportImageAsync
Creates an image snapshot of the current map view
(Inherited from GeoView.)
Public methodGetCurrentViewpoint
Gets the current Viewpoint of the view.
(Inherited from GeoView.)
Public methodGetLayerViewState
Gets the LayerViewState for the given layer.
(Inherited from GeoView.)
Public methodIdentifyGraphicsOverlayAsync(GraphicsOverlay, Point, Double, Boolean)
Initiates an identify operation on the specified graphics overlay which will return the visible topmost graphic.
(Inherited from GeoView.)
Public methodIdentifyGraphicsOverlayAsync(GraphicsOverlay, Point, Double, Boolean, Int64)
Initiates an identify operation on the specified graphics overlay.
(Inherited from GeoView.)
Public methodIdentifyGraphicsOverlaysAsync(Point, Double, Boolean)
Initiate an identify operation on all graphics overlays which will return the single visible topmost graphic per overlay only.
(Inherited from GeoView.)
Public methodIdentifyGraphicsOverlaysAsync(Point, Double, Boolean, Int64)
Initiate an identify operation on all graphics overlays.
(Inherited from GeoView.)
Public methodIdentifyLayerAsync(Layer, Point, Double, Boolean)
Initiates an identify operation on the specified layer which will return the single visible topmost GeoElement only.
(Inherited from GeoView.)
Public methodIdentifyLayerAsync(Layer, Point, Double, Boolean, Int64)
Initiates an identify operation on the specified layer.
(Inherited from GeoView.)
Public methodIdentifyLayerAsync(Layer, Point, Double, Boolean, CancellationToken)
Initiates an identify operation on the specified layer which will return the single visible topmost GeoElement only.
(Inherited from GeoView.)
Public methodIdentifyLayerAsync(Layer, Point, Double, Boolean, Int64, CancellationToken)
Initiates an identify operation on the specified layer.
(Inherited from GeoView.)
Public methodIdentifyLayersAsync(Point, Double, Boolean)
Initiates an identify operation on all layers in the view which will return the single visible topmost GeoElement per layer only.
(Inherited from GeoView.)
Public methodIdentifyLayersAsync(Point, Double, Boolean, Int64)
Initiates an identify operation on all layers in the view.
(Inherited from GeoView.)
Public methodIdentifyLayersAsync(Point, Double, Boolean, CancellationToken)
Initiates an identify operation on all layers in the view which will return the single visible topmost GeoElement per layer only.
(Inherited from GeoView.)
Public methodIdentifyLayersAsync(Point, Double, Boolean, Int64, CancellationToken)
Initiates an identify operation on all layers in the view.
(Inherited from GeoView.)
Public methodLocationToScreen
Converts a location in map coordinates to a screen coordinate relative to the upper-left corner of the map.
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate.
(Overrides GeoViewOnApplyTemplate.)
Protected methodOnCreateAutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
(Overrides UIElementOnCreateAutomationPeer.)
Protected methodOnTouchMove
Provides class handling for the TouchMove routed event that occurs when a touch moves while inside this element.
(Overrides UIElementOnTouchMove(TouchEventArgs).)
Public methodScreenToLocation
Converts a screen point relative to the upper left of the map into a location on the map.
Public methodSetBookmarkAsync
Sets the GeoView's viewpoint with the bookmark's value.
(Inherited from GeoView.)
Public methodSetViewpoint
Sets the view to the given Viewpoint location
(Inherited from GeoView.)
Public methodSetViewpointAsync(Viewpoint)
Animates the view to the given Viewpoint location
(Inherited from GeoView.)
Public methodSetViewpointAsync(Viewpoint, TimeSpan)
Animates the view to the given Viewpoint location
(Inherited from GeoView.)
Public methodSetViewpointAsync(Viewpoint, TimeSpan, AnimationCurve)
Animates the view to the given Viewpoint location using the provided animation curve
Public methodSetViewpointCenterAsync(MapPoint)
Centers the view on the provided point.
Public methodSetViewpointCenterAsync(Double, Double)
Centers the view on the provided point.
Public methodSetViewpointCenterAsync(MapPoint, Double)
Centers the view on the provided point and zooms to the provided scale.
Public methodSetViewpointCenterAsync(Double, Double, Double)
Centers the view on the provided point and zooms to the provided scale.
Public methodSetViewpointGeometryAsync(Geometry)
Zooms to the provided geometry.
Public methodSetViewpointGeometryAsync(Geometry, Double)
Zooms to the provided geometry and leaves some padding around the geometry.
Public methodSetViewpointRotationAsync
Sets the rotation angle of the map
Public methodSetViewpointScaleAsync
Zooms to the given scale.
Public methodShowCalloutAt(MapPoint, CalloutDefinition)
Shows a callout based on a CalloutDefinition at the given location.
(Inherited from GeoView.)
Public methodShowCalloutAt(MapPoint, UIElement, Point)
Shows a callout at the given location with Visual Element as content
(Inherited from GeoView.)
Public methodShowCalloutForGeoElement
Shows a callout for the given GeoElement at an appropriate location for the tap location by snapping to the geometry of the element.
(Inherited from GeoView.)
Top
See Also