SaaS CMS has officially launched! Learn more now.

Class GeographicCoordinateModel

Model class for geographic coordinate criterion

Inheritance
System.Object
GeographicCoordinateModel
Namespace: EPiServer.Personalization.VisitorGroups.Criteria
Assembly: EPiServer.dll
Version: 7.19.2
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