CN-1317 fix: 因国家简称小写不能识别导致地图不能下钻
This commit is contained in:
@@ -1972,7 +1972,7 @@ export const iso36112 = {
|
||||
NL: 'netherlandsLow',
|
||||
GM: 'gambiaLow',
|
||||
TR: 'turkeyLow',
|
||||
be: 'belgiumLow',
|
||||
BE: 'belgiumLow',
|
||||
PA: 'panamaLow',
|
||||
AZ: 'azerbaijanLow',
|
||||
PT: 'portugalLow',
|
||||
@@ -2011,7 +2011,7 @@ export const iso36112 = {
|
||||
NZ: 'newZealandLow',
|
||||
MK: 'northMacedoniaLow',
|
||||
TN: 'tunisiaLow',
|
||||
bl: 'stBarthelemyLow',
|
||||
BL: 'stBarthelemyLow',
|
||||
PY: 'paraguayLow',
|
||||
ID: 'indonesiaLow',
|
||||
HT: 'haitiLow',
|
||||
|
||||
@@ -394,11 +394,17 @@ export default {
|
||||
async location (n) {
|
||||
this.$store.commit('setNpmLocationCountry', n)
|
||||
if (!n) {
|
||||
if (this.countryImageSeries) {
|
||||
this.countryImageSeries.data = [{}]
|
||||
}
|
||||
this.polygonSeries.show()
|
||||
this.worldImageSeries.show()
|
||||
if (this.countrySeries) {
|
||||
this.countrySeries.hide()
|
||||
}
|
||||
if (this.countryImageSeries) {
|
||||
this.countryImageSeries.hide()
|
||||
}
|
||||
this.myChart.zoomToGeoPoint(this.myChart.homeGeoPoint, this.myChart.homeZoomLevel, true)
|
||||
} else {
|
||||
const countryId = countryNameIdMapping[n]
|
||||
|
||||
Reference in New Issue
Block a user