[Gridmap] Add country name to legend, and set map center

This commit is contained in:
Andreas Kristiansen
2026-01-08 13:02:34 +01:00
parent 48c383570b
commit a87c8cd13f
3 changed files with 61 additions and 7 deletions

View File

@@ -72,6 +72,8 @@ class Gridmap extends CI_Controller {
$this->load->model('gridmap_model');
$data['country_coords'] = $this->gridmap_model->get_coordinates_for_dxcc($dxcc);
$data['grids'] = $this->gridmap_model->get_grids_for_country($dxcc);
$data['grid_count'] = count($data['grids']);