Legend in Print Template showing Layer Names rather than Display Names
We have been having problems with the "layer name" appearing in the legend in the print template coming from the map service rather than using the "display name" that has been entered into the Essentials Manager for the site. We would prefer to have the "display name" shown in the legend as it is on the legend in the map but when printed it shows the "layer names". For example we have bridges with two layers in the map service as we have two sets of symbology used in different maps, for example the Timber Bridges (2) layer is now appearing in the Legend rather that the "display name" which has been changed to Timber Bridges . See image below with legend from print, what is seen in the legend in the interactive map and in the Configure Site window. Any way to fix the legend in the print template to point to the "display name" rather then the "layer name". Cheers Bronwyn
/customer/servlet/servlet.FileDownload?file=00P6000000e87ztEAA
-
The following is the response I had from our support contact at AAM (14 Sep 11):
Hi Bronwyn,
Thank you kindly for the suggestion.
The default behavior in Essentials is to use the service name in the Legend rather then the Display name.
I have discussed this with the guys from Latitude and they have added this on the feature list for the next version.
Version 3.5 which is due in a month is closed for feature additions so this will be looked at for version 3.6.
At the moment the only way to do this is in two ways:
1. Change the map service name
2. Create a print module extension that will hook into the print operation and before the data gets sent to print it will intercept it and modify the data appropriately.
This is not straight forward but certainly doable. However this would be extra work. If desired I can explain in more details how would this be done.
Sincerely
Darko0
Please sign in to leave a comment.
Comments
1 comment