9 => 'City District',
10 => 'Suburb',
11 => 'Neighbourhood'
- )
+ ),
+ 'no' => array (
+ 3 => 'State',
+ 4 => 'County'
+ ),
+ 'se' => array (
+ 3 => 'State',
+ 4 => 'County'
+ )
);
if (isset($aBoundaryList[$sCountry])
return $aIcons[$sClassPlace] ?? null;
}
+/**
+ * Get an icon for the given object with its full URL.
+ */
+function getIconFile($aPlace)
+{
+ $sIcon = getIcon($aPlace);
+
+ if (!isset($sIcon)) {
+ return null;
+ }
+
+ return CONST_Website_BaseURL.'images/mapicons/'.$sIcon.'.p.20.png';
+}
+
/**
* Return a class importance value for the given place.
*