The pulldown menu “Click
functions” allows you to select the action which is carried out when clicking
on an object in the browser.
The following options are
available:
- Show attributes:
If you choose this option, a
table with attribute data is displayed when clicking on an object. You can
choose the attribute fields to be used from the list “Attributes”.
Besides, this option is the base of the search function and the link list.
·
Database
link:
Here you can create links to your
database on your web server. The standard setting for the corresponding entry
box “Interactive link” is:
http://www.server.com/path/to/script?parameter=<<FIELD>>
In order to create a link to your own database, replace http://www.server.com/path/to/script
with a valid URL to your file from which you want to create a connection to
your database. Add an arbitrary variable name instead of ?parameter.
FIELD has to be replaced with a field in your attribute table (e.g. showattributes.php?feature_id=<<FID>>).
FID is a field name of your attribute table.
The link to a database has the advantage that the displayed information is
always up-to-date. For instance, you can supply the user with current measuring
results of a meteorological station every day by modifying only the database.
- Email link:
If there is a field with e-mail
addresses in your attribute table, this option enables you to start the
e-mail program of the user when clicking on an object in order to send an
e-mail to the corresponding address from the attribute table.
You can select the attribute field with the e-mail addresses via the
pulldown menu “Interactive link”.
- Hot link:
All internet compatible multi media files (GIF, JPEG or PNG images, MPEG
or AVI films, WAV or MP3 sound files, etc) can be embedded into the
structure via a hotlink. The names of these files must be entered into the
hotlink field of the attribute table. Clicking on an object opens these
files.
These files must be copied manually into the corresponding
directory. Starting from the output path of the ImageMapper you must
change into the directory ”\web\hot_0” (if several themes exist, replace 0
if necessary). A text file with the files which are still to be copied can
also be found there.
So select the corresponding attribute for the hotlink with the file
names from the pulldown menu "Interactive Link".
- Url link:
A click on an object in the map
automatically opens the website defined by the URL in the browser. Exactly
like mentioned in the hotlink paragraph, the complete path must be in the
URL field of the attribute table here as well. Select the URL field from
the pulldown menu "Interactive link".