WpfMap Methods |
The WpfMap type exposes the following members.
Name | Description | |
---|---|---|
Dispose | Disposal of the map. All layers are disposed. (Inherited from Map.) | |
GeoAsRelToMapView(Point) | Converts a geographic point to a point in WPF units. (Inherited from Map.) | |
GeoAsRelToMapView(Point, String) | Converts a geographic point to a point in WPF units. (Inherited from Map.) | |
GetCurrentEnvelope | Gets the bounding box of the visible map section while the map is in animation mode. (Inherited from Map.) | |
GetCurrentEnvelope(String) | Gets the bounding box of the visible map section while the map is in animation mode. (Inherited from Map.) | |
GetEnvelope | Gets the anticipated bounding box of the visible map section after the map was in animation mode / the
current box while the map is in animation mode. (Inherited from Map.) | |
GetEnvelope(String) | Gets the anticipated bounding box of the visible map section after the map was in animation mode / the
current box while the map is in animation mode. The bounding box coordinates are specified in a coordinate format
according the parameter value of spatialReferenceId. (Inherited from Map.) | |
InitializeComponent |
InitializeComponent
| |
MouseToGeo(MouseEventArgs) | Converts the click point of the mouse event to a geographic point in WGS84 units.
The click point of the mouse is determined relative to the map. (Inherited from Map.) | |
MouseToGeo(MouseEventArgs, String) | Converts the click point of the mouse event to a geographic point corresponding to the given
spatial reference id. The click point of the mouse is determined relative to the map. (Inherited from Map.) | |
PrintMap | Prints the currently displayed map. (Inherited from Map.) | |
RelToMapViewAsGeo(Point) | Converts a point from WPF coordinates to a geographic point. (Inherited from Map.) | |
RelToMapViewAsGeo(Point, String) | Converts a point from WPF coordinates to a geographic point. (Inherited from Map.) | |
SetEnvelope(MapRectangle) | Centers the map resulting in all elements within the specified rectangle are visible. (Inherited from Map.) | |
SetEnvelope(MapRectangle, String) | Centers the map, so all elements within the specified rectangle are visible. (Inherited from Map.) | |
SetMapLocation(Point, Double) | Set the center and zooming level of the map. (Inherited from Map.) | |
SetMapLocation(Point, Double, String) | Set the center and zooming level of the map. (Inherited from Map.) | |
SetThemeFromXaml | Sets the current theme from a XAML file provided by the stream. The XAML file must contain a ResourceDictionary on the top level. See the attached XAML files in the demo project. See the Theming Concept topic for an example. |
Name | Description | |
---|---|---|
AddBingLayer(String, Int32, String, BingImagerySet, BingMapVersion, Boolean, Double, BitmapImage) | Overloaded. Extension method which adds a Microsoft Bing layer to the map. (Defined by BingExtensions.) | |
AddBingLayer(String, Int32, String, BingImagerySet, BingMapVersion, Boolean, Double, BitmapImage, Panel) | Overloaded. Extension method which adds a Microsoft Bing layer to the map. (Defined by BingExtensions.) | |
FindRelativeT | Finds an object of type T for a framework element which is somewhere in the visual tree. (Defined by MapElementExtensions.) | |
RemoveBingLayer | Extension method which removes a Microsoft Bing layer from the map. (Defined by BingExtensions.) | |
ToJson | Converts an object to a JSON string representation. (Defined by JSONWriter.) |