November Happy Hour will be moved to Thursday December 5th.

Class GeographicCoordinateModel

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Model class for geographic coordinate criterion

Inheritance
System.Object
GeographicCoordinateModel
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Personalization.VisitorGroups.Criteria
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class GeographicCoordinateModel : CriterionModelBase, ICriterionModel, IDynamicData

Constructors

GeographicCoordinateModel()

Declaration
public GeographicCoordinateModel()

Properties

Latitude

Selected latitude

Declaration
[CriterionPropertyCulture(Culture = PropertyCulture.InvariantCulture)]
[DojoWidget(Ignore = true)]
public double Latitude { get; set; }
Property Value
Type Description
System.Double

Location

Textual description of the selected location

Declaration
[DojoWidget(Ignore = true)]
public string Location { get; set; }
Property Value
Type Description
System.String

Longitude

Selected longitude

Declaration
[CriterionPropertyCulture(Culture = PropertyCulture.InvariantCulture)]
[DojoWidget(Ignore = true)]
public double Longitude { get; set; }
Property Value
Type Description
System.Double

Radius

Radius around specified longitude and latitude in kilometers

Declaration
[DojoWidget(WidgetType = "dijit/form/NumberSpinner", AdditionalOptions = "{ selectOnClick: true }")]
public double Radius { get; set; }
Property Value
Type Description
System.Double

RadiusUnit

Gets or sets which unit the Radius is specified in

Declaration
[DojoWidget(SelectionFactoryType = typeof(EnumSelectionFactory), AdditionalOptions = "{ selectOnClick: true }")]
public DistanceUnit RadiusUnit { get; set; }
Property Value
Type Description
DistanceUnit

Methods

Copy()

Creates a new object that is a copy of the current instance.

Declaration
public override ICriterionModel Copy()
Returns
Type Description
ICriterionModel

A new object that is a copy of this instance.

Overrides

Implements

Extension Methods