You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "energyyyp (via GitHub)" <gi...@apache.org> on 2023/02/22 10:10:05 UTC

[GitHub] [echarts] energyyyp opened a new issue, #18296: [Bug] 地图中的lines-symbol小飞机设置每次间隔3s再飞。effect.delay仅在初始化时有用。

energyyyp opened a new issue, #18296:
URL: https://github.com/apache/echarts/issues/18296

   ### Version
   
   5.4.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   1.设置每次loop的间隔时间:
   使用lines绘制地图上的飞行路线,需要设置头部symbol小飞机的飞机间隔时间。尝试了 series.effect.delay无法实现这个效果。delay只能设置初始化的时候有效果。请问有没有其他的配置项可以实现这个功能
   
   2.产生错落效果:
   
   是否有现成配置项可完成这两个需求呢?
   
   ### Current Behavior
   
   series: [
       // 头部图片
                   {
                     type: 'lines',
                     coordinateSystem: 'bmap',
                     zlevel: 2,
                     effect: {
                       show: true,
                           delay:8000, 
                       period: 2,
                 // constantSpeed: 30,
      
                       trailLength: 0,
                       loop:true,
                   
                       symbol: 'image://https://p5.ssl.qhimg.com/t01e0d46aac46714a68.png',
                       symbolSize: [25, 25]
                     },
                     lineStyle: {
                       color: '#FFB200',
                       width: 0,
                       curveness: 0.2
                     },
                     progressiveThreshold: 500,
                               progressive: 200,
                     data: [
         [[103.9526, 30.761],[102.712251, 25.04060]],
         [[103.9526, 30.761],[126.642464, 45.756967]],
         [[103.9526, 30.761],[113.4668, 34.6234]],
         [[103.9526, 30.761], [91.11, 29.97]]
       ],                },
   ]
   
   ### Expected Behavior
   
   1.delay只能设置初始化的时候有效果。没有delay后再出现一次loop
   
   2.没有错落效果
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:chrome
   - Framework:vue@2.6 echarts@^5.4.0
   ```
   
   
   ### 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.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 #18296: [Bug] 地图中的lines-symbol小飞机设置每次间隔3s再飞。effect.delay仅在初始化时有用。

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #18296:
URL: https://github.com/apache/echarts/issues/18296#issuecomment-1439748349

   @energyyyp 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] The lines-symbol small plane in the map is set to fly every 3s interval. effect.delay is only useful at initialization time.
   
   **BODY**
   
   ### Version
   
   5.4.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   1. Set the interval time of each loop:
   Use lines to draw the flight route on the map, you need to set the aircraft interval time of the small symbol aircraft at the head. Tried series.effect.delay can't achieve this effect. The delay can only be effective when it is set to initialize. Is there any other configuration item to achieve this function?
   
   2. Produce a patchwork effect:
   
   Are there ready-made configuration items that can fulfill these two requirements?
   
   ### Current Behavior
   
   series: [
       // header image
                   {
                     type: 'lines',
                     coordinateSystem: 'bmap',
                     zlevel: 2,
                     effect: {
                       show: true,
                           delay: 8000,
                       period: 2,
                 // constantSpeed: 30,
      
                       trailLength: 0,
                       loop: true,
                   
                       symbol: 'image://https://p5.ssl.qhimg.com/t01e0d46aac46714a68.png',
                       symbolSize: [25, 25]
                     },
                     lineStyle: {
                       color: '#FFB200',
                       width: 0,
                       curveness: 0.2
                     },
                     progressiveThreshold: 500,
                               progressive: 200,
                     data: [
         [[103.9526, 30.761],[102.712251, 25.04060]],
         [[103.9526, 30.761],[126.642464, 45.756967]],
         [[103.9526, 30.761],[113.4668, 34.6234]],
         [[103.9526, 30.761], [91.11, 29.97]]
       ], },
   ]
   
   ### Expected Behavior
   
   1. delay can only be effective when it is set to initialize. There will be another loop after no delay
   
   2. No staggering effect
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser: chrome
   - Framework: vue@2.6 echarts@^5.4.0
   ```
   
   
   ### 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