box zooming

Bart van den Eijnden bartvde at XS4ALL.NL
Thu Apr 21 14:57:15 EDT 2005


Dylan,

I haven't used the legend so far myself, but I know it uses the XMLHttp
technique. A few questions which come to mind:

1. Are there any javascript errors?
2. Which browser are you using? On which platform?
3. Can you view the legend of the UMN site?
4. Can we view your site to check?

Best regards,
Bart

On Thu, 21 Apr 2005 11:51:34 -0700, Dylan Beaudette <dylan at IICI.NO-IP.ORG>
wrote:

> 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/
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/



More information about the mapserver-users mailing list