User guide
© GeoWise Ltd. 2011
Page 66
visualise | communicate | ENGAGE The InstantAtlas Designer
g the InstantAtlas Area Profile Template User Guide
© GeoWise Ltd. 2013
<p>${featureName}: ${indicatorValue}</p>
The <p>...</p> indicates that it is HTML code (the <p>-tag stands for a
paragraph)
${featureName} and ${indicatorValue} are substitution variables. Their
values are dynamic and change depending on the map feature you mouse
over.
The colon in between the variables is static text. Figure 80 shows how the
default tooltip looks for the post code sector with the name ‘EH14 7’.
Figure 80
You can add any other static text, substitution variables or HTML tags if
you like.
Example 1:
<p>${featureName}: ${indicatorValue}</p><p>Count:
${count}</p>
In addition to the default area name and indicator value, this code adds
another paragraph (starting on a new line) with ‘Count: ’ as a static text and
the associate with the name ‘count’ as a dynamic value (Figure 81).
Figure 81
Example 2:
<p>${featureName}: ${count}</p>
This will replace the indicator value with the count associate (Figure 82).
Figure 82
Other important map properties in the HTML templates are:
Exportable?
If this box is ticked you will see an export button in the top right hand
corner of the map when you hover with the mouse over it. Clicking
this button will open the map graphic (without background layers) as
an image in a new tab/window of your browser. From there you can
save the image through the right-click menu.
In the config.xml file of an HTML template, the default code of the
Tip property does not include the paragraph tags (<p>...</p>):
${featureName}: ${indicatorValue}