[Mapserver-users] DHTML Navigation Tools for MapScript

Dylan Keon keon at nacse.org
Mon Dec 16 14:16:25 EST 2002


I'll second what Dave wrote...I've been meaning to do the same thing. 
I'd like to replace my zoom and pan radio buttons with DHTML buttons 
that can do the rubber-band box (and maybe drag pan), as in Steve's 
Landview example.  I think Chip is on the right track.  I'll help where 
I can.

Dylan

Lowther, David W wrote:
> It makes sense to me, Chip. I have been meaning to work through the DHTML
> stuff to get only the box and drag pan, but I haven't had time. I'd love to
> see a simple example. But maybe I'm just lazy, or too busy, or something...
> 
> Dave
> 
> -----Original Message-----
> From: Hankley, Chip [mailto:Chip.Hankley at GASAI.Com]
> Sent: Monday, December 16, 2002 12:53 PM
> To: 'Steve Lime'; mapserver-users at lists.gis.umn.edu
> Subject: RE: [Mapserver-users] DHTML Navigation Tools for MapScript
> 
> 
> 
>>Is there any reason not to extend the toolset I already have started?
> 
> 
> Probably just my lack of experience! ;) 
> 
> No, really that probably makes the most sense. However, what I envisioned
> was simpler (I think) than what you had done with your DHTML interface. A
> lot of the code in the example 
> 
> (http://maps.dnr.state.mn.us/mapserver_demos/itasca/advanced/demo_dhtml.html
> )
> 
> seems geared towards driving a MapServer application. I had a hard time
> teasing out how to grab only the stuff that I needed for a MapScript
> application.
> 
> What was in my mind was really a DHTML version of Rosa. With Rosa, you
> pretty much just specify what you want the button to do (box, polygon, or
> point), and the applet dumps that data into form variables. 
> 
> For example, at the most basic level, I just need the image coordinates for
> the drag events (like zoom in) - I would then do the image processing (what
> layers to draw, how to handle a query, determining image extent, etc.) on
> the server side with PHP.
> 
> Would there be a simple way to 'modularize' what you did to accomplish
> something like this? Am I making any sense?
> 
> Chip




More information about the mapserver-users mailing list