Eno\Loaders ยป latLng

latLng() โ†’ object
latLngItems() โ†’ array
latLngList() โ†’ array

Accepts lat/lng coordinates of the form dd.ddddd, dd.ddddd (but with any number of decimal digits), returns an associative array (see example below) (or throws a ValidationError for invalid values).

enolocation: 36.987094, -25.091719
php$document = Parser::parse($input);

$document->latLng('location');
  // returns [
  //   'lat' =>  36.987094,
  //   'lng' => -25.091719
  // ]