SproutCMS

This is the code documentation for the SproutCMS project

function getByQuery()

Return lat, lng by given query

Usage

null|array GeoSeach::getByQuery ( string $request );

Arguments

  1. string $request
    Typically an address

Return value

  • array
    [lat => float, lng => float]
  • null
    No result found