Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Optional short name for the location. This string when available will replace the name in the time series display legend.

 toolTiptoolTip

optional element to customize the tooltip shown when hovering over a location in the main map display.

You can use use \n or CDATA or HTML when you need multiple lines.    Besided Beside tags defined in the global.properties file you can use the following tags:

...

The tooltip supports html including images and hyperlinks.   The url in the hyper link can be an internet url, an executable file, a document file, or a folder.  Use the CDATA xml tag to include html in a xml file. Check the available HTML functionalities here.

By default (if not defined) the following tool tip is used. Wiki Markup                        ID: %ID%\n                        

No Format

Name: %NAME%\n

...

Desc: 

...

%DESCRIPTION%\n

...

Last value \[%LAST_VALUE%\] Time \[%LAST_VALUE_TIME%\]\n

...

Forecast Start Time \[%FORECAST_START_TIME%\]\n

...

Maximum \[%MAXIMUM_VALUE%\] Time \[%MAXIMUM_VALUE_TIME%\]

A more advanced example is, using HTML (use the <BR> tag to start new line):

No Format

<toolTip><![CDATA[<html>
    <table id="details">
      <tr>
	<td width="50" valign="top">ID</td>
	<td width="5" valign="top">:</td>
	<td width="200" valign="top">%ID%</td>
      </tr>
      <tr>
	<td width="50" valign="top">Naam</td>
	<td width="5" valign="top">:</td>
	<td width="200" valign="top">%NAME%</td>
      </tr>
      <tr>
	<td width="50" valign="top">Type</td>
	<td width="5" valign="top">:</td>
	<td width="200" valign="top">%DESCRIPTION%</td>
      </tr>
      <tr>
	<td width="50" valign="top">Foto</td>
	<td width="5" valign="top">:</td>
	<td width="200" valign="top">
	   <a href="file:/$FOTOSDIR$/%ID%.jpg" >
		<img src="file:/$FOTOSDIR$/thumbs/%ID%.jpg" border="0">
	   </a>              
	</td>
      </tr>
      <tr>
	<td width="50" valign="top">Documentatie</td>
	<td width="5" valign="top">:</td>
	<td width="200" valign="top">
	   <a href="file:/$PDFDIR$/%ID%.pdf">%ID%.pdf</a>              
	</td>
      </tr>
    </table>
</html>
  ]]></toolTip>

parentLocationId 

Optional Id of a location that functions as a parent. In the filters child locations (locations that refer to a parent) are normally invisible. However, they are displayed in the graphs whenever a parent is selected. 

...