Git Product home page Git Product logo

Comments (7)

nrenner avatar nrenner commented on September 2, 2024

That would be a nice feature. But before adding any new stuff, this project urgently needs some refactoring and either switching to Leaflet or upgrading to OL3. Right now I'm working on other projects and I can't really tell when I'll get back to this one.

from achavi.

neogeomat avatar neogeomat commented on September 2, 2024

Yes, i'm also stuck in between leaflet and ol3 for my projects.

from achavi.

nrenner avatar nrenner commented on September 2, 2024

Still no slider, but you now can specify a start and end date/time, see my diary entry.

from achavi.

 avatar commented on September 2, 2024

I would vote for a date picker.

from achavi.

HolgerJeromin avatar HolgerJeromin commented on September 2, 2024

With html 5 a date picker is given for free.
Beware that type="datetime" is no supported everywhere and "datetime-local" is removed from the spec. So we have to use one date and one time input for this and using both info.
I would not implement a shim for old browsers, but detect the support of at runtime and build the two inputs.

from achavi.

nrenner avatar nrenner commented on September 2, 2024

I have not used Html5 date/datetime inputs, because of limited datetime support and because I don't like splitting date and time. I would prefer some external component that works across browsers and has a common look&feel. With a quick search I found bootstrap-daterangepicker that seems quite nice and also has an option for pre-defined ranges (e.g. a day/week/month ago).

Regarding the timeline slider, I'm not sure if that could be used for datetime range selection (in addition or instead of input fields?), just for the playback of already loaded data, or for both? Problem is that ranges can vary from seconds to years, so the timeline granularity needs to be adjustable (some are by mouse wheel). Some examples I collected:

http://prabhasp.github.io/OSMTimeLapseR/demo/kathmandu_monthly.html
http://www.livingwithdragons.com/maps/ohm-highlights/
http://cesiumjs.org/Cesium/Build/Apps/CesiumViewer/index.html
http://michaelsteffen.github.io/rides-gl/
http://recallfx.github.io/LeafletPlayback/examples/example_1.html

Opinions/suggestions?

from achavi.

 avatar commented on September 2, 2024

my favorit is http://michaelsteffen.github.io/rides-gl/ !
But I have no idea how to include this in your style of small elements.

from achavi.

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.