[mapserver-users] selectively bypass mapplet?

David Raitzer david_raitzer at hotmail.com
Sun Jun 10 21:43:11 EDT 2001


Never mind.  I fixed the problem by calling the box on or off function using 
onload in the body tag, rather than onmouseover in a table tag.


>
>Thanks for the suggestion. Yet, now, when the applet is bypassed by 
>clicking
>the reference map, or by reseting the form values, which passes CGI
>variables for the mapfile, zoom direction, and zoom factor, Internet
>Explorer 5 returns an error related to a "document.mapplet.boxoff();" line
>in a function that determines whether to allow box drawing.  However, the
>applet still works, and if the page is then reloaded, the error message
>disappears.  Are there any suggestions on how to bypass this error?  Or is
>this related to the poor JRE in IE 5?  The problem doesn't appear in
>Netscape, but it makes it seem as if the page is poorly coded in IE.
>
>-David Raitzer
>>
>>
>> > >>> "David Raitzer" <david_raitzer at hotmail.com> 06/06/01 12:05PM >>>
>> > Hello,
>>
>> > To clarify my previous question about point queries with mapplet, I
>>would
>> > like to use mapplet only for zooming and querying multiple features, 
>>but
>> > bypass it for other functions (panning, singular queries, and zooming
>>out).
>> > Is there any easy way to achieve this?  Does anyone have an example
>>script
>> > to cut and paste?  I would like to do this because panning and single
>>point
>> > queries appear not to function with mapplet, and I would like to
>>preserve
>> > this functionality.
>>
>>I can see bypassing it for zoom in/out by some factor if you assume you're
>>zooming on the center of the image. To do that just make the zoom controls
>>change the appropriate form variables (e.g.  zoomdir) and then submit the
>>form. Pans can also be handled like that if you use images around the main
>>map as triggers. Otherwise you need a coordinate from the image to do any
>>other operation and since you have the mapplet in place it's your only
>>interface.
>>Single point queries work fine with the applet, so will pans and zooms on 
>>a
>>point.
>>
>> > Also, has anyone written a script to dynamically display feature
>>attributes
>> > (such as the name of a feature) in the browser's status window during
>> > mouseover?
>>
>>There was a short thread on this last week. Check the archive for details.
>>
>> > I would really appreciate any help than can be provided!  Thanks in
>>advance.
>>
>> > -David Raitzer
>>
>>Steve
>>
>>Stephen Lime
>>Internet Applications Analyst
>>
>>Minnesota DNR
>>500 Lafayette Road
>>St. Paul, MN 55155
>>651-297-2937
>>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com




More information about the mapserver-users mailing list