[Mapserver-users] Changing scale in query map

Pericles S. Nacionales nacional at cbs.umn.edu
Wed Jun 23 12:43:56 EDT 2004


Maria,

Can you show us the query templates for your application?  Please
include the query headers and footers.  

It could be that all you need to do is specify the image width and
height of the query map in your template.  By that I mean, add
"width="300" height="187"" in the <img> tag.

-Perry

On Wed, 2004-06-23 at 10:56, Tyler Mitchell wrote:
> Maria, are you using a demo application to start with or did you start 
> from scratch?  I don't know the answer for you but maybe if you provide 
> some more info to the list it will help.  I've also changed the subject 
> line to be a bit more descriptive :)
> 
> Tyler
> 
> mapserver-users-admin at lists.gis.umn.edu wrote on 06/22/2004 04:11:00 AM:
> 
> > 
> > Hi again!
> > I sent a message few days ago but I have not received any answer. 
> > Please, Should you find a solution for my problem? Thanks again
> > 
> > scale in query result
> > I need to show the query map in the same scale as the map 
> > in the map template, but I want the size of querymap smaller than the 
> map.
> > If I show the query result in the same page (target = _self) it 
> > goes, but if I show 
> > the query result in a different window the query map has got the 
> > same extent than the map, so
> > the resultant scale is bigger. (I need to do that in a new window)
> > How can i do that?
> > Thanks in advanced. Maria.
> > // query result in a new window
> > function CheckTarget(){
> >  if (document.mapserv.mode.value == "query"){
> >   document.mapserv.target="query";
> >   window.open('', 'query', 'resizable=yes,scrollbars=yes,toolbar=no,
> > menubar=no,width=400,height=300');
> >  } else {
> >   document.mapserv.target="_self";
> >  }
> > }
> > // querymap in mapfile
> >  QUERYMAP
> >   SIZE 300 187
> >   STATUS ON
> >   STYLE HILITE
> >   COLOR 0 255 255
> >  END
> > 
> > Adeu. Maria.
> > 
> > 
> > 
> > -----------------------------------------------------------------------
> > Juan acaba de ganar 40 euros vendiendo un jersey que no usaba 
> > gracias a Ebay, ¿cuanto quieres ganar tú?
> > http://ad.doubleclick.net/clk;7342022;7829128;i?http://adfarm.
> > mediaplex.com/ad/ck/1185-18912-4660-5?
> > RedirectEnter∂ner=36993&loc=http://www.es.ebay.com
> > _______________________________________________ Mapserver-users 
> > mailing list Mapserver-users at lists.gis.umn.edu http://lists.gis.umn.
> > edu/mailman/listinfo/mapserver-users 
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
-- 
"He's no geek.His tan's too good." -Benjamin Choate





More information about the mapserver-users mailing list