$aPlace['class'] = $aPointDetails['class'];
$aPlace['type'] = $aPointDetails['type'];
+
+ $aPlace['importance'] = $aPointDetails['importance'];
+
if (isset($aPointDetails['icon']) && $aPointDetails['icon'])
{
$aPlace['icon'] = $aPointDetails['icon'];
$aPlace['category'] = $aPointDetails['class'];
$aPlace['type'] = $aPointDetails['type'];
+
+ $aPlace['importance'] = $aPointDetails['importance'];
+
if (isset($aPointDetails['icon']))
{
$aPlace['icon'] = $aPointDetails['icon'];
echo " class='".htmlspecialchars($aResult['class'])."'";
echo " type='".htmlspecialchars($aResult['type'])."'";
+ echo " importance='".htmlspecialchars($aResult['importance'])."'";
if (isset($aResult['icon']) && $aResult['icon'])
{
echo " icon='".htmlspecialchars($aResult['icon'], ENT_QUOTES)."'";