You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/01/25 12:58:09 UTC
[GitHub] [echarts] ZMbenJ opened a new issue #16430: [Bug] echarts 地图geo配置nameproperty不是name时,点击返回的参数存在问题
ZMbenJ opened a new issue #16430:
URL: https://github.com/apache/echarts/issues/16430
### Version
5.2.2
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
$this.mapEcharts.on('click', function (params) {console.log(params)});
params.name为空,并且设置nameproperty:"name_en"时,参数并没有返回对应的name_en值
### Current Behavior
设置nameproperty:"name_en"时,参数name没有值,对应的name_en没有返回
### Expected Behavior
设置nameproperty:"name_en"时,参数name展示对应geojson的name值,name_en展示geojson中name_en的值
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] echarts-bot[bot] commented on issue #16430: [Bug] echarts 地图geo配置nameproperty不是name时,点击返回的参数存在问题
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #16430:
URL: https://github.com/apache/echarts/issues/16430#issuecomment-1021157798
@ZMbenJ It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
[Bug] When the echarts map geo configuration nameproperty is not name, there is a problem with the parameters returned by clicking
**BODY**
### Version
5.2.2
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
$this.mapEcharts.on('click', function (params) {console.log(params)});
params.name is empty, and when nameproperty is set: "name_en", the parameter does not return the corresponding name_en value
### Current Behavior
When you set nameproperty: "name_en", the parameter name has no value, and the corresponding name_en is not returned
### Expected Behavior
When you set nameproperty: "name_en", the parameter name displays the name value corresponding to geojson, name_en shows the value name_en in geojson
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] echarts-bot[bot] commented on issue #16430: [Bug] echarts 地图geo配置nameproperty不是name时,点击返回的参数存在问题
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #16430:
URL: https://github.com/apache/echarts/issues/16430#issuecomment-1021157798
@ZMbenJ It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
[Bug] When the echarts map geo configuration nameproperty is not name, there is a problem with the parameters returned by clicking
**BODY**
### Version
5.2.2
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
$this.mapEcharts.on('click', function (params) {console.log(params)});
params.name is empty, and when nameproperty is set: "name_en", the parameter does not return the corresponding name_en value
### Current Behavior
When you set nameproperty: "name_en", the parameter name has no value, and the corresponding name_en is not returned
### Expected Behavior
When you set nameproperty: "name_en", the parameter name displays the name value corresponding to geojson, name_en shows the value name_en in geojson
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] echarts-bot[bot] commented on issue #16430: [Bug] echarts 地图geo配置nameproperty不是name时,点击返回的参数存在问题
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #16430:
URL: https://github.com/apache/echarts/issues/16430#issuecomment-1022861124
@ZMbenJ Please provide a demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM , or https://codesandbox.io/s/mystifying-bash-2uthz.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org