[mapserver-users] Zoom-out using Mapplet rubber-band box on Reference Map Image
Stephen Lime
steve.lime at dnr.state.mn.us
Tue Aug 14 05:26:41 PDT 2001
Yes, just treat it like a second map on the page. That is, use a second form. The imgext is always the same and you use imgbox just as you would in your main map. The mapplet_apply method passes out the name of the applet it was invoked from so you can have multiple instances of the mapplet on one page, you just need to detect whether you're coming from the main image or the reference image and adjust the right form's imgbox and imgxy values accordingly.
Steve
Stephen Lime
Internet Applications Analyst
Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
>>> clip <clip at idirect.com> 08/12/01 12:50 PM >>>
Is it possible to use the rubber-band zoom-box function of the "mapplet"
java applet, on a reference map to "zoom-out". I'd like to be able to
do this after users have zoomed-in and then want to zoom-out to a
different area and extent on the reference map, rather then force them
to return to the initial map extent and begin all over to zoom-in on the
new area they are interested in.
Tom Cadman
Planner
Regional Municipality of Durham
More information about the MapServer-users
mailing list