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.4 Now Up!
This version adds support for later versions of SIMILE Timeline (up to v.2.2.0). SIMILE is phasing out support for its earlier versions; in case you want to continue using v.1.2 (which is smaller and perhaps prettier than the newer versions), this release includes an optimized version of Timeline in the lib directory. See the changelog for more details.
Note: KML parsing has been moved to the file kmlparser.js - if you aren't using the full packed file, you will now need to include this file separately to parse KML.
Getting Started
The BasicUsage page gives a good rundown of how to get started. CustomInitScript covers what's required if you want to write your own initialization script. For more support, see the timemap.js development discussion group.
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.