dynamically change reference map image

Edmar Moretti edmar.moretti at MMA.GOV.BR
Wed Apr 27 07:28:51 EDT 2005


can you  try include into the html :

<input type='hidden' name='map_reference_image' value='[map_reference_image]' />

may be it works



On 26 Apr 2005 at 11:43, Dylan Beaudette wrote:

> Edmar,
>
> thanks for the tip...
>
> however, this does not seem to change the reference image...
>
> any ideas on what might be preventing this from working?
>
> i am using the DHTML interface developed my UMN.
>
> thanks!
>
> On Tuesday 26 April 2005 04:13 am, Edmar Moretti wrote:
> > You can use the url to set the reference image:
> > &map_reference_image=path_to_image
> >
> > On 22 Apr 2005 at 14:42, Dylan Beaudette wrote:
> > > Hi everyone
> > >
> > > is it possible to dynamically set the properties of the REFERENCE object
> > > in a map file?
> > >
> > > for example,
> > >
> > > i would like to adjust my map file based on URL arguments:
> > >
> > >
> > > REFERENCE
> > >                 STATUS ON
> > >                 IMAGE "%file_name%.png"
> > >                 ...
> > >
> > > however, this does not work. if i manually enter the file name of the
> > > reference image into the map file everything works ok...
> > >
> > > any ideas on this one?
> > >
> > >
> > > --
> > > Dylan Beaudette
> > > Soils and Biogeochemistry Graduate Group
> > > University of California at Davis
> > > 530.754.7341
> >
> > --
> > Edmar Moretti
> > Geógrafo
> > Ministério do Meio Ambiente
> > Coordenação Geral de Tecnologia da Informação
> > fone: (61) - 4009-1233
> > http://mapas.mma.gov.br/mapas
> > masn: edmarmoretti at hotmail.com
>
> --
> Dylan Beaudette
> Soils and Biogeochemistry Graduate Group
> University of California at Davis
> 530.754.7341


--
Edmar Moretti
Geógrafo
Ministério do Meio Ambiente
Coordenação Geral de Tecnologia da Informação
fone: (61) - 4009-1233
http://mapas.mma.gov.br/mapas
masn: edmarmoretti at hotmail.com



More information about the mapserver-users mailing list