function _random_point in Geofield 7
7 calls to _random_point()
File
- ./
geofield.devel_generate.inc, line 92 - Create random data to populate geofields.
Code
function _random_point() {
$lon = _dd_generate(-180, 180);
$lat = _dd_generate(-84, 84);
return array(
$lon,
$lat,
);
}