Panning tool without Java VM?
Carola Jesch
cjesch at CCT.LSU.EDU
Tue Apr 25 05:24:21 PDT 2006
Hi list,
I would like to pan my MapServer image with drag&drop like jbox is doing.
But I have realized that the client has to have Java engine installed on
their machine to use the jbox functionality. I would like to avoid the Java
VM because WinXP doesn't come with a preconfigured Java environment. Is
there another way to create this panning tool (like JavaScript?)
Thanks, Carola
> -----Original Message-----
> From: UMN MapServer Users List
> [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Steve Lime
> Sent: Monday, April 24, 2006 11:29 PM
> To: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: Re: [UMN_MAPSERVER-USERS] trying to get dbox working...
>
> Just to clear things up - the variables [BOX], [DRAG] and
> [PROGRAM] are not MapServer CGI variables. That is, MapServer
> knows nothing about them. Remember any variable passed into
> the CGI can also be retrieved using [variable] syntax. So, in
> this case the variables are being used by the web application
> to maintain state and/or ease configuration. That's the case
> with the map_ vars as well. The authors wanted to simplify
> configuration by concentrating edits to one file. That's how
> the main Itasca demo works too. Unfortunately the ease of
> configuration often causes more confusion than it's worth.
>
> With the cms-based MapServer site there are certainly
> opportunities for anyone and everyone to contribute to the docs!
>
> Steve
>
> >>> "piero.cavalieri at gmail.com" <piero.cavalieri at GMAIL.COM> 04/23/06
> >>> 2:54 AM >>>
> I never see [BOX], which should be "true" or "false" (it was
> so in the older version and hardcoding "true" should work).
> I never see [DRAG] (as it's not documented, as [BOX]).
> [PROGRAM] it's not documented, but I fell to remember I saw
> it in itasca demo application last year (when I set up it)
> [map_web_imagepath] and [map_web_imageurl] are right, see
> "Changing map file parameters via a form or a URL" (MAP
> object in .map file has WEB child object, which has IMAGEPATH
> child object; u colud specifiy everything in map file in tis
> manner, for example MAP_LEGEND_SIZE= 140 130, passing it to
> cgi u can change legend size dinamically).
> [ZOOMSIZE] is correct, it's the last parameter before
> "ROSA-Applet specific".
>
>
> Personally I think cgi reference it's not too much well
> documented, especially for a beginner. I had basic cgi
> working (less or more) with:
> -to cgi ("input"): IMGEXT, IMGXY, IMGBOX -output (in template
> tag): MAPEXT wich value become that of IMGEXT when you give
> to the url the next time, and so on.
>
> Other paramters are intuitive, but I had to do a lot of try
> and error to have something working and I'm still a bit
> confused. Then one ask himself why there is not BBOX for
> example (among others), which is OGC (I think)...
> I repeat myself: cgi reference should be documented well,
> specifiing that in reference there are only Mapserver
> specific (if so) and not OGC variables, and doing at the
> reference end, a bit of examples for most common situations
> (it should be only one or two pages more...)
>
> Cheers
> Piero
>
>
> Date: Fri, 21 Apr 2006 09:38:30 -0500
> From: John Cole <john.cole at UAI.COM>
> Subject: trying to get dbox working...
> MIME-Version: 1.0
> Content-Type: text/plain
>
> I'm trying to get the dbox demo working on my data, but the
> page from
> http://www.greenwoodmap.com/mapserver/Ottawa-workshop/presenta
> tion/demo3_dBo
> x-src.html seems to use some template tags that aren't
> working (and are not in the template file reference).
>
> Among these are [box], [drag], [program],
> [map_web_imagepath], [map_web_imageurl], and [zoomsize].
>
> Is there a working dbox demo I could download? :-) or get
> some hints as to how to get this one to work?
>
> I'm using mapserver 4.8.1. I think I have all of the js files
> needed, but I'm getting a js error, box is not defined, on
> main.box = [box];
>
> Thanks,
>
> John Cole
> <DIV><FONT size=1 face="Verdana">This email and any files
> transmitted with it are confidential and intended solely for
> the use of the individual or entity to whom they are
> addressed. If you have received this email in error please
> notify the sender. This message contains confidential
> information and is intended only for the individual named.
> If you are not the named addressee you should not
> disseminate, distribute or copy this e-mail. </FONT></DIV>
>
More information about the MapServer-users
mailing list