' : '')
. '
';
$cnt = 0;
foreach ($markers as $marker) {
$cnt++;
if (empty($api_key)) {
$output .= '
';
break; // Remove this line if you want display separate iframe for each marker (otherwise only first marker shown)
} else {
if (empty($marker['id'])) $marker['id'] = $id.'_'.intval($cnt);
$output .= '
';
}
}
$output .= '
'
. ($content ? '
' . trim($content) . '