User guide

© GeoWise Ltd. 2011
Page 64
visualise | communicate | ENGAGE The InstantAtlas Designer
g the InstantAtlas Area Profile Template User Guide
© GeoWise Ltd. 2013
id="contextualLayer1" name = "Post code districts"
geometry="polygon" src="contextualLayer1.swf">
Please note that prior to version 6.5.0 the values displayed in the tooltips
were the values of the Feature Code Field that you set in the Publisher
when adding the contextual layer. From 6.5.0 onwards the tooltips will
display the values of the Feature Name Field.
List of Layers Displaying Labels
If you wish to show permanent labels in the map for the base or contextual
layers you should edit the List of Layers Displaying Labels’ property. This
is a list of the IDs of the layers you wish to display labels permanently in
the map. You can find the IDs listed in the map.swf.xml file in the output
folder of your dynamic report. This file can be viewed using a text editor
such as Notepad or Textpad. For example, in the snippet of code below
taken from a map.swf.xml file you can see that the ID for the base
geography is ‘_post_code_sectors.shp1’ and the ID for the only contextual
layer is ‘contextualLayer1’.
<base-layer
xmlns="http://swf.instantatlas.com/supplement"
id="_post_code_sectors.shp1"
name="post_code_sectors.shp" geometry="polygon"
src="map1.swf">
</base-layer>
<contextual-layer
xmlns="http://swf.instantatlas.com/supplement"
id="contextualLayer1" name="post_code_districts.shp"
geometry="polygon" src="contextualLayer1.swf">
If you wish both of these layers to show labels, the list in the popup window
should look like that shown below (Figure 78).
Figure 78
Please note that prior to version 6.5.0 the values displayed in the labels
were the values of the Feature Code Field which you chose in the
Publisher when adding the contextual layer. From 6.5.0 onwards the
labels will display the values of the Feature Name Field.
When using an HTML template, the tooltips for map layers are
switched on and off in the layer properties in the Publisher. After the
report has been published you can change these settings by editing
the map.js file in a text editor.