Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class GeographicCoordinateModel

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

Inheritance
System.Object
GeographicCoordinateModel
Namespace: EPiServer.Personalization.VisitorGroups.Criteria
Assembly: EPiServer.dll
Version: 10.10.4
Syntax
public class GeographicCoordinateModel : CriterionModelBase

Constructors

GeographicCoordinateModel()

Declaration
public GeographicCoordinateModel()

Properties

Latitude

Selected latitude

Declaration
public double Latitude { get; set; }
Property Value
Type Description
System.Double

Location

Textual description of the selected location

Declaration
public string Location { get; set; }
Property Value
Type Description
System.String

Longitude

Selected longitude

Declaration
public double Longitude { get; set; }
Property Value
Type Description
System.Double

Radius

Radius around specified longitude and latitude in kilometers

Declaration
public double Radius { get; set; }
Property Value
Type Description
System.Double

RadiusUnit

Gets or sets which unit the Radius is specified in

Declaration
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
EPiServer.Personalization.VisitorGroups.ICriterionModel

A new object that is a copy of this instance.

Extension Methods