added missing $url variable to function mapicon

case 1 was missing a $url variable when there are no coordinates so it's
been added.