Timemap.js is a Javascript library to help use Google Maps with a SIMILE timeline. The library allows you to load one or more datasets in JSON, KML, or GeoRSS onto both a map and a timeline simultaneously. By default, only items in the visible range of the timeline are displayed on the map.
Version 1.5 Now Up!
This version includes a lot of code cleanup, pretty code documentation generated with jsdoc-toolkit, improved loaders for GeoRSS (now with polygons and polylines) and KML (now with multiple geometries), and new loaders for the Flickr and Google Spreadsheets APIs. See the changelog for more details.
Note: The files have moved around a bit in this version, and a few functions have been renamed - a few things will not be backward-compatible. See the examples for the new theme and loader syntax.
Getting Started
The best place to get started depends on your learning style, but here's where you should look:
- Working Examples
- Basic Usage
- Timemap.js Discussion Group
- Code Documentation in the download package
Examples
Simple Three-Item Dataset (using inline JSON data)
Post-Election Violence in Kenya (using KML data)
Artists & Authors of the Renaissance (using JSON data from a freebase.com query)
The library is designed to be developer-friendly, offering as much access as possible to the underlying APIs. Dependencies: Google Maps API v2.93 or higher, SIMILE Timeline v1.2 or v2.2.0. Comments welcomed at nick (at) nickrabinowitz (dot) com.
Please note that the timemap.js project is not affiliated with the long-standing TimeMap Open Source Consortium project at the University of Sydney, which offers an excellent stand-alone Java-based application for viewing geotemporal data.