GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Components
FeatureTemplate Class
Feature templates define all the information required to create a new feature in a feature layer.
ArcGIS Maps SDK for JavaScript
public class FeatureTemplate : dymaptic.GeoBlazor.Core.Components.MapComponent,
dymaptic.GeoBlazor.Core.Interfaces.IFeatureTemplate,
dymaptic.GeoBlazor.Core.Interfaces.IMapComponent,
dymaptic.GeoBlazor.Core.Interfaces.ICreateFeaturesWorkflowDataFullTemplate,
dymaptic.GeoBlazor.Core.Interfaces.ICreationInfoTemplate,
dymaptic.GeoBlazor.Core.Interfaces.IEditorViewModelGetTemplatesForLayer,
dymaptic.GeoBlazor.Core.Interfaces.ITemplateItemTemplate
Inheritance System.Object 🡒 Microsoft.AspNetCore.Components.ComponentBase 🡒 dymaptic.GeoBlazor.Core.Components.MapComponent 🡒 FeatureTemplate
Implements dymaptic.GeoBlazor.Core.Interfaces.IFeatureTemplate, dymaptic.GeoBlazor.Core.Interfaces.IMapComponent, dymaptic.GeoBlazor.Core.Interfaces.ICreateFeaturesWorkflowDataFullTemplate, dymaptic.GeoBlazor.Core.Interfaces.ICreationInfoTemplate, dymaptic.GeoBlazor.Core.Interfaces.IEditorViewModelGetTemplatesForLayer, dymaptic.GeoBlazor.Core.Interfaces.ITemplateItemTemplate
Constructors
FeatureTemplate() Constructor
Parameterless constructor for use as a Razor Component.
public FeatureTemplate();
FeatureTemplate(string, Nullable, string, Graphic, Thumbnail) Constructor
Constructor for use in C# code. Use named parameters (e.g., item1: value1, item2: value2) to set properties in any order.
public FeatureTemplate(string? description=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawingTool> drawingTool=null, string? name=null, dymaptic.GeoBlazor.Core.Components.Graphic? prototype=null, dymaptic.GeoBlazor.Core.Model.Thumbnail? thumbnail=null);
Parameters
description
System.String
Description of the feature template.
ArcGIS Maps SDK for JavaScript
drawingTool
System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawingTool>
Name of the default drawing tool defined for the template to create a feature.
ArcGIS Maps SDK for JavaScript
name
System.String
Name of the feature template.
ArcGIS Maps SDK for JavaScript
prototype
dymaptic.GeoBlazor.Core.Components.Graphic
An instance of the prototypical feature described by the feature template.
ArcGIS Maps SDK for JavaScript
thumbnail
dymaptic.GeoBlazor.Core.Model.Thumbnail
An object used to create a thumbnail image that represents a feature type in the feature template.
ArcGIS Maps SDK for JavaScript
Properties
FeatureTemplate.Description Property
Description of the feature template.
ArcGIS Maps SDK for JavaScript
public string? Description { get; set; }
Property Value
FeatureTemplate.DrawingTool Property
Name of the default drawing tool defined for the template to create a feature.
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawingTool> DrawingTool { get; set; }
Property Value
System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawingTool>
FeatureTemplate.Name Property
Name of the feature template.
ArcGIS Maps SDK for JavaScript
public string? Name { get; set; }
Property Value
FeatureTemplate.Prototype Property
An instance of the prototypical feature described by the feature template.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Components.Graphic? Prototype { get; set; }
Property Value
dymaptic.GeoBlazor.Core.Components.Graphic
FeatureTemplate.Thumbnail Property
An object used to create a thumbnail image that represents a feature type in the feature template.
ArcGIS Maps SDK for JavaScript
public dymaptic.GeoBlazor.Core.Model.Thumbnail? Thumbnail { get; set; }
Property Value
dymaptic.GeoBlazor.Core.Model.Thumbnail
Methods
FeatureTemplate.GetDescription() Method
Asynchronously retrieve the current value of the Description property.
public System.Threading.Tasks.Task<string?> GetDescription();
Returns
System.Threading.Tasks.Task<System.String>
FeatureTemplate.GetDrawingTool() Method
Asynchronously retrieve the current value of the DrawingTool property.
public System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawingTool>> GetDrawingTool();
Returns
System.Threading.Tasks.Task<System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawingTool>>
FeatureTemplate.GetName() Method
Asynchronously retrieve the current value of the Name property.
public System.Threading.Tasks.Task<string?> GetName();
Returns
System.Threading.Tasks.Task<System.String>
FeatureTemplate.GetPrototype() Method
Asynchronously retrieve the current value of the Prototype property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Graphic?> GetPrototype();
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Components.Graphic>
FeatureTemplate.GetThumbnail() Method
Asynchronously retrieve the current value of the Thumbnail property.
public System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Thumbnail?> GetThumbnail();
Returns
System.Threading.Tasks.Task<dymaptic.GeoBlazor.Core.Model.Thumbnail>
FeatureTemplate.SetDescription(string) Method
Asynchronously set the value of the Description property after render.
public System.Threading.Tasks.Task SetDescription(string? value);
Parameters
value
System.String
The value to set.
Returns
FeatureTemplate.SetDrawingTool(Nullable) Method
Asynchronously set the value of the DrawingTool property after render.
public System.Threading.Tasks.Task SetDrawingTool(System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawingTool> value);
Parameters
value
System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawingTool>
The value to set.
Returns
FeatureTemplate.SetName(string) Method
Asynchronously set the value of the Name property after render.
public System.Threading.Tasks.Task SetName(string? value);
Parameters
value
System.String
The value to set.
Returns
FeatureTemplate.SetPrototype(Graphic) Method
Asynchronously set the value of the Prototype property after render.
public System.Threading.Tasks.Task SetPrototype(dymaptic.GeoBlazor.Core.Components.Graphic? value);
Parameters
value
dymaptic.GeoBlazor.Core.Components.Graphic
The value to set.
Returns
FeatureTemplate.SetThumbnail(Thumbnail) Method
Asynchronously set the value of the Thumbnail property after render.
public System.Threading.Tasks.Task SetThumbnail(dymaptic.GeoBlazor.Core.Model.Thumbnail? value);
Parameters
value
dymaptic.GeoBlazor.Core.Model.Thumbnail
The value to set.
Returns
FeatureTemplate.ValidateRequiredGeneratedChildren() Method
Validates source-generated child components.
public override void ValidateRequiredGeneratedChildren();
Implements ValidateRequiredGeneratedChildren()