FormsMap Methods |
The FormsMap type exposes the following members.
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Overrides ContainerControlDispose(Boolean).) | |
GeoAsRelToMapView(Point) | Converts a geographic point to a point in WPF units. | |
GeoAsRelToMapView(Point, String) | Converts a geographic point to a point in WPF units. | |
GetCurrentEnvelope | Gets the bounding box of the visible map section while the map is in animation mode. | |
GetCurrentEnvelope(String) | Gets the bounding box of the visible map section while the map is in animation mode. | |
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. | |
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. | |
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. | |
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. | |
OnEnabledChanged |
Contains a bug fix resolving an issue, when this control is not enabled correctly in ElementHost.
(Overrides ControlOnEnabledChanged(EventArgs).) | |
PrintMap | Prints the currently displayed map. | |
RelToMapViewAsGeo(Point) | Converts a point from WPF coordinates to a geographic point. | |
RelToMapViewAsGeo(Point, String) | Converts a point from WPF coordinates to a geographic point. | |
SetEnvelope(MapRectangle) | Centers the map resulting in all elements within the specified rectangle are visible. | |
SetEnvelope(MapRectangle, String) | Centers the map, so all elements within the specified rectangle are visible. | |
SetMapLocation(Point, Double) | Sets the center (specified in WGS84 units) and zoom level of the map. | |
SetMapLocation(Point, Double, String) | Sets the center (coordinate format specified in parameter spatialReferenceId) and zoom level of the 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. |
Name | Description | |
---|---|---|
ToJson | Converts an object to a JSON string representation. (Defined by JSONWriter.) |