From Da.Wa@uni-jena.de Tue Mar 4 09:44:19 2003
From: Da.Wa@uni-jena.de (Daniel Wagner)
Date: Tue, 4 Mar 2003 10:44:19 +0100
Subject: [rosa-users] JavaScripts for Zoomout, FullExtent and Query?
Message-ID: <1046771059.3e64757319a63@fsuj28.rz.uni-jena.de>
Hi!
I try to build a mapserver-application with an integrated rosa-applet. The
installation was successful. But when I hit the buttons, nothing happens. I
think I must write JavaScripts for the functions. But I'm a totally dummy at
Java, so please can You help me with this or send me some working functions.
I need ZoomOut, FullExtent and Query.
Some snippets of my code (instead of posting all):
TLUG - MapServer Interface
MapServer Demo Interface
--------------9EBDE2B93248BBAB1BC3871F--
From hi_ono2001@ybb.ne.jp Tue Mar 11 20:58:53 2003
From: hi_ono2001@ybb.ne.jp (Hisaji Ono)
Date: Wed, 12 Mar 2003 05:58:53 +0900
Subject: [rosa-users] Where is simple html or php example using Rosa?
Message-ID: <010801c2e811$0633a090$1a8001db@webgis>
Hello.
I think documents for using Rosa lack simple examples.
Could you tell me where simple html or php example using Rosa is available?
Regards.
From assefa@dmsolutions.ca Tue Mar 11 21:05:48 2003
From: assefa@dmsolutions.ca (Yewondwossen Assefa)
Date: Tue, 11 Mar 2003 16:05:48 -0500
Subject: [rosa-users] Where is simple html or php example using Rosa?
References: <010801c2e811$0633a090$1a8001db@webgis>
Message-ID: <3E6E4FA9.2C98F3E@dmsolutions.ca>
http://www2.dmsolutions.ca/mapserver/dl/gmap-ms36.zip is a sample application
using php mapscript and rosa.
Hisaji Ono wrote:
> Hello.
>
> I think documents for using Rosa lack simple examples.
>
> Could you tell me where simple html or php example using Rosa is available?
>
> Regards.
>
> _______________________________________________
> ROSA-users mailing list
> ROSA-users@dmsolutions.ca
> http://lists.dmsolutions.ca/mailman/listinfo/rosa-users
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa@dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
From frank.koormann@intevation.de Wed Mar 12 08:29:00 2003
From: frank.koormann@intevation.de (Frank Koormann)
Date: Wed, 12 Mar 2003 09:29:00 +0100
Subject: [rosa-users] Where is simple html or php example using Rosa?
In-Reply-To: <010801c2e811$0633a090$1a8001db@webgis>
References: <010801c2e811$0633a090$1a8001db@webgis>
Message-ID: <20030312082900.GC24698@intevation.de>
* Hisaji Ono [030311 22:00]:
> Hello.
>
> I think documents for using Rosa lack simple examples.
>
> Could you tell me where simple html or php example using Rosa is available?
>
HTML templates are linked in the MapServer Wiki at:
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?CGIMapServer
Cheers,
Frank
--
Frank Koormann
Professional Service around Free Software (http://intevation.net/)
FreeGIS Project (http://freegis.org/)
From kashifsaleem77@hotmail.com Thu Mar 20 08:09:30 2003
From: kashifsaleem77@hotmail.com (Kashif Saleem)
Date: Thu, 20 Mar 2003 08:09:30 +0000
Subject: [rosa-users] need some help
Message-ID:
Hello Dears
My name is kashif and currently job in an International organization GIS
department.We want to instal rosa applet on our web site.I have download the
software but i need some information.How i can install it to my web site.I
am also a java programmer.basically it is showing some exceptions.All of
this are the problems due to parameter passing.Please help me regarding
this.Either images are loading frm Map server and if it is then
How i can comunicate map server through applet.
Thanks
kashif
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
From Da.Wa@uni-jena.de Sun Mar 23 13:16:15 2003
From: Da.Wa@uni-jena.de (Daniel Wagner)
Date: Sun, 23 Mar 2003 14:16:15 +0100
Subject: [rosa-users] query result in a new popup
Message-ID: <1048425375.3e7db39fec44c@fsuj28.rz.uni-jena.de>
Hi all,
I'm working with mapserver and rosa and I'm fascinated about the numerous
possibilities.
I've integrated a Query-Button into the rosa applet and now I want to show the
query-result in a new popup.
I set the query-button with the "TB_BUT_info_JSACTION"-param to the following
JavaScript-function:
function info (){
window.open("[program]","Info","width=600,height=400.......");
}
But in the generated popup appears the following error message:
No query information to decode. QUERY_STRING is set, but empty.
I read in the rosa documentation, that when you use the "TB_BUT_info_JSACTION"-
param the form is never submitted.
Is there a possibility to submit the form with the "TB_BUT_info_JSACTION"-param?
Or is there another possibility to display the query-result in a new popup?
Thanks in advance!!
Daniel Wagner
-----------------------------------------------------
This mail was sent through http://webmail.uni-jena.de
From Da.Wa@uni-jena.de Sun Mar 23 13:28:09 2003
From: Da.Wa@uni-jena.de (Daniel Wagner)
Date: Sun, 23 Mar 2003 14:28:09 +0100
Subject: [rosa-users] navigatiopn arrows around the map
Message-ID: <1048426089.3e7db66948786@fsuj28.rz.uni-jena.de>
Hi all,
how can I activate (or create) the navigation (pan) arrows around the map, as
seen at the MapLab GMapFactory example??
Has someone an idea or working examples (sourcecode)?
Is there a possibility with the rosa-applet (maybe through params)?
Thanks in advance!!
Daniel Wagner
-----------------------------------------------------
This mail was sent through http://webmail.uni-jena.de
From morissette@dmsolutions.ca Sun Mar 23 14:45:15 2003
From: morissette@dmsolutions.ca (Daniel Morissette)
Date: Sun, 23 Mar 2003 09:45:15 -0500
Subject: [rosa-users] query result in a new popup
References: <1048425375.3e7db39fec44c@fsuj28.rz.uni-jena.de>
Message-ID: <3E7DC87B.8287B16E@dmsolutions.ca>
Daniel Wagner wrote:
>
> I've integrated a Query-Button into the rosa applet and now I want to show the
> query-result in a new popup.
>
> I set the query-button with the "TB_BUT_info_JSACTION"-param to the following
> JavaScript-function:
>
> function info (){
> window.open("[program]","Info","width=600,height=400.......");
> }
>
> But in the generated popup appears the following error message:
>
> No query information to decode. QUERY_STRING is set, but empty.
>
This happens because the URL you provide to window.open() is just the
mapserv URL, without the form parameters. You have two possibilities:
1- Modify your info() function to construct a valid mapserv URL that
includes all your form parameters. You would have to do that yourself
in JavaScript: read the value of each form parameter and append them to
the URL. Then pass that URL to window.open().
2. It may be possible to redirect the form to the window after it's
opened using something like this:
function info (){
// Create a window pointing to an empty dummy.html page.
// Make sure dummy.html exists to prevent 404 errors
window.open("dummy.html","Info","width=600,height=400.......");
// Set the form target to the new window and submit it.
document.form[0].target = "Info";
document.form[0].submit();
// Reset the form target so that further submits will go to
// the main window
document.form[0].target = "";
}
Note that this code may not run as is, I barely ever use JavaScript
myself so I could have made some mistakes, but I'm quite sure that the
JavaScript gurus in our team have used this trick before.
Daniel
--
------------------------------------------------------------
Daniel Morissette morissette@dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
From morissette@dmsolutions.ca Sun Mar 23 14:47:34 2003
From: morissette@dmsolutions.ca (Daniel Morissette)
Date: Sun, 23 Mar 2003 09:47:34 -0500
Subject: [rosa-users] navigatiopn arrows around the map
References: <1048426089.3e7db66948786@fsuj28.rz.uni-jena.de>
Message-ID: <3E7DC906.ACBD962F@dmsolutions.ca>
Daniel Wagner wrote:
>
> how can I activate (or create) the navigation (pan) arrows around the map, as
> seen at the MapLab GMapFactory example??
>
> Has someone an idea or working examples (sourcecode)?
> Is there a possibility with the rosa-applet (maybe through params)?
>
I think your best bet will be to look at the source (HTML source and
application source code) of an application that does this already. If
you have a GMapFactory app that does this then you have all the source
as well...
--
------------------------------------------------------------
Daniel Morissette morissette@dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
From pagurekd@agr.gc.ca Fri Mar 28 15:39:27 2003
From: pagurekd@agr.gc.ca (Debbie Pagurek)
Date: Fri, 28 Mar 2003 10:39:27 -0500
Subject: [rosa-users] rosa and php - prob when dragging a zoom box
Message-ID:
Hi all,
I have a problem with an application of mine that is created with php mapscript. All is working correctly, however, when I drag a box, I am getting weird "tracking" as I drag. If I drag the corner back and forth a bit before releasing the mouse, the background colour of the map begins to turn black (it is leaving the outline of the drag box behind?) THis is happening in both netscape and IE. I can still see the outline of my shapes - it is only the background that is affected. Has anyone else had this problem or does anyone know how to fix it?
Thanks,
D. Pagurek