Click or drag to resize

LayerFactory Properties

The LayerFactory type exposes the following members.

Properties
  NameDescription
Public propertyAvailableMapStyles
All available map styles configured on the corresponding xMap2 server.
Public propertyBackgroundLayer
An ILayer object providing a tile-based (i.e. more responsive) rendering. The geographical content is defined by the list of background themes, see BackgroundThemes. This layer object should be inserted in a Map before the LabelLayer.
Public propertyBackgroundThemes
Collection of themes which determine the geographical content of the BackgroundLayer, for example themes like background or transport.
Public propertyBaseUrl
URL specifying the root part of the URL from which a service like rendering a map can be composed. For example, https://xserver2-europe-eu-test.cloud.ptvgroup.com can be used as a base URL providing access to a Cloud based XServer2 system. The renderMap service is composed to: https://xserver2-europe-eu-test.cloud.ptvgroup.com/services/rs/XMap/{version}/renderMap
Public propertyFeatureLayers
Provides functionality all around Feature Layers.
Public propertyLabelLayer
An ILayer object providing an untiled rendering, the whole map is comprised in a single bitmap. The geographical content is defined by the list of foreground themes, see LabelThemes. This layer object should be inserted in a Map after the BackgroundLayer.
Public propertyLabelThemes
Collection of themes which determine the geographical content for the LabelLayer, for example themes like labels or PTV_TruckAttributes. The major intention of this layer is to avoid blurred objects like texts or traffic signs when fractional rendering is applied. Fractional rendering is provided by the Map object allowing seamless zooming. In most mapping frameworks there are only zoom levels available according the classification of tile sizes. Only in such environments a tile-based rendering is recommended.
Public propertyMapLanguage
Function which returns the language, used for geographical objects in the map like names for town and streets. The language code is defined in BCP47, for example en, fr or de.
Public propertyMapStyle
Style of a map.
Public propertyPreferredRouteTypes
A set of network classifications of the preferred routes. Examples are BK_2.
Public propertyToken
For xServer internet, a token must be specified for authentication.
Public propertyUserLanguage
The language used for textual messages, for example provided by the theme traffic incidents. The language code is defined in BCP47, for example en, fr or de.
Top
See Also