Class RuntimeMapGroup
Represents a group of layers in a runtime map. Use CreateMapGroup(RuntimeMap, IMapLayerGroup) to create instances of this class.
Implements
Inherited Members
Namespace: OSGeo.MapGuide.MaestroAPI.Mapping
Assembly: OSGeo.MapGuide.MaestroAPI.dll
Syntax
public class RuntimeMapGroup : MapObservable, INotifyPropertyChanged
Constructors
| Improve this Doc View SourceRuntimeMapGroup()
Declaration
protected RuntimeMapGroup()
RuntimeMapGroup(RuntimeMap, IMapLayerGroup)
Initializes a new instance of the RuntimeMapGroup class.
Declaration
protected RuntimeMapGroup(RuntimeMap map, IMapLayerGroup group)
Parameters
Type | Name | Description |
---|---|---|
RuntimeMap | map | The map. |
IMapLayerGroup | group | The group. |
RuntimeMapGroup(RuntimeMap, String)
Initializes a new instance of the RuntimeMapGroup class.
Declaration
protected RuntimeMapGroup(RuntimeMap map, string name)
Parameters
Type | Name | Description |
---|---|---|
RuntimeMap | map | The map. |
System.String | name | The name. |
Properties
| Improve this Doc View SourceExpandInLegend
Gets or sets whether this group is expanded in the legend
Declaration
public virtual bool ExpandInLegend { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Group
Gets or sets the name of the parent group
Declaration
public virtual string Group { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LegendLabel
Gets or sets the legend label
Declaration
public virtual string LegendLabel { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets or sets the name of this group
Declaration
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ObjectId
Gets the unique identifier for this group
Declaration
public virtual string ObjectId { get; }
Property Value
Type | Description |
---|---|
System.String |
Parent
Gets the parent runtime map
Declaration
public RuntimeMap Parent { get; }
Property Value
Type | Description |
---|---|
RuntimeMap |
ShowInLegend
Gets or sets whether this group is visible in the legend
Declaration
public virtual bool ShowInLegend { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Type
Gets the group type
Declaration
public virtual int Type { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Visible
Gets or sets whether this group is visible
Declaration
public virtual bool Visible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceDeserialize(MgBinaryDeserializer)
Initialize this instance using the specified binary stream
Declaration
public virtual void Deserialize(MgBinaryDeserializer d)
Parameters
Type | Name | Description |
---|---|---|
MgBinaryDeserializer | d |
OnPropertyChanged(String)
Raises the System.ComponentModel.INotifyPropertyChanged.PropertyChanged event
Declaration
protected override void OnPropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName |
Overrides
| Improve this Doc View SourceSerialize(MgBinarySerializer)
Serializes this instance
Declaration
public virtual void Serialize(MgBinarySerializer s)
Parameters
Type | Name | Description |
---|---|---|
MgBinarySerializer | s |