+ if ($sOutputFormat == 'html') if ($i) echo " > ";
+ if ($sOutputFormat == 'html') echo '<a href="'.$sPlaceUrl.'">'.$aPlace['localname'].'</a> (<a href="'.$sOSMUrl.'">osm</a>)';
+ }
+
+ $aDetails = array();
+ $aDetails['breadcrumbs'] = $aBreadcrums;
+
+ if ($sOutputFormat == 'json')
+ {
+ header("content-type: application/json; charset=UTF-8");
+ javascript_renderData($aDetails);
+ exit;