change layer template on the fly {Scann ed} {Scanned} {Scanned}

Siki Zoltan siki at AGT.BME.HU
Mon Nov 29 13:42:46 PST 2004


Dear Jean-Francois,

Thank you for your help, map_parcel_template works in the url, and
map_parcel_header and map_parcel_footer does too.

Bye
Zoltan

On Mon, 29 Nov 2004, Jean-Francois Doyon wrote:

> Zoltan,
>
> To change the template used by the layer on the fly in a request, one of
> these should work:
>
> &map_parcel_template=mytemplate.html
>
> If that doesn't work, you may need to set TEMPLATEPATTERN (As documented).
>
> Inserting [map_layer_parcel_template] into your main template shouldn't work
> however.
>
> The template set for a layer is used when in query or nquery mode, in
> combination with the header and footer.
>
> J.F.
>
> -----Original Message-----
> From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU]On
> Behalf Of Siki Zoltan
> Sent: November 28, 2004 8:08 AM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: Re: [UMN_MAPSERVER-USERS] change layer template on the fly
> {Scanned}
>
>
> Hi,
>
> I only try to insert [map_layer_parcel_template] into my main html
> template, and other variants.
> It works for several cgi variables, is this different?
>
> Tanx
> Zoltan
>
> On Sat, 27 Nov 2004, Tyler Mitchell wrote:
>
> > Can you show us exactly how you are using, i.e. an example URL.
> >
> > Tyler
> >
> > On November 26, 2004 04:37 pm, Siki Zoltan wrote:
> > > Hi,
> > >
> > > I would like to change the layer template on the fly, using cgi
> mapserver.
> > > Is it possible? I can't find the cgi variable name.
> > > The layer name is parcel, I tried
> > > layer_parcel_template
> > > parcel_template
> > > without success.
> > >
> > > Any idea
> > >
> > > Tanx
> > > Zoltan
> >
>



More information about the MapServer-users mailing list