problems with zoom / layers

Blaise bpicinbono at WORLDONLINE.FR
Fri Nov 10 13:49:41 EST 2006


It seem's that the minx, miny, maxx, and maxy are not well passed to the 
result page.
Can you chek for these variables and their value in the url of your query 
result page with "wrong" full extent compared to their value before the query 
or post it here ?
Blaise

Le vendredi 10 novembre 2006 19:26, Eduardo Zenaide a écrit :
> thanks a lot, Blaise! :D
>
> about my other question, i've changed in the map file the resolution, but
> when i zoom in and do some query the map extents. it not resize, but zoom
> out to its max. i've tried comment some functions to see if i can identify
> where it happens but not sucessfully.
>
> any ideas?
>
> 2006/11/10, Blaise <bpicinbono at worldonline.fr>:
> > Try switching MS_SINGLE to MS_MULTIPLE in the queryByPoint function
> > around line 510 in the gmap75.inc.php file. This should do the trick;
> > check the doc
> > for more details :
> >
> > http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class/classes/ma
> >pobj Regards
> > Blaise
> >
> > Le vendredi 10 novembre 2006 18:03, Eduardo Zenaide a écrit:
> > > sorry, gmail replied only to you, i didn't see it
> > >
> > > what i want is to know if its possible to see, when i use the "i" tool
> >
> > over
> >
> > > a layer, results from all visible layers.
> > > example: two layers (city, country) visibles, i click over one
> > > location, let's say New York, it shows population from city layer AND
> > > name from country layer.
> > >
> > > thanks
> > >
> > > 2006/11/10, Blaise <bpicinbono at worldonline.fr>:
> > > > Please Eduardo, post to the list so everybody can participate.
> > > > With gmap out of the box, you can do a mutliple query with the Rosa
> > > > applet "i"
> > > > tool. Isn't it what you are looking for ?
> > > > Regards
> > > > Blaise
> > > >
> > > > Le vendredi 10 novembre 2006 13:40, vous avez écrit:
> > > > > Blaise,
> > > > >
> > > > > about the layers, they all have a template line and work fine, but
> > > > > i
> > > >
> > > > want
> > > >
> > > > > to know if i can see results from more than one layer at the same
> >
> > time.
> >
> > > > > thanks
> > > > >
> > > > > 2006/11/10, Blaise <bpicinbono at worldonline.fr>:
> > > > > > hi there,
> > > > > > 1 : check first that the layers you want queryable have a
> >
> > "template"
> >
> > > > line
> > > >
> > > > > > in
> > > > > > the mapfile. If not, they can't be queryable.
> > > > > > 2 : might be. Make a quick string search with the original extent
> >
> > in
> >
> > > > all
> > > >
> > > > > > the
> > > > > > files and you'll see.
> > > > > > Regards
> > > > > > Blaise
> > > > > >
> > > > > > Le jeudi 9 novembre 2006 20:54, Eduardo Zenaide a écrit:
> > > > > > > hi all,
> > > > > > >
> > > > > > > there's a way to display results from various layers, for
> >
> > example,
> >
> > > > > > > i
> > > > > >
> > > > > > have
> > > > > >
> > > > > > > three layers (city, country, province). when i do the query -
> >
> > i'm
> >
> > > > > > mounting
> > > > > >
> > > > > > > my interface under gmap with ms4w - it results only the last
> >
> > layer.
> >
> > > > i
> > > >
> > > > > > would
> > > > > >
> > > > > > > like to display results from all layers.
> > > > > > >
> > > > > > > other question: i have locked the screen on the map file as
> > > >
> > > > 760x500px.
> > > >
> > > > > > but,
> > > > > >
> > > > > > > when i zoom in and use the query tool, the map extents to the
> > > >
> > > > original
> > > >
> > > > > > > size. there's other place i should change the resolution?
> > > > > > >
> > > > > > >
> > > > > > > thanks in advance :)



More information about the mapserver-users mailing list