Rosa applet

Linda Ursem LindaU at gis.nl
Tue Mar 20 10:20:02 EST 2001


Dear J.Root,

I am trying to make a GIS application with Mapserver. I am working with the 
Rosa applet but I don't know what I have to write beside the IMG_URL. I 
have written: <PARAM NAME="IMG_URL" VALUE="[img]"> and the [img] refers to 
the map in the map file. Now the application zooms in only in one area. 
When I set the query button, the program says that there are no query 
results. I'll give you a part of my code, I hope you can help me fast.
Thanks,
Greetings Linda Ursem
Lindau at gis.nl

A part of my code:
<form name="mapserv" method=GET action="/cgi-bin/mapserv.exe">

<input type="hidden" name="map" value="[map]">
<input type="hidden" name="imgext" value="[mapext]">
<input type="hidden" name="mapext" value="shapes">
<input type="hidden" name="imgbox" value="-1 -1 -1 -1">
<input type="hidden" name="imgxy" value="299.5 299.5">



<input type="hidden" name="mode" value="browse">
	  <input type="hidden" name="querymode" value="">
      <input type="hidden" name="zoomdir" value="0">
	  <input type="hidden" name="zoom" value="">

      <APPLET NAME="RosaApplet" ARCHIVE="../vvvgis/rosa/rosa.jar" 
CODE="Rosa2000" WIDTH="400" HEIGHT="500" MAYSCRIPT>
         <PARAM NAME="LOADING_MSG" VALUE="Een paar seconden geduld ...">
		
		 <PARAM NAME="IMG_URL" VALUE="[img]">
		 <PARAM NAME="IMG_XY" VALUE="0,0">
		 <PARAM NAME="BG_COLOR" VALUE="#FFFFCC">
         <PARAM NAME="INP_FORM_NAME" VALUE="mapserv">
         <PARAM NAME="INP_TYPE_NAME" VALUE="INPUT_TYPE">		
         <PARAM NAME="INP_COORD_NAME" VALUE="INPUT_COORD">		
		
		 <PARAM NAME="TB_POSITION" VALUE="top">
		 <PARAM NAME="TB_ALIGN" VALUE="left">		
		 <PARAM NAME="TB_BUTTONS" 
VALUE="zoomin|zoomout|space_03|fullextent|space_03|pan|space_12|query|sp  
ace_12|distance|space_12|legend">
		
         <PARAM NAME="TB_SELECTED_BUTTON" VALUE="pan">
	
         <PARAM NAME="TB_BUT_zoomin_IMG" 
VALUE="../vvvgis/images/icon_zoomin_1.gif">
         <PARAM NAME="TB_BUT_zoomin_IMG_PR" 
VALUE="../vvvgis/images/icon_zoomin_2.gif">
         <PARAM NAME="TB_BUT_zoomin_HINT" VALUE="In zoomen">
         <PARAM NAME="TB_BUT_zoomin_INPUT" VALUE="auto_rect">
         <PARAM NAME="TB_BUT_zoomin_NAME" VALUE="zoom">
         <PARAM NAME="TB_BUT_zoomin_VALUE" VALUE="3">	
		 <PARAM NAME="TB_BUT_zoomin_JSACTION" VALUE="querycheck()">
         <PARAM NAME="TB_BUT_zoomin_CURSOR_TYPE" VALUE="CROSSHAIR">
		
         <PARAM NAME="TB_BUT_zoomout_IMG" 
VALUE="../vvvgis/images/icon_zoomout_1.gif">
         <PARAM NAME="TB_BUT_zoomout_IMG_PR" 
VALUE="../vvvgis/images/icon_zoomout_2.gif">
         <PARAM NAME="TB_BUT_zoomout_HINT" VALUE="Uit zoomen">
         <PARAM NAME="TB_BUT_zoomout_INPUT" VALUE="auto_point">
         <PARAM NAME="TB_BUT_zoomout_NAME" VALUE="zoomdir">
         <PARAM NAME="TB_BUT_zoomout_VALUE" VALUE="-1">
		 <PARAM NAME="TB_BUT_zoomin_CURSOR_TYPE" VALUE="CROSSHAIR">		 	
	
         <PARAM NAME="TB_BUT_fullextent_IMG" 
