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.

label

optional element to customize the location label in the main map display.
You can use the following tags:
%ID%, %NAME%, %DESCRIPTION%, %LAST_VALUE%, %LAST_VALUE_TIME%,
%FORECAST_START_TIME%, %MAXIMUM_VALUE%, %MAXIMUM_VALUE_TIME%, %MINIMUM_VALUE%, %MINIMUM_VALUE_TIME%

An example:

No Format

<label>%NAME%  %LAST_VALUE%   %LAST_VALUE_TIME%</label>   

or

No Format

<label>%NAME%   max:%MAXIMUM_VALUE%  min: %MINIMUM_VALUE% </label>   
toolTip

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

...

%ID%, %NAME%, %DESCRIPTION%, %LAST_VALUE%, %LAST_VALUE_TIME%,
%FORECAST_START_TIME%, %MAXIMUM_VALUE%, %MAXIMUM_VALUE_TIME%, %MINIMUM_VALUE%, %MINIMUM_VALUE_TIME%

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.

...

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>

...