MapTools.org

[rosa-users] Getting started with RosaApplet & Mapserver

Steve McCrone mccrone@pc.jaring.my
Tue, 31 Dec 2002 19:08:22 +0800
This is a multi-part message in MIME format.

------=_NextPart_000_0007_01C2B0FF.FD20A7C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,

I've downloaded the Rosa Applet 1.2.0. and need some help on displaying =
the toolbar, as found in the GMap demo (i.e. Zoom, Pan etc.)

Viewing the source for this GMap sample I have viewed the following -=20

<APPLET NAME=3D"RosaApplet" ARCHIVE=3D"./rosa/rosa.jar" =
CODE=3D"Rosa2000" WIDTH=3D"400" HEIGHT=3D"300" MAYSCRIPT>
<PARAM NAME=3D"TB_POSITION" VALUE=3D"right">
<PARAM NAME=3D"TB_ALIGN" VALUE=3D"top"><PARAM NAME=3D"IMG_URL" =
VALUE=3D"/ms_tmp/1041332566271951.gif"><PARAM NAME=3D"INP_FORM_NAME" =
VALUE=3D"myform"><PARAM NAME=3D"TB_BUTTONS" =
VALUE=3D"zoomin|zoomout|recentre|pquery">
<PARAM NAME=3D"INP_TYPE_NAME" VALUE=3D"INPUT_TYPE">
<PARAM NAME=3D"INP_COORD_NAME" VALUE=3D"INPUT_COORD">
<PARAM NAME=3D"TB_SELECTED_BUTTON" VALUE=3D"zoomin"><PARAM =
NAME=3D"TB_BUT_zoomin_IMG" VALUE=3D"./images/tool_zoomin_1.gif">
<PARAM NAME=3D"TB_BUT_zoomin_IMG_PR" =
VALUE=3D"./images/tool_zoomin_2.gif">
<PARAM NAME=3D"TB_BUT_zoomin_HINT" VALUE=3D"Zoom in: Click the =
button|and the map will zoom in">
<PARAM NAME=3D"TB_BUT_zoomin_INPUT" VALUE=3D"auto_rect">
<PARAM NAME=3D"TB_BUT_zoomin_NAME" VALUE=3D"CMD">
<PARAM NAME=3D"TB_BUT_zoomin_VALUE" VALUE=3D"ZOOM_IN">
<PARAM NAME=3D"TB_BUT_zoomout_IMG" =
VALUE=3D"./images/tool_zoomout_1.gif">
<PARAM NAME=3D"TB_BUT_zoomout_IMG_PR" =
VALUE=3D"./images/tool_zoomout_2.gif">
<PARAM NAME=3D"TB_BUT_zoomout_HINT" VALUE=3D"Zoom out: Click the =
button|and the map will zoom out">
<PARAM NAME=3D"TB_BUT_zoomout_INPUT" VALUE=3D"submit">
<PARAM NAME=3D"TB_BUT_zoomout_NAME" VALUE=3D"CMD">
<PARAM NAME=3D"TB_BUT_zoomout_VALUE" VALUE=3D"ZOOM_OUT">
<PARAM NAME=3D"TB_BUT_recentre_IMG" =
VALUE=3D"./images/tool_recentre_1.gif">
<PARAM NAME=3D"TB_BUT_recentre_IMG_PR" =
VALUE=3D"./images/tool_recentre_2.gif">
<PARAM NAME=3D"TB_BUT_recentre_HINT" VALUE=3D"Recenter: Click the =
button|and the map will recenter">
<PARAM NAME=3D"TB_BUT_recentre_INPUT" VALUE=3D"auto_point">
<PARAM NAME=3D"TB_BUT_recentre_NAME" VALUE=3D"CMD">
<PARAM NAME=3D"TB_BUT_recentre_VALUE" VALUE=3D"RECENTER">
<PARAM NAME=3D"TB_BUT_pquery_IMG" VALUE=3D"./images/tool_info_1.gif">
<PARAM NAME=3D"TB_BUT_pquery_IMG_PR" VALUE=3D"./images/tool_info_2.gif">
<PARAM NAME=3D"TB_BUT_pquery_HINT" VALUE=3D"Point Query: Click a point =
on the map|for information about that point">
<PARAM NAME=3D"TB_BUT_pquery_INPUT" VALUE=3D"auto_rect">
<PARAM NAME=3D"TB_BUT_pquery_NAME" VALUE=3D"CMD">
<PARAM NAME=3D"TB_BUT_pquery_VALUE" VALUE=3D"QUERY_POINT">
</APPLET>

I need some guidence to include this functionality in my page with =
Mapserver.

Thanks,

Steve

