CN-1317 fix: 调整地图上俄罗斯的圆点位置
This commit is contained in:
@@ -297,6 +297,9 @@ export default {
|
||||
imageTemplate.adapter.add('longitude', function (longitude, target) {
|
||||
const polygon = polygonSeries.getPolygonById(target.dataItem.dataContext.id)
|
||||
if (polygon) {
|
||||
if (target.dataItem.dataContext.id === 'RU') {
|
||||
return 90
|
||||
}
|
||||
return polygon.visualLongitude
|
||||
}
|
||||
return longitude
|
||||
|
||||
@@ -331,6 +331,9 @@ export default {
|
||||
imageTemplate.adapter.add('longitude', function (longitude, target) {
|
||||
const polygon = polygonSeries.getPolygonById(target.dataItem.dataContext.id)
|
||||
if (polygon) {
|
||||
if (target.dataItem.dataContext.id === 'RU') {
|
||||
return 90
|
||||
}
|
||||
return polygon.visualLongitude
|
||||
}
|
||||
return longitude
|
||||
|
||||
Reference in New Issue
Block a user