layout: default title: FeatureTemplate parent: Core Classes —
dymaptic.GeoBlazor.Core
dymaptic.GeoBlazor.Core.Components.Layers
FeatureTemplate Class
Feature templates define all the information required to create a new feature in
a feature layer. These include information such as the default attribute values with
which a feature will be created, and the default tool used to create that feature.
public class FeatureTemplate :
System.IEquatable<dymaptic.GeoBlazor.Core.Components.Layers.FeatureTemplate>
Inheritance System.Object 🡒 FeatureTemplate
Implements System.IEquatable<FeatureTemplate>
Constructors
FeatureTemplate(string, string, DrawingTool, Thumbnail, Graphic) Constructor
Feature templates define all the information required to create a new feature in
a feature layer. These include information such as the default attribute values with
which a feature will be created, and the default tool used to create that feature.
public FeatureTemplate(string Name, string Description, dymaptic.GeoBlazor.Core.Components.Layers.DrawingTool DrawingTool, dymaptic.GeoBlazor.Core.Components.Layers.Thumbnail Thumbnail, dymaptic.GeoBlazor.Core.Components.Layers.Graphic Prototype);
Parameters
Name
System.String
Name of the feature template.
Description
System.String
Description of the feature template.
DrawingTool
DrawingTool
Name of the default drawing tool defined for the template to create a feature.
Thumbnail
Thumbnail
An object used to create a thumbnail image that represents a feature type in the feature template.
Prototype
Graphic
An instance of the prototypical feature described by the feature template. It specifies default values for the attribute fields and does not contain geometry.
Properties
FeatureTemplate.Description Property
Description of the feature template.
public string Description { get; set; }
Property Value
FeatureTemplate.DrawingTool Property
Name of the default drawing tool defined for the template to create a feature.
public dymaptic.GeoBlazor.Core.Components.Layers.DrawingTool DrawingTool { get; set; }
Property Value
FeatureTemplate.Name Property
Name of the feature template.
public string Name { get; set; }
Property Value
FeatureTemplate.Prototype Property
An instance of the prototypical feature described by the feature template. It specifies default values for the attribute fields and does not contain geometry.
public dymaptic.GeoBlazor.Core.Components.Layers.Graphic Prototype { get; set; }
Property Value
FeatureTemplate.Thumbnail Property
An object used to create a thumbnail image that represents a feature type in the feature template.
public dymaptic.GeoBlazor.Core.Components.Layers.Thumbnail Thumbnail { get; set; }