Click or drag to resize

FeatureLayers Class

Concentrates functionality around Feature Layers in XMap2 environment, especially the installed Feature Layer themes and all parameters related to time consideration.
Inheritance Hierarchy
SystemObject
  Ptv.XServer.Controls.Map.Layers.Xmap2FeatureLayers

Namespace:  Ptv.XServer.Controls.Map.Layers.Xmap2
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public class FeatureLayers

The FeatureLayers type exposes the following members.

Constructors
  NameDescription
Public methodFeatureLayers
Initializes the new instance with a reference to the possessing layer factory.
Top
Properties
  NameDescription
Public propertyAvailableContentSnapshots
Provides all available content snapshots configured on the server defined by the BaseUrl property.
Public propertyAvailableThemes
Provides all available Feature Layer themes installed on the server defined by the BaseUrl property.
Public propertyContentSnapshotId
ID of the content snapshot.
Public propertyReferenceTime
For SnapshotTimeConsideration and TimeSpanConsideration it is necessary to define a reference time to determine which time dependent features should be active or not. The reference time including a time zone comes along in the following format: yyyy-MM-ddTHH:mm:ss[+-]HH:mm, for example 2018-08-05T04:00:00+02:00.
Public propertyShowOnlyRelevantByTime
Function which indicates if the non-relevant Features should be shown or not.
Public propertyTimeConsiderationScenario
Time consideration scenario which should be used when the map is rendered and map objects are retrieved. Currently supported scenarios are OptimisticTimeConsideration, SnapshotTimeConsideration and TimeSpanConsideration. For all other return values (including null string), no scenario is used and all time dependent features are not relevant.
Public propertyTimeSpan
Time span (in seconds) which is added to the reference time and needed for the TimeSpanConsideration scenario.
Top
Extension Methods
  NameDescription
Public Extension MethodToJson
Converts an object to a JSON string representation.
(Defined by JSONWriter.)
Top
See Also