Skip to content

Commit

Permalink
Home maps updated
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrianbet committed Aug 7, 2024
1 parent a111779 commit 54b4587
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/utils/highcharts.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ import HighchartsMap from 'highcharts/modules/map';
import ke from './map-ke.json';
import keAll from './map-ke-all.json';
import keCounty from './map-ke-county.json';
import keCountyAll from './map-ke-county-all.json';
import keProvince from './map-ke-province.json';

if (typeof window !== 'undefined') {
HighchartsMap(Highcharts);
Highcharts.maps["custom/ke"] = ke;
Highcharts.maps["custom/ke-all"] = keAll;
Highcharts.maps["custom/ke-county"] = keCounty;
Highcharts.maps["custom/ke-county-all"] = keCountyAll;
Highcharts.maps["custom/ke-province"] = keProvince;
}

export default Highcharts;
export default Highcharts;
Loading

0 comments on commit 54b4587

Please sign in to comment.