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 09:01:03 UTC

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

LZHbb opened a new issue #12053: 地图经纬度坐标转换成为像素坐标方法convertToPixel未按实际zoom值进行转换
URL: https://github.com/apache/incubator-echarts/issues/12053
 
 
   ### 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 issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
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 #12053: 地图经纬度坐标转换成为像素坐标方法convertToPixel未按实际zoom值进行转换

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12053: 地图经纬度坐标转换成为像素坐标方法convertToPixel未按实际zoom值进行转换
URL: https://github.com/apache/incubator-echarts/issues/12053#issuecomment-574561748
 
 
   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵

----------------------------------------------------------------
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] Ovilia commented on issue #12053: 地图经纬度坐标转换成为像素坐标方法convertToPixel未按实际zoom值进行转换

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #12053: 地图经纬度坐标转换成为像素坐标方法convertToPixel未按实际zoom值进行转换
URL: https://github.com/apache/incubator-echarts/issues/12053#issuecomment-574588829
 
 
   可以 fork 一下[这个图](https://gallery.echartsjs.com/editor.html?c=map-china-dataRange)然后提供一个可复现的例子

----------------------------------------------------------------
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 #12053: 地图经纬度坐标转换成为像素坐标方法convertToPixel未按实际zoom值进行转换

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

----------------------------------------------------------------
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 #12053: 地图经纬度坐标转换成为像素坐标方法convertToPixel未按实际zoom值进行转换

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12053: 地图经纬度坐标转换成为像素坐标方法convertToPixel未按实际zoom值进行转换
URL: https://github.com/apache/incubator-echarts/issues/12053#issuecomment-593774855
 
 
   This issue is closed due to not being active. Please feel free to open it again (for the author) or create a new one and reference this (for others) if you have further questions.

----------------------------------------------------------------
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