VALUE="../vvvgis/images/icon_fullextent_1.gif">
         <PARAM NAME="TB_BUT_fullextent_IMG_PR" 
VALUE="../vvvgis/images/icon_fullextent_2.gif">
         <PARAM NAME="TB_BUT_fullextent_HINT" VALUE="Volledig uitzoomen">
         <PARAM NAME="TB_BUT_fullextent_INPUT" VALUE="submit">
         <PARAM NAME="TB_BUT_fullextent_NAME" VALUE="imgext">
         <PARAM NAME="TB_BUT_fullextent_VALUE" VALUE="9120 323020 151969 
657286">
		 <PARAM NAME="TB_BUT_zoomin_JSACTION" VALUE="querycheck()">	
		
         <PARAM NAME="TB_BUT_pan_IMG" 
VALUE="../vvvgis/images/icon_recentre_1.gif">
         <PARAM NAME="TB_BUT_pan_IMG_PR" 
VALUE="../vvvgis/images/icon_recentre_2.gif">
         <PARAM NAME="TB_BUT_pan_HINT" VALUE="Verschuiven">
         <PARAM NAME="TB_BUT_pan_INPUT" VALUE="auto_point">		
         <PARAM NAME="TB_BUT_pan_NAME" VALUE="zoomdir">
         <PARAM NAME="TB_BUT_pan_VALUE" VALUE="0">
		 <PARAM NAME="TB_BUT_zoomin_JSACTION" VALUE="querycheck()">
		 <PARAM NAME="TB_BUT_pan_CURSOR_TYPE" VALUE="MOVE">	
		
         <PARAM NAME="TB_BUT_query_IMG" VALUE="../vvvgis/images/icon_que  
ry_1.gif">
         <PARAM NAME="TB_BUT_query_IMG_PR" 
VALUE="../vvvgis/images/icon_query_2.gif">
         <PARAM NAME="TB_BUT_query_HINT" VALUE="Rapport">		
         <PARAM NAME="TB_BUT_query_INPUT" VALUE="auto_point">			
         <PARAM NAME="TB_BUT_query_NAME" VALUE="querymode">
         <PARAM NAME="TB_BUT_query_VALUE" VALUE="nquery">	
		 <PARAM NAME="TB_BUT_query_JSACTION" VALUE="querycheck()">
		 <PARAM NAME="TB_BUT_pan_CURSOR_TYPE" VALUE="HAND">
		
        <!-- <PARAM NAME="TB_BUT_distance_IMG" 
VALUE="../vvvgis/images/icon_ruler_1.gif">
         <PARAM NAME="TB_BUT_distance_IMG_PR" 
VALUE="../vvvgis/images/icon_ruler_2.gif">
         <PARAM NAME="TB_BUT_distance_HINT" VALUE="Afstand">
         <PARAM NAME="TB_BUT_distance_INPUT" VALUE="dist">
		 <PARAM NAME="TB_BUT_distance_NAME" VALUE="mode">
         <PARAM NAME="TB_BUT_distance_VALUE" VALUE="query">		
		
         <PARAM NAME="TB_BUT_legend_IMG" 
VALUE="../vvvgis/images/icon_infoarea_1.gif">
         <PARAM NAME="TB_BUT_legend_IMG_PR" 
VALUE="../vvvgis/images/icon_infoarea_2.gif">
         <PARAM NAME="TB_BUT_legend_HINT" VALUE="Legenda">
         <PARAM NAME="TB_BUT_legend_INPUT" VALUE="legend">
         <PARAM NAME="TB_BUT_legend_NAME" VALUE="mode">
         <PARAM NAME="TB_BUT_legend_VALUE" VALUE="query">	-->	
		
		 <PARAM NAME="PIXEL_SIZE" VALUE="0.01">	
		 <PARAM NAME="DIST_MSG" VALUE="De afstand is ongeveer: %s km">
		
		 <PARAM NAME="DYN_LEGEND" VALUE="FFFFCC=VVV|FFFFCC=Fietsroute">

      </APPLET>	
	  <INPUT TYPE="HIDDEN" NAME="INPUT_TYPE" VALUE="">
	  <INPUT TYPE="HIDDEN" NAME="INPUT_COORD" VALUE="">	




More information about the mapserver-users mailing list