Ptv.XServer.Controls.Map Namespace |
The Map namespace contains the classes to visualize your data in an interactive map.
The main type is the WpfMap, which can be added to a XAML user control. An alternative FormsMap can be used for easy WinForms integration. Both controls inherit from Map and implement IMap. The Map type can be used to build up a customized map control.
Class | Description | |
---|---|---|
FormsMap | A wrapper for WpfMap for easy WinForms integration. | |
GlobalOptions |
This class manages the global options of the map
| |
LayerChangedEventArgs | Additional argument class for events concerning some changes in the context of an individual layer. | |
LayerCollection | Container class managing the set of all available ILayer objects. Especially the
visibility and selection property is managed by this class. | |
Map | This class represents the basic map control without any gadgets. It is used as the WPFMap's base class,
and as a proxy for the WinForms map control. So, it is possible to provide a common implementation for both
environments, i.e. WPF and WinForms. | |
MapRectangle | For geographical use cases, the type Rect is insufficient for different reasons. Especially the convention, the top value contains a lower coordinate value compared to the bottom value, often leads to implementing issues. Therefore, this class provides the compass directions as bounding properties directly. Another aspect is the paradigm of a center based reference point (compared to the edge-based format of type Rect). | |
MapView | The main WPF map. | |
ToolTipManagement | Object concentrating all functionality relevant for tool tip management. | |
VisualTreeHelperExtensions | Provides extensions for VisualTreeHelper. | |
WpfMap | The main WPF map control with pre-customized gadgets and themes. |
Interface | Description | |
---|---|---|
ILayerSettings | Interface provided by the WPFClient to open an application specific dialog box to manipulate the
properties/settings of a layer object. | |
IMap | This the root interface of the map control. It is implemented both for WpfMap and FormsMap. The
interface has methods for setting and getting the current map viewport, configuring the gadgets and getting
access to the layers collection. | |
IToolTipManagement |
Separate interface of the map control, dedicated to the management of tool tips.
|
Enumeration | Description | |
---|---|---|
CoordinateDiplayFormat |
The coordinate display format type.
| |
MemoryPressureMode |
The memory pressure modes for internal bitmap images.
|