[Mapserver-users] ROSA is not showing toolbar
William A. Bronsema, C.E.T.
bronsema at dmsolutions.ca
Tue Aug 26 06:05:42 PDT 2003
Eduardo,
Double check that the toolbar images exist and that the paths are
correct. Also try adding a "./" in front of any relative path.
"include/java/rosa/images/icon_zoomin_1.gif"
becomes
"./include/java/rosa/images/icon_zoomin_1.gif"
Regards,
Bill
Eduardo Patto Kanegae wrote:
> I put a ROSA applet inside a PHP/Mapscript application, the image of the
> map is drawing OK
> but the toolbar is not.
>
> what could be wrong?
>
>
> here is a sample of the HTML that is being coded by it:
>
> <APPLET NAME="RosaApplet" ARCHIVE="include/java/rosa/rosa_png.jar"
> CODE="Rosa2000" WIDTH="528" HEIGHT="396" MAYSCRIPT>
> <PARAM NAME="IMG_URL" VALUE="/tmp/webimoveis286063f4aa51b96b9c.png">
> <PARAM NAME="INP_FORM_NAME" VALUE="frm">
> <PARAM NAME="INP_TYPE_NAME" VALUE="input_type">
> <PARAM NAME="INP_COORD_NAME" VALUE="input_coord">
> <PARAM NAME="TB_POSITION" VALUE="left">
> <PARAM NAME="TB_ALIGN" VALUE="top">
> <PARAM NAME="TB_BUTTONS" VALUE="zoomin|zoomout|recentre|info|redraw">
> <PARAM NAME="TB_SELECTED_BUTTON" VALUE="zoomin">
> <PARAM NAME="TB_BUT_zoomin_IMG"
> VALUE="include/java/rosa/images/icon_zoomin_1.gif">
> <PARAM NAME="TB_BUT_zoomin_IMG_PR"
> VALUE="include/java/rosa/images/icon_zoomin_2.gif">
> <PARAM NAME="TB_BUT_zoomin_HINT" VALUE="Aproximar(+): Clique
> e|desenhe um retângulo sobre o mapa">
> <PARAM NAME="TB_BUT_zoomin_INPUT" VALUE="auto_rect">
> <PARAM NAME="TB_BUT_zoomin_NAME" VALUE="CMD">
> <PARAM NAME="TB_BUT_zoomin_VALUE" VALUE="ZOOM_IN">
> <PARAM NAME="TB_BUT_zoomin_JSACTION"
> VALUE="document.frm.mode.value='browse';document.frm.submit()">
> <PARAM NAME="TB_BUT_zoomin_CURSOR_TYPE" VALUE="CROSSHAIR">
> <PARAM NAME="TB_BUT_zoomout_IMG"
> VALUE="include/java/rosa/images/icon_zoomout_1.gif">
> <PARAM NAME="TB_BUT_zoomout_IMG_PR"
> VALUE="include/java/rosa/images/icon_zoomout_2.gif">
> <PARAM NAME="TB_BUT_zoomout_HINT" VALUE="Afastar(-): Clique para
> afastar">
> <PARAM NAME="TB_BUT_zoomout_INPUT" VALUE="auto_point">
> <PARAM NAME="TB_BUT_zoomout_NAME" VALUE="CMD">
> <PARAM NAME="TB_BUT_zoomout_VALUE" VALUE="ZOOM_OUT">
> <PARAM NAME="TB_BUT_zoomout_JSACTION"
> VALUE="document.frm.mode.value='browse';document.frm.zoomdir.value=-1;document.frm.submit()">
> <PARAM NAME="TB_BUT_zoomout_CURSOR_TYPE" VALUE="HAND">
> <PARAM NAME="TB_BUT_recentre_IMG"
> VALUE="include/java/rosa/images/icon_recentre_1.gif">
> <PARAM NAME="TB_BUT_recentre_IMG_PR"
> VALUE="include/java/rosa/images/icon_recentre_2.gif">
> <PARAM NAME="TB_BUT_recentre_HINT" VALUE="Centralizar: Clique em
> um ponto|para trazê-lo ao centro">
> <PARAM NAME="TB_BUT_recentre_INPUT" VALUE="auto_point">
> <PARAM NAME="TB_BUT_recentre_NAME" VALUE="CMD">
> <PARAM NAME="TB_BUT_recentre_VALUE" VALUE="RECENTER">
> <PARAM NAME="TB_BUT_recentre_JSACTION"
> VALUE="document.frm.mode.value='browse';document.frm.submit()">
> <PARAM NAME="TB_BUT_recentre_CURSOR_TYPE" VALUE="MOVE">
> <PARAM NAME="TB_BUT_info_IMG"
> VALUE="include/java/rosa/images/icon_info_1.gif">
> <PARAM NAME="TB_BUT_info_IMG_PR"
> VALUE="include/java/rosa/images/icon_info_2.gif">
> <PARAM NAME="TB_BUT_info_HINT" VALUE="Consulta por ponto: Clique
> em um ponto no mapa|para obter detalhes do item">
> <PARAM NAME="TB_BUT_info_INPUT" VALUE="auto_point">
> <PARAM NAME="TB_BUT_info_NAME" VALUE="CMD">
> <PARAM NAME="TB_BUT_info_VALUE" VALUE="QUERY_POINT">
> <PARAM NAME="TB_BUT_info_JSACTION"
> VALUE="document.frm.mode.value='query';document.frm.submit()">
> <PARAM NAME="TB_BUT_info_CURSOR_TYPE" VALUE="HAND">
> <PARAM NAME="TB_BUT_redraw_IMG"
> VALUE="include/java/rosa/images/icon_redraw_1.gif">
> <PARAM NAME="TB_BUT_redraw_IMG_PR"
> VALUE="include/java/rosa/images/icon_redraw_2.gif">
> <PARAM NAME="TB_BUT_redraw_HINT" VALUE="Atualizar">
> <PARAM NAME="TB_BUT_redraw_INPUT" VALUE="submit">
> <PARAM NAME="TB_BUT_redraw_NAME" VALUE="CMD">
> <PARAM NAME="TB_BUT_redraw_VALUE" VALUE="REDRAW">
> <PARAM NAME="TB_BUT_redraw_JSACTION"
> VALUE="document.frm.mode.value='browse';document.frm.submit()">
> </APPLET>
--
William A. Bronsema, C.E.T.
Applications Developer
DM Solutions Group Inc.
http://www.dmsolutions.ca
e-mail: bronsema at dmsolutions.ca
phone : +1 (613) 565-5056 ext.25
fax : +1 (613) 565-0925
_______________________________________________
More information about the MapServer-users
mailing list