Click or drag to resize

WpfMap Properties

The WpfMap type exposes the following members.

Properties
  NameDescription
Public propertyCenter
Gets or sets the center of the map in WGS84 coordinates.
(Inherited from Map.)
Public propertyCoordinateDiplayFormat
Gets or sets the display format for coordinates.
(Inherited from Map.)
Public propertyCurrentCenter
Gets the center of the map in WGS84 coordinates while it is in animation mode.
(Inherited from Map.)
Public propertyCurrentScale
Gets the current scale of the map in meters per pixel while it is in animation mode.
(Inherited from Map.)
Public propertyCurrentZoomLevel
Gets the current zoom level of the map while it is in animation mode.
(Inherited from Map.)
Public propertyDefaultThemeResources
Gets or sets the default theme. The default theme is initialized in the WpfMap.xaml file and used by UseDefaultTheme.
(Inherited from Map.)
Public propertyFitInWindow
Gets or sets a value indicating whether the map should be fitted in the window or not.
(Inherited from Map.)
Public propertyInvertMouseWheel
Gets or sets a value indicating whether the orientation for mouse-wheel zoom is inverted. If so, zoom in and zoom out mouse wheel direction is exchanged. The default value is false.
(Inherited from Map.)
Public propertyIsAnimating
Gets a value indicating whether an animation is in progress. Returns true while the map performs a transition to a new map section.
(Inherited from Map.)
Public propertyLayers
Gets the collection of map layers.
(Inherited from Map.)
Public propertyMaxPixelDistance
Distance (specified in Pixels) between the current mouse position and a layer object, for which tooltip information should be shown. Each layer has to interpolate to its own coordinate format, what is meant by the pixel sized distance.
(Inherited from Map.)
Public propertyMaxZoom
Gets or sets the maximal level of detail according to the standard tiling scheme. The current detail level (see ZoomLevel property) is corrected, if it is higher than the new maximum value.
(Inherited from Map.)
Public propertyMetersPerPixel
Gets the number of meters spanned by one pixel.
(Inherited from Map.)
Public propertyMinZoom
Gets or sets the minimal level of detail according to the standard tiling scheme. The current detail level (see ZoomLevel property) is corrected, if it is lower than the new minimum value.
(Inherited from Map.)
Public propertyMouseDoubleClickZoom
Gets or sets the activation for zoom on double-click. If true, the user can zoom-in be double left-click and zoom-out by double right-click.
(Inherited from Map.)
Public propertyMouseDragMode
Gets or sets the behavior when dragging the mouse while holding the left button.
(Inherited from Map.)
Public propertyMouseWheelSpeed
Gets or sets the speed for mouse-wheel zoom. The value defines the number of map zoom levels per wheel delta. The default value is 0.5.
(Inherited from Map.)
Public propertyScale
Gets the scale of the map in meters per pixel.
(Inherited from Map.)
Public propertyShowCoordinates
Gets or sets a value indicating whether the coordinates gadget is shown or made invisible.
Public propertyShowLayers
Gets or sets a value indicating whether the layers gadget is shown or made invisible.
Public propertyShowMagnifier
Gets or sets a value indicating whether the magnifier gadget is shown or made invisible.
Public propertyShowNavigation
Gets or sets a value indicating whether the layers gadget is shown or made invisible.
Public propertyShowOverview
Gets or sets a value indicating whether the overview map is shown or made invisible.
Public propertyShowScale
Gets or sets a value indicating whether the scale gadget is shown or made invisible.
Public propertyShowZoomSlider
Gets or sets a value indicating whether the zoom slider gadget is shown or made invisible.
Public propertyToolTipDelay
Reads or writes the value (in [ms]) to delay tool tip display.
(Inherited from Map.)
Public propertyToolTipManagement
Gets the object providing all functionality relevant for tool tip management.
(Inherited from Map.)
Public propertyUseAnimation
Gets or sets a value indicating whether the map uses transitions for panning, zooming and fade-in of tiles. The default value is true.
(Inherited from Map.)
Public propertyUseDefaultTheme

Gets or sets a value indicating whether the built-in PTV theme should be used, and thus overriding an optionally set style. The application theme can be set in the App.xaml. If no theme at all is set and the default PTV theme is not used either, the UI will look like the current Windows theme.

See the Theming Concept topic for an example.

(Inherited from Map.)
Public propertyUseMiles
Gets or sets a value indicating whether the scale is displayed in miles or it is displayed in km.
(Inherited from Map.)
Public propertyXmap2LayerFactory
Gets the helper object for integration of XMap2 layers and Feature Layers of XServer 2. The reference is only set when property XMapUrl is set with an XMap2 conform URL.
(Inherited from Map.)
Public propertyXMapCopyright
Gets or sets the copyright text.
(Inherited from Map.)
Public propertyXMapCredentials
Gets or sets the credentials for xMapServer basic HTTP authentication. The format of the credential string is "<user>:<password>".
(Inherited from Map.)
Public propertyXMapStyle
Gets or sets the style profile of the xMapServer base map.
(Inherited from Map.)
Public propertyXMapUrl
Gets or sets the url pointing to where the xMapServer is located (e.g. http://127.0.0.1:50010/xmap/ws/XMap).
(Inherited from Map.)
Public propertyZoom
Gets or sets the zoom level of the map.
(Inherited from Map.)
Public propertyZoomLevel
Gets or sets the zoom level of the map.
(Inherited from Map.)
Top
See Also