| 1 |
<?php |
<?php |
| 2 |
// $Id: gmap_parse_macro.inc,v 1.1 2008/11/07 20:17:50 bdragon Exp $ |
// $Id: gmap_parse_macro.inc,v 1.1.2.2 2008/11/07 21:21:10 bdragon Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 145 |
} |
} |
| 146 |
$tmp = explode('+', $shape); |
$tmp = explode('+', $shape); |
| 147 |
$s['radius'] = $tmp[1] ? $tmp[1] : 100; |
$s['radius'] = $tmp[1] ? $tmp[1] : 100; |
| 148 |
if ($tmp[2]) $s['numpoints'] = trim($tmp[2]); |
if (isset($tmp[2]) && $tmp[2]) $s['numpoints'] = trim($tmp[2]); |
| 149 |
$tmp = _gmap_str2coord($tmp[0]); |
$tmp = _gmap_str2coord($tmp[0]); |
| 150 |
$s['center'] = $tmp[0]; |
$s['center'] = $tmp[0]; |
| 151 |
$m['shapes'][] = $s; |
$m['shapes'][] = $s; |