[Mapserver-users] Changing scale in query map

Tyler Mitchell tjmitchell at riverside.bc.ca
Wed Jun 23 08:56:03 PDT 2004


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 




More information about the MapServer-users mailing list