On Jan 9, 2008 12:55 PM, william paul <[EMAIL PROTECTED]> wrote:
>
> Please, can you give an example (Rich or Siki)?
> I am using the same template for mapserver as for displaying the query
> results
>
> Thank you
>
> William
>
Below is the layer definition for the layer that displays my itemnquery results.
tc.html is my main map template file.
empty.html contains nothing at all.
The important thing is that tc.html is associated with the HEADER (or
FOOTER, as Siki pointed out), but not the TEMPLATE.
Layer
NAME "region_spatial"
TYPE polygon
DATA region
STATUS default
FILTERITEM pidn
FILTER "%pidn%"
HEADER "tc.html" # Use to display map
TEMPLATE "empty.html"
FOOTER "empty.html"
CLASS
OUTLINECOLOR 255 255 0
SYMBOL 'solid' SIZE 6
END # class
END
--
Richard Greenwood
[EMAIL PROTECTED]
www.greenwoodmap.com