GeoBlazor Pro
dymaptic.GeoBlazor.Pro
dymaptic.GeoBlazor.Pro.Options
SketchViewModelDefaultCreateOptions Class
Default create options set for the SketchViewModel.
ArcGIS Maps SDK for JavaScript
public class SketchViewModelDefaultCreateOptions :
System.IEquatable<dymaptic.GeoBlazor.Pro.Options.SketchViewModelDefaultCreateOptions>
Inheritance System.Object 🡒 SketchViewModelDefaultCreateOptions
Implements System.IEquatable<SketchViewModelDefaultCreateOptions>
Constructors
SketchViewModelDefaultCreateOptions(Nullable, Nullable, Nullable, Nullable) Constructor
Default create options set for the SketchViewModel.
ArcGIS Maps SDK for JavaScript
public SketchViewModelDefaultCreateOptions(System.Nullable<double> DefaultZ=null, System.Nullable<bool> HasZ=null, System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawMode> Mode=null, System.Nullable<bool> PreserveAspectRatio=null);
Parameters
DefaultZ
System.Nullable<System.Double>
The default z-value of the newly created geometry.
ArcGIS Maps SDK for JavaScript
HasZ
System.Nullable<System.Boolean>
Controls whether the created geometry has z-values or not.
ArcGIS Maps SDK for JavaScript
Mode
System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawMode>
Create operation mode how the graphic can be created.
ArcGIS Maps SDK for JavaScript
PreserveAspectRatio
System.Nullable<System.Boolean>
Controls whether or not the width and height of the drawn geometry are kept equal.
ArcGIS Maps SDK for JavaScript
Properties
SketchViewModelDefaultCreateOptions.DefaultZ Property
The default z-value of the newly created geometry.
ArcGIS Maps SDK for JavaScript
public System.Nullable<double> DefaultZ { get; set; }
Property Value
System.Nullable<System.Double>
SketchViewModelDefaultCreateOptions.HasZ Property
Controls whether the created geometry has z-values or not.
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> HasZ { get; set; }
Property Value
System.Nullable<System.Boolean>
SketchViewModelDefaultCreateOptions.Mode Property
Create operation mode how the graphic can be created.
ArcGIS Maps SDK for JavaScript
public System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawMode> Mode { get; set; }
Property Value
System.Nullable<dymaptic.GeoBlazor.Core.Enums.DrawMode>
SketchViewModelDefaultCreateOptions.PreserveAspectRatio Property
Controls whether or not the width and height of the drawn geometry are kept equal.
ArcGIS Maps SDK for JavaScript
public System.Nullable<bool> PreserveAspectRatio { get; set; }