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 SourceBaseMapLayerGroups
The base map layer groups
Declaration
IEnumerable<IBaseMapGroup> BaseMapLayerGroups { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IBaseMapGroup> |
FiniteDisplayScale
The finite display scale list
Declaration
IEnumerable<double> FiniteDisplayScale { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Double> |
GroupCount
Gets the group count.
Declaration
int GroupCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The group count. |
ScaleCount
Gets the scale count.
Declaration
int ScaleCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | The scale count. |
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 |
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 SourceAddBaseLayerGroup(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 |
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. |
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 |
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> |
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 |
RemoveAllScales()
Removes all scales.
Declaration
void RemoveAllScales()
RemoveBaseLayerGroup(IBaseMapGroup)
Removes the base layer group.
Declaration
void RemoveBaseLayerGroup(IBaseMapGroup group)
Parameters
Type | Name | Description |
---|---|---|
IBaseMapGroup | group | The group. |
RemoveFiniteDisplayScale(Double)
Removes the finite display scale.
Declaration
void RemoveFiniteDisplayScale(double value)
Parameters
Type | Name | Description |
---|---|---|
System.Double | value | The value. |
RemoveScaleAt(Int32)
Removes the scale at the specified index
Declaration
void RemoveScaleAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
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 |