Table of Contents

Class MultipleFeatureLayer

Namespace
ThinkGeo.Core
Assembly
ThinkGeo.Core.dll

This class represents a Layer backed by multiple Shape Files.

public class MultipleFeatureLayer : FeatureLayer
Inheritance
MultipleFeatureLayer
Inherited Members

Remarks

None

Constructors

MultipleFeatureLayer()

This is the default constructor for the class.

public MultipleFeatureLayer()

Remarks

This is the default constructor. If you use this constructor, then you need to set the required properties manually.

MultipleFeatureLayer(IEnumerable<FeatureSource>)

This is a constructor for the class.

public MultipleFeatureLayer(IEnumerable<FeatureSource> featureSources)

Parameters

featureSources IEnumerable<FeatureSource>

This parameter represents the FeatureSources in this class that you want to use.

Remarks

This constructor gets the layer ready to use.

Properties

FeatureSources

This property gets the FeatureSources you want to use.

public Collection<FeatureSource> FeatureSources { get; }

Property Value

Collection<FeatureSource>

This property gets the FeatureSources you want to use.

Remarks

This property gets the FeatureSources you want to use.

HasBoundingBox

This property checks to see if a Layer has a BoundingBox or not. If it has no BoundingBox, it will throw an exception when you call the GetBoundingBox() and GetFullExtent() APIs. In MultipleFeatureLayer, we override this API and mark it as true.

public override bool HasBoundingBox { get; }

Property Value

bool

Remarks

The default implementation in the base class returns false.