src/Faker/Geo.php
public static function point(array $bounds = null)
    {
        if ($bounds === null) {
            $bounds = static::bounds();
        }

        return array(
            self::LAT => self::randFloat(self::latRange($bounds)),
            self::LNG => self::randFloat(self::lngRange($bounds)),
        );
    }
public static function point(array $bounds = null)
    {
        if ($bounds === null) {
            $bounds = static::bounds();
        }

        return array(
            self::LAT => self::randFloat(self::latRange($bounds)),
            self::LNG => self::randFloat(self::lngRange($bounds)),
        );
    }
public static function point ( array $ bounds = null ) { if ( $ bounds === null ) { $ bounds = static :: bounds ( ) ; } return array ( self :: LAT => self :: randFloat ( self :: latRange ( $ bounds ) ) , self :: LNG => self :: randFloat ( self :: lngRange ( $ bounds ) ) , ) ; }
Generate random coordinates, as an array.

@access public
@static
@param  array $bounds
@return array [$lat, $lng]
Generate random coordinates as an array .