Copied!

MapLocationTarget

MapLocationTarget.php : 16
Extends Target

Struct that stores extra value information for a MapLocationDistance SortClause object.

Properties

public $fieldIdentifier

MapLocationTarget.php : 44

Identifier of a targeted Field FieldDefinition.

public string $fieldIdentifier

public $latitude

MapLocationTarget.php : 23

Latitude of a geographical location.

public float $latitude

public $longitude

MapLocationTarget.php : 30

Longitude of a geographical location.

public float $longitude

public $typeIdentifier

MapLocationTarget.php : 37

Identifier of a targeted Field ContentType.

public string $typeIdentifier

Methods

public__construct()

MapLocationTarget.php : 52
public __construct(float $latitude, float $longitude, string $typeIdentifier, string $fieldIdentifier)

Parameters

Name Type Default value Description
$latitude float - -
$longitude float - -
$typeIdentifier string - -
$fieldIdentifier string - -