GeoFilterParam uses ConstantsTrait
Convenience aliases accepted inside the `val` object of a {@see FilterType::GEO} filter, in addition to the canonical Schema.org `GeoCoordinates` keys.
The canonical names (latitude / longitude) come from
Schema; this enum only carries the short forms
(lat / lng / lon) commonly used by geo APIs, accepted on the request
side as a courtesy.
Tags
Table of Contents
Constants
- LAT : string = 'lat'
- Short alias for `latitude` on the request side.
- LNG : string = 'lng'
- Short alias for `longitude` on the request side.
- LON : string = 'lon'
- Short alias for `longitude` on the request side.
Constants
LAT
Short alias for `latitude` on the request side.
public
string
LAT
= 'lat'
LNG
Short alias for `longitude` on the request side.
public
string
LNG
= 'lng'
LON
Short alias for `longitude` on the request side.
public
string
LON
= 'lon'