Giter VIP home page Giter VIP logo

Comments (7)

lzxue avatar lzxue commented on May 12, 2024 1

是的,第三个值表示出现的时间,

from l7.

githubhanjunjun avatar githubhanjunjun commented on May 12, 2024

是的,第三个值表示出现的时间,

非常感谢您的回复,请问时间的单位是毫秒还是秒,还有每次重复显示一条线的时间是多久,可以设置吗?

from l7.

lzxue avatar lzxue commented on May 12, 2024

单位是毫秒, 速度是每帧率 50ms的步长 ,当前的周期是3.6秒, 目前还没有开放这块这块动画设置的接口,

from l7.

githubhanjunjun avatar githubhanjunjun commented on May 12, 2024

单位是毫秒, 速度是每帧率 50ms的步长 ,当前的周期是3.6秒, 目前还没有开放这块这块动画设置的接口,

请问我应该如何计算每个点的时间间隔,我用随机数生成了100-3000的数值,遍历每一条线,当随机数小于500,我设置这条线的第一个点时间为随机数,后面的点时间逐个加100。当随机数大于500小于1000,这条线的第一个点时间设置为随机数,后面的点时间逐渐加50。大于1000时时间间隔为10,展示效果并没有实例中的那么好,显示线很短,很稀少的感觉。这个时间间隔的计算方法是什么呢?

from l7.

liupeng7 avatar liupeng7 commented on May 12, 2024

这些线的数据 都是从哪来的呢

from l7.

lzxue avatar lzxue commented on May 12, 2024

@githubhanjunjun @liupeng7 示例中的数据是真实数据处理的,数据来源上海是出租车数据, 上海soda数据比赛上可以下载。

from l7.

swwwww avatar swwwww commented on May 12, 2024

我用pgis转线的geojson数据放到示例中,并没有动态效果,因为坐标中没有第三个值吗?

你是通过什么方式得到线的geojson数据呢?

from l7.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.