------=_NextPart_000_0007_01C2B0FF.FD20A7C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I've downloaded the Rosa Applet 1.2.0. =
and need=20
some help on displaying the toolbar, as found in the GMap demo (i.e. =
Zoom, Pan=20
etc.)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Viewing the source for this GMap sample =
I have=20
viewed the following - </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&lt;APPLET NAME=3D"RosaApplet"=20
ARCHIVE=3D"./rosa/rosa.jar" CODE=3D"Rosa2000" WIDTH=3D"400" =
HEIGHT=3D"300"=20
MAYSCRIPT&gt;<BR>&lt;PARAM NAME=3D"TB_POSITION" =
VALUE=3D"right"&gt;<BR>&lt;PARAM=20
NAME=3D"TB_ALIGN" VALUE=3D"top"&gt;&lt;PARAM NAME=3D"IMG_URL"=20
VALUE=3D"/ms_tmp/1041332566271951.gif"&gt;&lt;PARAM =
NAME=3D"INP_FORM_NAME"=20
VALUE=3D"myform"&gt;&lt;PARAM NAME=3D"TB_BUTTONS"=20
VALUE=3D"zoomin|zoomout|recentre|pquery"&gt;<BR>&lt;PARAM =
NAME=3D"INP_TYPE_NAME"=20
VALUE=3D"INPUT_TYPE"&gt;<BR>&lt;PARAM NAME=3D"INP_COORD_NAME"=20
VALUE=3D"INPUT_COORD"&gt;<BR>&lt;PARAM NAME=3D"TB_SELECTED_BUTTON"=20
VALUE=3D"zoomin"&gt;&lt;PARAM NAME=3D"TB_BUT_zoomin_IMG"=20
VALUE=3D"./images/tool_zoomin_1.gif"&gt;<BR>&lt;PARAM =
NAME=3D"TB_BUT_zoomin_IMG_PR"=20
VALUE=3D"./images/tool_zoomin_2.gif"&gt;<BR>&lt;PARAM =
NAME=3D"TB_BUT_zoomin_HINT"=20
VALUE=3D"Zoom in: Click the button|and the map will zoom =
in"&gt;<BR>&lt;PARAM=20
NAME=3D"TB_BUT_zoomin_INPUT" VALUE=3D"auto_rect"&gt;<BR>&lt;PARAM=20
NAME=3D"TB_BUT_zoomin_NAME" VALUE=3D"CMD"&gt;<BR>&lt;PARAM=20
NAME=3D"TB_BUT_zoomin_VALUE" VALUE=3D"ZOOM_IN"&gt;<BR>&lt;PARAM=20
NAME=3D"TB_BUT_zoomout_IMG" =
VALUE=3D"./images/tool_zoomout_1.gif"&gt;<BR>&lt;PARAM=20
NAME=3D"TB_BUT_zoomout_IMG_PR"=20
VALUE=3D"./images/tool_zoomout_2.gif"&gt;<BR>&lt;PARAM =
NAME=3D"TB_BUT_zoomout_HINT"=20
VALUE=3D"Zoom out: Click the button|and the map will zoom =
out"&gt;<BR>&lt;PARAM=20
NAME=3D"TB_BUT_zoomout_INPUT" VALUE=3D"submit"&gt;<BR>&lt;PARAM=20
NAME=3D"TB_BUT_zoomout_NAME" VALUE=3D"CMD"&gt;<BR>&lt;PARAM=20
NAME=3D"TB_BUT_zoomout_VALUE" VALUE=3D"ZOOM_OUT"&gt;<BR>&lt;PARAM=20
NAME=3D"TB_BUT_recentre_IMG" =
VALUE=3D"./images/tool_recentre_1.gif"&gt;<BR>&lt;PARAM=20
NAME=3D"TB_BUT_recentre_IMG_PR"=20
VALUE=3D"./images/tool_recentre_2.gif"&gt;<BR>&lt;PARAM=20
NAME=3D"TB_BUT_recentre_HINT" VALUE=3D"Recenter: Click the button|and =
the map will=20
recenter"&gt;<BR>&lt;PARAM NAME=3D"TB_BUT_recentre_INPUT"=20
VALUE=3D"auto_point"&gt;<BR>&lt;PARAM NAME=3D"TB_BUT_recentre_NAME"=20
VALUE=3D"CMD"&gt;<BR>&lt;PARAM NAME=3D"TB_BUT_recentre_VALUE"=20
VALUE=3D"RECENTER"&gt;<BR>&lt;PARAM NAME=3D"TB_BUT_pquery_IMG"=20
VALUE=3D"./images/tool_info_1.gif"&gt;<BR>&lt;PARAM =
NAME=3D"TB_BUT_pquery_IMG_PR"=20
VALUE=3D"./images/tool_info_2.gif"&gt;<BR>&lt;PARAM =
NAME=3D"TB_BUT_pquery_HINT"=20
VALUE=3D"Point Query: Click a point on the map|for information about =
that=20
point"&gt;<BR>&lt;PARAM NAME=3D"TB_BUT_pquery_INPUT"=20
VALUE=3D"auto_rect"&gt;<BR>&lt;PARAM NAME=3D"TB_BUT_pquery_NAME"=20
VALUE=3D"CMD"&gt;<BR>&lt;PARAM NAME=3D"TB_BUT_pquery_VALUE"=20
VALUE=3D"QUERY_POINT"&gt;<BR>&lt;/APPLET&gt;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I need some guidence to include this =
functionality=20
in my page with Mapserver.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Steve</FONT></DIV></BODY></HTML>

------=_NextPart_000_0007_01C2B0FF.FD20A7C0--



This archive was generated by Pipermail.