Merge gh-pages branch - #3
Conversation
1. The display layer is only created once (needed for my Google Earth API library) 2. The format is created before creating timeline, because I need to pass some options to the kml layer for using Google Maps' Spherical Mercatore 3. Added some additional properties for remembering and displaying the first feature and storing the latest date as current 4. Fixed a problem with popups, since the feature are destroyed when after sliding the timebar, that would leak and make impossible to close the popups. Added kml layer with my patch to set the timestamp on placemarks
geojson and georss, will try and fix it
current_date, setting it to undefined internally in KML.js when calling read(), so we can work out the latest date
Conflicts: kml.html lib/KML.js
Added KML format, plus other changes
…eature, removing fix to auto-close popups
|
I'd like to fix the bugs we're discussing before merge to gh-pages so we release a stable demo and not a bleeding edge one. Do you agree? |
|
That's fine with me, I didn't have clear what the roles of 'gh-pages' and 'master' should be.
|
|
Oh, I see you've already fixed the error at line 249! cheers The code: was there because I noticed the object console wasn't available on all browsers |
|
gh-pages branch is published on http://volpino.github.com/openlayers-timeline/ I removed all the console.log because they are only for personal debugging and should not be in the repo. That piece of code actually i think it's not used already but it's useful if there's the need to start the slider from an arbitrary date. for example: http://sonetlab.fbk.eu/wikitrip/#|en|James%20K.%20Polk|1178192008|1 (i wrote all this code for that project and then i extracted a more general library that should be included in that project too) |
|
Very impressive work! I see you set the timeline from a date past the beginning. Another project I've been working on (but not for a while) has been making the Google Earth plugin work with OpenLayers: I need to fix it to make it work with the cluster strategy. |
Maybe we could remove the master branch and keep just gh-pages, what do you think?