From 0e4456954ffac71a95c0d4027f781d65abea10f8 Mon Sep 17 00:00:00 2001 From: eddy08 Date: Wed, 11 Jan 2023 23:13:38 +0530 Subject: [PATCH] Corrected the Import for highcharts-custom-events --- src/app/map/map.component.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/map/map.component.ts b/src/app/map/map.component.ts index 16839d1..1aaed53 100644 --- a/src/app/map/map.component.ts +++ b/src/app/map/map.component.ts @@ -7,13 +7,14 @@ import * as worldMap from '@highcharts/map-collection/custom/world-continents.to declare var require: any; // const HC_map = require('highcharts/modules/map'); const HC_exporting = require('highcharts/modules/exporting'); -const HC_ce = require('highcharts-custom-events'); +// const HC_ce = require('highcharts-custom-events'); +import custom_events from 'highcharts-custom-events'; const HC_3d = require('highcharts/highcharts-3d'); HC_3d(Highcharts); // HC_map(Highcharts); HC_exporting(Highcharts); -HC_ce(Highcharts); +custom_events(Highcharts); Highcharts.setOptions({ title: { @@ -1075,6 +1076,7 @@ export class MapComponent { id: 'graticule', type: 'mapline', data: this.getGraticule(), + //Map Color where the globe is joint nullColor: 'rgba(0, 0, 0, 0.05)', accessibility: { enabled: false,