Search Results for

    Show / Hide Table of Contents

    Interface ITileSetAbstract

    An abstraction that works with both Tile Set Definitions and the base map section of a Map Definition

    Namespace: OSGeo.MapGuide.ObjectModels.TileSetDefinition
    Assembly: OSGeo.MapGuide.ObjectModels.dll
    Syntax
    public interface ITileSetAbstract

    Properties

    | Improve this Doc View Source

    BaseMapLayerGroups

    The base map layer groups

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

    FiniteDisplayScale

    The finite display scale list

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

    GroupCount

    Gets the group count.

    Declaration
    int GroupCount { get; }
    Property Value
    Type Description
    System.Int32

    The group count.

    | Improve this Doc View Source

    ScaleCount

    Gets the scale count.

    Declaration
    int ScaleCount { get; }
    Property Value
    Type Description
    System.Int32

    The scale count.

    | Improve this Doc View Source

    SupportsCustomFiniteDisplayScales

    Gets whether this tile set supports custom finite display scales. If false, none of the scale operations should be used

    Declaration
    bool SupportsCustomFiniteDisplayScales { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    SupportsCustomFiniteDisplayScalesUnconditionally

    Gets whether this tile set supports under certain conditions. If false, the caller should check if SupportsCustomFiniteDisplayScales is true in order to safely invoke any scale based operations

    Declaration
    bool SupportsCustomFiniteDisplayScalesUnconditionally { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    AddBaseLayerGroup(String)

    Adds the base layer group.

    Declaration
    IBaseMapGroup AddBaseLayerGroup(string name)
    Parameters
    Type Name Description
    System.String name

    The name.

    Returns
    Type Description
    IBaseMapGroup

    The group

    | Improve this Doc View Source

    AddFiniteDisplayScale(Double)

    Adds the finite display scale. The implementation may internally sort after adding the added item

    Declaration
    void AddFiniteDisplayScale(double value)
    Parameters
    Type Name Description
    System.Double value

    The value.

    | Improve this Doc View Source

    GetGroupAt(Int32)

    Gets the group at the specified index

    Declaration
    IBaseMapGroup GetGroupAt(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The index.

    Returns
    Type Description
    IBaseMapGroup

    The group

    | Improve this Doc View Source

    GetLayersForGroup(String)

    Gets the layer for the given base layer group name

    Declaration
    IEnumerable<IBaseMapLayer> GetLayersForGroup(string groupName)
    Parameters
    Type Name Description
    System.String groupName
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<IBaseMapLayer>
    | Improve this Doc View Source

    GetScaleAt(Int32)

    Gets the scale at the specified index

    Declaration
    double GetScaleAt(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The index.

    Returns
    Type Description
    System.Double

    The scale

    | Improve this Doc View Source

    RemoveAllScales()

    Removes all scales.

    Declaration
    void RemoveAllScales()
    | Improve this Doc View Source

    RemoveBaseLayerGroup(IBaseMapGroup)

    Removes the base layer group.

    Declaration
    void RemoveBaseLayerGroup(IBaseMapGroup group)
    Parameters
    Type Name Description
    IBaseMapGroup group

    The group.

    | Improve this Doc View Source

    RemoveFiniteDisplayScale(Double)

    Removes the finite display scale.

    Declaration
    void RemoveFiniteDisplayScale(double value)
    Parameters
    Type Name Description
    System.Double value

    The value.

    | Improve this Doc View Source

    RemoveScaleAt(Int32)

    Removes the scale at the specified index

    Declaration
    void RemoveScaleAt(int index)
    Parameters
    Type Name Description
    System.Int32 index

    The index.

    | Improve this Doc View Source

    SetFiniteDisplayScales(IEnumerable<Double>)

    Sets the finite display scale list

    Declaration
    void SetFiniteDisplayScales(IEnumerable<double> scales)
    Parameters
    Type Name Description
    System.Collections.Generic.IEnumerable<System.Double> scales

    The scales to set

    Extension Methods

    ExtensionMethods.GetBaseLayerCount(ITileSetAbstract)
    ExtensionMethods.GetMinScale(ITileSetAbstract)
    ExtensionMethods.GetMaxScale(ITileSetAbstract)
    ExtensionMethods.GetGroupForLayer(ITileSetAbstract, IBaseMapLayer)
    ExtensionMethods.HasLayers(ITileSetAbstract)
    ExtensionMethods.HasGroups(ITileSetAbstract)
    ExtensionMethods.GetFirstGroup(ITileSetAbstract)
    ExtensionMethods.GetBaseLayerByName(ITileSetAbstract, String)
    ExtensionMethods.LayerExists(ITileSetAbstract, String)
    ExtensionMethods.GetGroup(ITileSetAbstract, String)
    ExtensionMethods.GroupExists(ITileSetAbstract, String)
    ExtensionMethods.GetLayersForGroup(ITileSetAbstract, String)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2009 - 2022 Jackie Ng