[mapserver-users] Unable to use TEMPLATE in LEGEND
Martin, Daniel
DMartin at erac.com
Tue Jun 4 14:04:11 PDT 2002
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
More information about the MapServer-users
mailing list