[MAPSERVER-USERS] How to implement jBox in asp.netusing C# or VB.....

Cavalieri Piero Piero.Cavalieri at heidi.it
Tue May 20 06:39:01 PDT 2008


You use it exatly the same as with other languages (jbox is an applet):

In aspx:

<APPLET codebase="java" code="jBox.class" archive="jBox.jar"
                                 width="<%=mapwidth%>" height="<%=mapheight%>" name="jbox" MAYSCRIPT>
                            <PARAM name="image" value="http://<%=host%><%=img%>">
                            <PARAM name="box" value="true">
                            <PARAM name="thickness" value="2">
                            <PARAM name="color" value="red">
							<PARAM name="jitter" value="2">
                            <PARAM name="verbose" value="true">
                        </APPLET>

Values inside <%=...%> are setted here in the code behind of the page, for the first request (if(!IsPostBack)), then I use ajax to build appropriate requests and to swap the old image with the new returned ones (document.jbox.setimage(newImage.src)); 

Be sure to read jbox tutorials (you need setbox_handler ecc. as indicated in the tutorial).

Cheers
 Piero



> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-
> bounces at lists.osgeo.org] On Behalf Of yatendra
> Sent: martedì 20 maggio 2008 15:06
> To: mapserver-users at lists.osgeo.org
> Subject: [MAPSERVER-USERS] How to implement jBox in asp.netusing C# or
> VB.....
> 
> 
> Hi Friends,
> i need some help to create rubberband zoom in funtionality.....
> Can any one know hoe to use jBox functionality asp.net.
> or How to create zoom in funtionality using rubberband?
> Please explain..
> Thanks Regards
> --
> View this message in context: http://www.nabble.com/How-to-implement-jBox-
> in-asp.netusing-C--or-VB.....-tp17339858p17339858.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the MapServer-users mailing list