Click or drag to resize

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.

Classes
  ClassDescription
Public classFormsMap
A wrapper for WpfMap for easy WinForms integration.
Public classGlobalOptions
This class manages the global options of the map
Public classLayerChangedEventArgs
Additional argument class for events concerning some changes in the context of an individual layer.
Public classLayerCollection
Container class managing the set of all available ILayer objects. Especially the visibility and selection property is managed by this class.
Public classMap
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.
Public classMapRectangle

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).

Public classMapView
The main WPF map.
Public classToolTipManagement
Object concentrating all functionality relevant for tool tip management.
Public classVisualTreeHelperExtensions
Provides extensions for VisualTreeHelper.
Public classWpfMap
The main WPF map control with pre-customized gadgets and themes.
Interfaces
  InterfaceDescription
Public interfaceILayerSettings
Interface provided by the WPFClient to open an application specific dialog box to manipulate the properties/settings of a layer object.
Public interfaceIMap
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.
Public interfaceIToolTipManagement
Separate interface of the map control, dedicated to the management of tool tips.
Enumerations
  EnumerationDescription
Public enumerationCoordinateDiplayFormat
The coordinate display format type.
Public enumerationMemoryPressureMode
The memory pressure modes for internal bitmap images.