VectorMapLayer Class

Summary: A layer inside Map that represents a vector layer data.

Module: aspose.gis.rendering

Full Name: aspose.gis.rendering.VectorMapLayer

Inheritance: MapLayer

Aspose.PSD Version: 25.9.0

Constructors

NameDescription
VectorMapLayer(features_sequence)Creates new instance with default symbolizer.
VectorMapLayer(features_sequence, symbolizer)Creates new instance with default symbolizer.
VectorMapLayer(features_sequence, symbolizer, labeling, default_reference_system)Creates new instance with default symbolizer.
VectorMapLayer(layer, keep_open)Creates new instance with default symbolizer.
VectorMapLayer(layer, symbolizer, keep_open)Creates new instance.
VectorMapLayer(layer, symbolizer, labeling, default_reference_system, keep_open)Creates new instance.
VectorMapLayer(layer, symbolizer, labeling, keep_open)Creates new instance.

Properties

NameTypeAccessDescription
features_sequenceFeaturesSequencerThe features sequence represented by this VectorMapLayer.
labelingLabelingr/wSpecifies warp options of the map layer.
opacitydoubler/wOpacity of the layer.
symbolizerVectorSymbolizerr/wSymbolizer to use to render features of the layer.

Methods

NameDescription
import_sld(path, options)Imports style from Styled Layer Descriptor file located at the specified path.
import_sld(path, options)Imports style from Styled Layer Descriptor file located at the specified path.
import_sld_from_string(sld, options)Imports style from the specified Styled Layer Descriptor string.

Constructor: VectorMapLayer(features_sequence)

 VectorMapLayer(features_sequence) 

Creates new instance with default symbolizer.

Parameters:

ParameterTypeDescription
features_sequenceFeaturesSequenceFeatures sequence.

Constructor: VectorMapLayer(features_sequence, symbolizer)

 VectorMapLayer(features_sequence, symbolizer) 

Creates new instance with default symbolizer.

Parameters:

ParameterTypeDescription
features_sequenceFeaturesSequenceFeatures sequence.
symbolizerVectorSymbolizerSymbolizer to use to render layer. If , default symbolizer will be used.

Constructor: VectorMapLayer(features_sequence, symbolizer, labeling, default_reference_system)

 VectorMapLayer(features_sequence, symbolizer, labeling, default_reference_system) 

Creates new instance with default symbolizer.

Parameters:

ParameterTypeDescription
features_sequenceFeaturesSequenceFeatures sequence.
symbolizerVectorSymbolizerSymbolizer to use to render layer. If , default symbolizer will be used.
labelingLabelingLabeling to use to label features in layer. If , default NullLabeling will be used.
default_reference_systemSpatialReferenceSystemSpecifies a value for a source spatial reference (layer\sequence) if that is missing. Default null will be used.

Constructor: VectorMapLayer(layer, keep_open)

 VectorMapLayer(layer, keep_open) 

Creates new instance with default symbolizer.

Parameters:

ParameterTypeDescription
layerVectorLayerVector layer.
keep_openboolto leave the layer open after the VectorMapLayer object is disposed; otherwise, .

Constructor: VectorMapLayer(layer, symbolizer, keep_open)

 VectorMapLayer(layer, symbolizer, keep_open) 

Creates new instance.

Parameters:

ParameterTypeDescription
layerVectorLayerVector layer.
symbolizerVectorSymbolizerSymbolizer to use to render layer. If , default symbolizer will be used.
keep_openboolto leave the layer open after the VectorMapLayer object is disposed; otherwise, .

Constructor: VectorMapLayer(layer, symbolizer, labeling, default_reference_system, keep_open)

 VectorMapLayer(layer, symbolizer, labeling, default_reference_system, keep_open) 

Creates new instance.

Parameters:

ParameterTypeDescription
layerVectorLayerVector layer.
symbolizerVectorSymbolizerSymbolizer to use to render layer. If , default symbolizer will be used.
labelingLabelingLabeling to use to label features in layer. If , default NullLabeling will be used.
default_reference_systemSpatialReferenceSystemSpecifies a value for a source spatial reference (layer\sequence) if that is missing. Default null will be used.
keep_openboolto leave the layer open after the VectorMapLayer object is disposed; otherwise, .

Constructor: VectorMapLayer(layer, symbolizer, labeling, keep_open)

 VectorMapLayer(layer, symbolizer, labeling, keep_open) 

Creates new instance.

Parameters:

ParameterTypeDescription
layerVectorLayerVector layer.
symbolizerVectorSymbolizerSymbolizer to use to render layer. If , default symbolizer will be used.
labelingLabelingLabeling to use to label features in layer. If , default NullLabeling will be used.
keep_openboolto leave the layer open after the VectorMapLayer object is disposed; otherwise, .

Method: import_sld(path, options)

 import_sld(path, options) 

Imports style from Styled Layer Descriptor file located at the specified path.

Parameters:

ParameterTypeDescription
pathstringPath to the Styled Layer Descriptor file.
optionsSldImportOptionsImport options.

Method: import_sld(path, options)

 import_sld(path, options) 

Imports style from Styled Layer Descriptor file located at the specified path.

Parameters:

ParameterTypeDescription
pathAbstractPathPath to the Styled Layer Descriptor file.
optionsSldImportOptionsImport options.

Method: import_sld_from_string(sld, options)

 import_sld_from_string(sld, options) 

Imports style from the specified Styled Layer Descriptor string.

Parameters:

ParameterTypeDescription
sldstringStyled Layer Descriptor.
optionsSldImportOptionsImport options.