box zooming
Steve Lime
steve.lime at DNR.STATE.MN.US
Thu Apr 21 15:15:32 PDT 2005
It would be easier to help if we could see the whole application. Off
the top of my head I would think
there might be a problem with div names, make sure those jive...
Steve
>>> Dylan Beaudette <dylan at IICI.NO-IP.ORG> 4/21/2005 1:51:34 PM >>>
Bart,
Wow! you were right - i was able to fix up my old mapserver application
with
the source fromthe UMN site!!
however, i noticed that my legend does not seem to be rendered.
i modified the source of the UMN page, near the legendURL section;
------------------
// update the legend
var legendURL =
"http://169.237.35.250/cgi-bin/mapserv?map=/home/dylan/public_html/mapserver/mapunit/fresno_w.map&mode=legend&layers="
+ ms.getlayerlist('+') + "&mapext=" + ms.extent[0] + "+" +
ms.extent[1] +
"+" + ms.extent[2] + "+" + ms.extent[3] + "&mapsize=" + ms.width +
"+" +
ms.height;
legend.setcontent(legendURL);
-------------------------------
i know that the variable 'legendURL' is valid, as it expands to the
working:
http://169.237.35.250/cgi-bin/mapserv?map=/home/dylan/public_html/mapserver/mapunit/fresno_w.map&mode=legend&layers=&mapext=-2133333.6828213334+-216382.321635+-1954777.1482586667+-82464.920713&mapsize=640+480
... but somehow the legend image is not drawn...
any ideas on this one?
thanks for the help!!
--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341
On Thursday 21 April 2005 09:05 am, Bart van den Eijnden wrote:
> Hi Dylan,
>
> view source is enough (at least it was for me), you can see the
references
> to the various javascript libraries used and download them, also how
to
> use them in the HTML page itself.
>
> Best regards,
> Bart
>
> On Thu, 21 Apr 2005 08:58:16 -0700, Dylan Beaudette
<dylan at IICI.NO-IP.ORG>
>
> wrote:
> > is there a place to see tis code, or is the HTML source on that
page
> > enough?
> >
> > thanks!
> >
> > On Apr 21, 2005, at 1:37 AM, Bart van den Eijnden wrote:
> >> Have a look at DBox, eg:
> >>
> >> http://www.dnr.state.mn.us/maps/landview_dhtml_x.html
> >>
> >> Best regards,
> >> Bart
> >>
> >> Bart van den Eijnden
> >> Syncera-ITSolutions
> >> Postbus 270
> >> 2600 AG DELFT
> >>
> >> tel.nr.: 015-7512436
> >> email: BEN at Syncera-ITSolutions.nl
> >>
> >>>>> Juan Baron <jbarong at HOTMAIL.COM> 04/21/05 10:35am >>>
> >>
> >> Hello:
> >>
> >> Is possible to do box zooming without applet?
> >>
> >> Thank's
> >
> > --
> > Dylan Beaudette
> > Soils and Biogeochemistry Graduate Group
> > University of California at Davis
> > 530.754.7341
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
More information about the MapServer-users
mailing list