[mapserver-users] Unable to use TEMPLATE in LEGEND
Martin, Daniel
DMartin@erac.com
Tue, 4 Jun 2002 16:04:11 -0500
Per the documentation, I've tried to add an HTML template to my .map file,
as such:
...
# LEGEND object
LEGEND
STATUS ON
KEYSIZE 18 12
# LABEL object
LABEL
TYPE BITMAP
SIZE MEDIUM
COLOR 0 0 89
END
TEMPLATE "../legendTemplates/MOMap_legend.html"
END
...
This results in the following error:
loadLegend(): Unknown identifier. (TEMPLATE):(88)
As soon as I comment out the "TEMPLATE" line, it works fine. Any idea what
is wrong? I'm using the Windows binary version 3.5 (non-php) straight from
the download.
Thanks,
Dan