public function renderPlace($metaVars, $locale, $isPreview = false)
{
$htmlText = "";
if ($metaVars['seomaticIdentity']['type'] != "Person" && isset($metaVars['seomaticIdentity']['location'])) {
$this->sanitizeMetaVars($metaVars);
$place = $metaVars['seomaticIdentity']['location'];
if (array_keys($place) !== range(0, count($place) - 1)) {
$htmlText = $this->renderJSONLD($place, $isPreview);
} else {
foreach ($place as $places) {
$htmlText .= $this->renderJSONLD($places, $isPreview);
}
}
}
return $htmlText;
}