Search Results for

    Show / Hide Table of Contents

    Interface IVectorLayerDefinition

    Represents a layer definition based on a vector-based feature source

    Inherited Members
    ISubLayerDefinition.LayerType
    ISubLayerDefinition.ResourceId
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    Namespace: OSGeo.MapGuide.ObjectModels.LayerDefinition
    Assembly: OSGeo.MapGuide.ObjectModels.dll
    Syntax
    public interface IVectorLayerDefinition : ISubLayerDefinition, INotifyPropertyChanged

    Properties

    | Improve this Doc View Source

    FeatureName

    Gets or sets fully qualified name of the feature class which this layer applies

    Declaration
    string FeatureName { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Filter

    Gets or sets an FDO filter which is applied when rendering/styling features

    Declaration
    string Filter { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Geometry

    Gets or sets the geometry field of the feature class which this layer applies

    Declaration
    string Geometry { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    PropertyMapping

    Gets the property mappings for this layer. This determines which properties are displayed (and what labels to use) in the property pane and

    Declaration
    IEnumerable<INameStringPair> PropertyMapping { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<INameStringPair>
    | Improve this Doc View Source

    SymbolDefinitionVersion

    Gets the supported symbol definition version to use for composite symbolization. If the Layer Definition does not support composite symbolization, null is returned

    Declaration
    Version SymbolDefinitionVersion { get; }
    Property Value
    Type Description
    System.Version
    | Improve this Doc View Source

    ToolTip

    Gets or sets an FDO expression which represents the HTML content that is displayed when the mouse is over the current feature

    Declaration
    string ToolTip { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Url

    Gets or sets an FDO expression which represents the URL that is opened when a feature is selected

    Declaration
    string Url { get; set; }
    Property Value
    Type Description
    System.String
    Remarks

    If this is a IVectorLayerDefinition2 instance, this property is a pass through to the Content property value. In other words it is equivalent to getting or setting the value of UrlData.Content

    | Improve this Doc View Source

    VectorScaleRange

    Gets the scale ranges for this layer

    Declaration
    IEnumerable<IVectorScaleRange> VectorScaleRange { get; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IVectorScaleRange>

    Methods

    | Improve this Doc View Source

    AddPropertyMapping(INameStringPair)

    Adds the specified property mapping

    Declaration
    void AddPropertyMapping(INameStringPair pair)
    Parameters
    Type Name Description
    INameStringPair pair
    | Improve this Doc View Source

    AddVectorScaleRange(IVectorScaleRange)

    Adds the specified vector scale range

    Declaration
    void AddVectorScaleRange(IVectorScaleRange range)
    Parameters
    Type Name Description
    IVectorScaleRange range
    | Improve this Doc View Source

    ClearPropertyMappings()

    Removes all property mappings

    Declaration
    void ClearPropertyMappings()
    | Improve this Doc View Source

    GetPosition(INameStringPair)

    Gets the position of the specified pair in the order of property mappings

    Declaration
    int GetPosition(INameStringPair pair)
    Parameters
    Type Name Description
    INameStringPair pair
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetPropertyMapping(String)

    Gets the property mapping for the feature class property

    Declaration
    INameStringPair GetPropertyMapping(string name)
    Parameters
    Type Name Description
    System.String name
    Returns
    Type Description
    INameStringPair
    | Improve this Doc View Source

    GetPropertyMappingAt(Int32)

    Gets the property mapping at the specified index

    Declaration
    INameStringPair GetPropertyMappingAt(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    INameStringPair
    | Improve this Doc View Source

    GetScaleRangeAt(Int32)

    Gets the scale range at this specified index

    Declaration
    IVectorScaleRange GetScaleRangeAt(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    IVectorScaleRange
    | Improve this Doc View Source

    IndexOfScaleRange(IVectorScaleRange)

    Gets the collection index of this scale range

    Declaration
    int IndexOfScaleRange(IVectorScaleRange range)
    Parameters
    Type Name Description
    IVectorScaleRange range
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    MoveDown(INameStringPair)

    Moves the specified pair down the order of property mappings

    Declaration
    int MoveDown(INameStringPair pair)
    Parameters
    Type Name Description
    INameStringPair pair
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    MoveUp(INameStringPair)

    Moves the specified pair up the order of property mappings

    Declaration
    int MoveUp(INameStringPair pair)
    Parameters
    Type Name Description
    INameStringPair pair
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    RemoveAllScaleRanges()

    Removes all scale ranges from this layer

    Declaration
    void RemoveAllScaleRanges()
    | Improve this Doc View Source

    RemovePropertyMapping(INameStringPair)

    Removes the specified property mapping

    Declaration
    void RemovePropertyMapping(INameStringPair pair)
    Parameters
    Type Name Description
    INameStringPair pair
    | Improve this Doc View Source

    RemoveVectorScaleRange(IVectorScaleRange)

    Removes the specified vector scale range

    Declaration
    void RemoveVectorScaleRange(IVectorScaleRange range)
    Parameters
    Type Name Description
    IVectorScaleRange range

    Extension Methods

    ExtensionMethods.HasVectorScaleRanges(IVectorLayerDefinition)
    ExtensionMethods.GetScaleRangeCount(IVectorLayerDefinition)
    ExtensionMethods.GetSchema(IVectorLayerDefinition)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng