Skip to content

Kirby 5.2.0

$location->lng()

Returns the longitude

$location->lng(): float|null

Return types

floatornull

This method modifies the existing $location object it is applied to and returns it again.

Parent class

Kirby\Image\Location