this.map = new svgMap({
targetElementID: 'cmsSvgMap',
data: mapData,
colorMax: '#393c4d',
colorMin: '#393c4d73',
flagType: 'emoji',
noDataText: this.$t('analytics.cookies.map.no_data'),
countryNames: this.countries.reduce((acc, cur) => ({ ...acc, [cur.country_id??'_unknown']: cur.country_name }), {})
});
Let's say I've created a map like below:
I then want to destroy what is in
this.map- there doesn't seem to be adestroy()function?