Simple TMJava Embedding

You can embed a fully-functional interactive TimeMap TMJava map in your web pages simply by including a few lines of html. This is a no-cost method of putting interactive maps on your web site without installation of any complex or expensive software on your web server.

Embedded maps can draw on the increasing number of free-access datasets registered in the ECAI Metadata Clearinghouse. These include worldwide background maps as well as more local datasets.

Here is a simple example of html code which displays a fully interactive TimeMap map:

The MapSpace rendered in the map, indicated by the value of pid is registered as number 1 in the ECAI clearinghouse. A local MapSpace (.tms) file can also be used in the pid parameter. For a more detailed discussion of embedding TimeMap TMJava maps into your html pages, please see the TMJava User Manual Chapter 2

The code above displays the following interactive map (this map is actually being generated live - try it):

Many further examples can be found in our Examples pages (see menu on left). Right click the page just outside these maps and select View Source to see the HTML code used to embed the map (search for the applet tag).

Maps embedded in this way must be acknowledged as specified in the Acknowledgment page (see under Download TimeMap in the menu on the left).

If you intend to use TMJava in a 'production' environment (such as on an organisation's web site, a teaching web site, a museum visitor kiosk or a CD-ROM), whether for-profit or not-for-profit, we ask you to join the TimeMap Open Source Consortium or negotiate an individual license for your application of TimeMap.