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 2020/01/15 08:49:44 UTC

[GitHub] [incubator-echarts] LZHbb opened a new issue #12052: 地图经纬度坐标转换成为像素坐标方法convertToPixel未按实际zoom值进行转换

LZHbb opened a new issue #12052: 地图经纬度坐标转换成为像素坐标方法convertToPixel未按实际zoom值进行转换
URL: https://github.com/apache/incubator-echarts/issues/12052
 
 
   Version
   4.5.0
   
   Steps to reproduce
   1 地图实现放大缩小效果,但是地图上有一层业务层,遮住了地图,所以无法用地图的roam:true的方法实现
   2 通过setOption改变zoom、top和left值,实现放大缩小和拖拽的功能,业务层通过convertToPixel经纬度坐标转换成为像素坐标方法获取x,y绘制
   3 现象是:初始zoom为1,改变top和left值后,通过convertToPixel转换出来的x和y是正确的
                     只改变zoom,不改变top和left,通过convertToPixel转换出来的x和y是正确的
                     改变zoom后,改变top和left值,convertToPixel转换的值是按zoom为1时转换的
   
   What is expected?
    改变zoom后,改变top和left值,convertToPixel转换的值是按zoom的实际值进行转换x和y坐标
   
   What is actually happening?
    改变zoom后,改变top和left值,convertToPixel转换的值是按zoom为1进行转换x和y坐标

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12052: 地图经纬度坐标转换成为像素坐标方法convertToPixel未按实际zoom值进行转换

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12052: 地图经纬度坐标转换成为像素坐标方法convertToPixel未按实际zoom值进行转换
URL: https://github.com/apache/incubator-echarts/issues/12052#issuecomment-574557634
 
 
   This issue is not created using [issue template](https://ecomfe.github.io/echarts-issue-helper/) so I'm going to close it. 🙊
   Sorry for this, but it helps save our maintainers' time so that more developers get helped.
   Feel free to create another issue using the issue template.
   
   If you think you have already made your point clear without the template, or your problem cannot be covered by it, you may re-open this issue again.
   
   这个 issue 未使用 [issue 模板](https://ecomfe.github.io/echarts-issue-helper/?lang=zh-cn) 创建,所以我将关闭此 issue。
   为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。
   如果您愿意,可以请使用 issue 模板重新创建 issue。
   
   如果你认为虽然没有使用模板,但你已经提供了复现问题的充分描述,或者你的问题无法使用模板表达,也可以重新 open 这个 issue。

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] closed issue #12052: 地图经纬度坐标转换成为像素坐标方法convertToPixel未按实际zoom值进行转换

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] closed issue #12052: 地图经纬度坐标转换成为像素坐标方法convertToPixel未按实际zoom值进行转换
URL: https://github.com/apache/incubator-echarts/issues/12052
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org