dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Serialization
GraphicSerializationRecord Class
Protobuf serialization record for Graphic.
public record GraphicSerializationRecord : dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<dymaptic.GeoBlazor.Core.Components.Graphic>, System.IEquatable<dymaptic.GeoBlazor.Core.Serialization.GraphicSerializationRecord>
Inheritance System.Object 🡒 MapComponentSerializationRecord 🡒 dymaptic.GeoBlazor.Core.Serialization.MapComponentSerializationRecord<Graphic> 🡒 GraphicSerializationRecord
Implements System.IEquatable<GraphicSerializationRecord>
Constructors
GraphicSerializationRecord() Constructor
Default constructor for protobuf deserialization.
public GraphicSerializationRecord();
GraphicSerializationRecord(string, GeometrySerializationRecord, SymbolSerializationRecord, PopupTemplateSerializationRecord, AttributeSerializationRecord[], Nullable, string, GraphicOriginSerializationRecord, string, string) Constructor
Creates a new GraphicSerializationRecord with the specified values.
public GraphicSerializationRecord(string Id, dymaptic.GeoBlazor.Core.Serialization.GeometrySerializationRecord? Geometry, dymaptic.GeoBlazor.Core.Serialization.SymbolSerializationRecord? Symbol, dymaptic.GeoBlazor.Core.Serialization.PopupTemplateSerializationRecord? PopupTemplate, dymaptic.GeoBlazor.Core.Serialization.AttributeSerializationRecord[]? Attributes, System.Nullable<bool> Visible, string? AggregateGeometries, dymaptic.GeoBlazor.Core.Serialization.GraphicOriginSerializationRecord? Origin, string? LayerId, string? ViewId);
Parameters
Geometry GeometrySerializationRecord
Symbol SymbolSerializationRecord
PopupTemplate PopupTemplateSerializationRecord
Attributes AttributeSerializationRecord[]
Visible System.Nullable<System.Boolean>
AggregateGeometries System.String
Origin GraphicOriginSerializationRecord
LayerId System.String
ViewId System.String
Properties
GraphicSerializationRecord.AggregateGeometries Property
The aggregate geometries setting.
public string? AggregateGeometries { get; set; }
Property Value
GraphicSerializationRecord.Attributes Property
The attributes of the graphic.
public dymaptic.GeoBlazor.Core.Serialization.AttributeSerializationRecord[]? Attributes { get; set; }
Property Value
AttributeSerializationRecord[]
GraphicSerializationRecord.Geometry Property
The geometry of the graphic.
public dymaptic.GeoBlazor.Core.Serialization.GeometrySerializationRecord? Geometry { get; set; }
Property Value
GraphicSerializationRecord.Id Property
The unique identifier.
public string? Id { get; set; }
Property Value
GraphicSerializationRecord.IsNull Property
Indicates whether this record represents a null value.
public override bool IsNull { get; init; }
Property Value
GraphicSerializationRecord.LayerId Property
The layer ID associated with the graphic.
public string? LayerId { get; set; }
Property Value
GraphicSerializationRecord.Origin Property
The origin information for the graphic.
public dymaptic.GeoBlazor.Core.Serialization.GraphicOriginSerializationRecord? Origin { get; set; }
Property Value
GraphicOriginSerializationRecord
GraphicSerializationRecord.PopupTemplate Property
The popup template for the graphic.
public dymaptic.GeoBlazor.Core.Serialization.PopupTemplateSerializationRecord? PopupTemplate { get; set; }
Property Value
PopupTemplateSerializationRecord
GraphicSerializationRecord.StackedAttributes Property
The stacked attributes for clustered graphics.
public dymaptic.GeoBlazor.Core.Serialization.AttributeSerializationRecord[]? StackedAttributes { get; set; }
Property Value
AttributeSerializationRecord[]
GraphicSerializationRecord.Symbol Property
The symbol used to render the graphic.
public dymaptic.GeoBlazor.Core.Serialization.SymbolSerializationRecord? Symbol { get; set; }
Property Value
GraphicSerializationRecord.ViewId Property
The view ID associated with the graphic.
public string? ViewId { get; set; }
Property Value
GraphicSerializationRecord.Visible Property
Indicates whether the graphic is visible.
public System.Nullable<bool> Visible { get; set; }
Property Value
System.Nullable<System.Boolean>
Methods
GraphicSerializationRecord.FromSerializationRecord() Method
Converts this serialization record back to the original type.
public override dymaptic.GeoBlazor.Core.Components.Graphic? FromSerializationRecord();