okfn / timemapper

Create and share elegant timelines and timemaps fast
http://timemapper.okfnlabs.org/
MIT License
273 stars 60 forks source link

Updating TimeMapper to current recline build #179

Open gotjoshua opened 8 years ago

gotjoshua commented 8 years ago

Greetings! I am trying to get a version of timemapper running with recline as a remote submodule (which in turn has timelineJS as a remote submodule). I managed to get the repository in and the references updates from leaflet 0.4.4 to 0.7.3 bootstrap 2.0.2 to 2.3.2 timeline up to 2.24

the data seems to parse and the leaflet map works and shows the data, as you can see here: http://5dmaps.1zm.in:3333/anon/k1yyoo-original-timemapper-testfield1-01#0

however, the timeline keeps spinning and i have an error in the Chrome Inspector: GET http://5dmaps.1zm.in:3333/anon/nothing?callback=onJSONP_Data 404 (Not Found)

any clues?

rufuspollock commented 8 years ago

Have you configured your database?

gotjoshua commented 8 years ago

I think I must have at some point, because I have my fork of timemapper working now with quite some updates and customizations: http://5dmaps.1zm.in/anon/b9khgl-timemapper-testfield1-02

This is working with Leaflet 1.0b1, TimelineJS2 (latest), and bootstrap 2.32

I haven't yet managed to get TimelineJS3 working - i think it has something to do with the new requirement for passing in a JSON obj at init, and recline seems to init the timeline empty and then fill it later when the model is done loading... more details here: https://github.com/okfn/recline/issues/488#issue-105090632