Using Trackfield
Last modified: June 8, 2009 - 14:17
Quick Start
The most simple way to use trackfield modules to display a map with a path on your content types:
- Install trackfield.
- Enable Track, Track CSV and Track Map modules.
- Optionally enable KML, GPX, etc, etc. if you want to input these formats.
- Edit the content type you wish to add maps to, and....
- Add a Track field, type of data "Track", (text field widget) - this is the storage for your paths. This field will be referenced later, so give it a suitable name, such as 'track_data'.
- Add a Track Map field (no widget) - this will display paths stored in the Track field just created. In the 'Reference Field Name' configuration you must specify the storage field created in the previous step. Drupal adds 'field_' to the front of your names, so in the example you would enter, 'field_track_data'.
- Visit the 'Display fields' tab of your content type and specify where you want the track_data and map fields to be displayed. Most people will probably want to always hide the data field. Map field has multiple size options to experiment with.
You should now be able to create content and enter co-ordinate information in the text box for your track_data field, and get a map of this information with your content. Of course latitude/longitude data must be entered or the map cannot be shown.
trackfield_file
In order to upload and process data in a file, follow these steps:
- Attach the file to your node in the usual way. The 'list' option on files in unimportant.
- Place the filename with your data in inside the value part of the trackfield. Thus multiple files can be attached to a node but only one used for this purpose.
- Choose the appropriate encoding/dataset handler for your file from the 'Treat data as' drop down. This will be something like 'File: KML'.
- Submit the content as usual.

more expanation needed
Questions:
In step 1:
a) what is the "...usual way..."?
b) where is the "...'list' option..."?
In step 2 - the sentence "Place the filename with your data in inside the value part of the trackfield" does not make sense. Maybe it should read: "Place name of the file containing your data into the value part of trackfield"? In that case, what is "...value part of the trackfield..."?