8 => 'City',
9 => 'City District',
10 => 'Suburb',
- 11 => 'Neighbourhood'
+ 11 => 'Neighbourhood',
+ 12 => 'City Block'
),
'no' => array (
3 => 'State',
*/
function getIconFile($aPlace)
{
+ if (CONST_MapIcon_URL === false) {
+ return null;
+ }
+
$sIcon = getIcon($aPlace);
if (!isset($sIcon)) {
return null;
}
- return CONST_Website_BaseURL.'images/mapicons/'.$sIcon.'.p.20.png';
+ return CONST_MapIcon_URL.'/'.$sIcon.'.p.20.png';
}
/**
if ($aWithImportance === null) {
$aWithImportance = array_flip(array(
+ 'boundary:administrative',
'place:country',
'place:state',
'place:province',