<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma">
<DIV>John--</DIV>
<DIV>&nbsp;</DIV>
<DIV>There is no distribution package as yet, but the effort is underway...</DIV>
<DIV>&nbsp;</DIV>
<DIV>--Ken</DIV>
<DIV><BR><BR>&gt;&gt;&gt; John Cole &lt;john.cole@UAI.COM&gt; 4/18/2006 9:09:16 AM &gt;&gt;&gt;<BR></DIV>
<DIV style="COLOR: #000000">Steve,<BR>&nbsp; Is the experimental landview page available for download?<BR><BR>Thanks,<BR><BR>John Cole<BR><BR>-----Original Message-----<BR>From: UMN MapServer Users List [<A href="mailto:MAPSERVER-USERS@LISTS.UMN.EDU]">mailto:MAPSERVER-USERS@LISTS.UMN.EDU]</A> On<BR>Behalf Of Steve Lime<BR>Sent: Monday, April 17, 2006 5:05 PM<BR>To: MAPSERVER-USERS@LISTS.UMN.EDU<BR>Subject: Re: [UMN_MAPSERVER-USERS] landview application and AJAX<BR><BR>The order is predraw callback, then the object draw method and finally the<BR>postdraw callback.<BR>The newer landview code<BR>(<A href="http://maps.dnr.state.mn.us/landview/experimental/landview.html)">http://maps.dnr.state.mn.us/landview/experimental/landview.html)</A><BR>uses a single draw callback so you can do whatever you want.<BR><BR>Steve<BR><BR>&gt;&gt;&gt; Dylan Beaudette &lt;dylan.beaudette@GMAIL.COM&gt; 4/17/2006 3:47:34 PM &gt;&gt;&gt;<BR>Thanks for the pointers Steve,<BR><BR>In particular I was curious about the execution order, or a general concept<BR>of <BR>how the Landview application works.<BR><BR>Thanks,<BR><BR>Dylan<BR><BR>On Monday 17 April 2006 12:57 pm, Steve Lime wrote:<BR>&gt; There is a member in the Mapserv object called 'options' that allows you<BR>to<BR>&gt; add arbitrary parameters to the URL passed to mapserver. You might try<BR>&gt; something like:<BR>&gt;<BR>&gt;&nbsp;&nbsp; myMap.options = "&amp;foo=" + foovar;<BR>&gt;<BR>&gt; Where 'foo' is the variable you're passing to MapServer and foovar is the<BR>&gt; javascript variable you filled via ajax/xmlhttp...<BR>&gt;<BR>&gt; Make sense?<BR>&gt;<BR>&gt; Steve<BR>&gt;<BR>&gt; &gt;&gt;&gt; Dylan Beaudette &lt;dylan.beaudette@GMAIL.COM&gt; 4/17/2006 1:19:27 PM &gt;&gt;&gt;<BR>&gt;<BR>&gt; Greetings,<BR>&gt;<BR>&gt; I have been working with the Landview DHTML interface to mapserver, and<BR>&gt; would like to include support for some additional asynchronous interaction<BR>&gt; with a database.<BR>&gt;<BR>&gt; Currently our application works like this:<BR>&gt;<BR>&gt; select a region --&gt; generate URL based on selection --&gt; mapserver<BR>&gt; application with arguments in URL --&gt; interaction with mapserver<BR>&gt; application<BR>&gt;<BR>&gt; I have written some functions in javascript and PHP to perform a spatial<BR>&gt; query on a PostGIS database:<BR>&gt; mapserver application --&gt; calculate extent center coordinates with JS --&gt;<BR>&gt; AJAX style request to PHP function page --&gt; data is returned to mapserver<BR>&gt; page and displayed<BR>&gt;<BR>&gt; this is being done in the postdraw() function found in the landview<BR>&gt; application.<BR>&gt;<BR>&gt;<BR>&gt; I am having trouble figuring out how to pass the results from the above<BR>&gt; function to the creation of the mapserver object such that this value is<BR>&gt; also passed to the mapfile.<BR>&gt;<BR>&gt; In particular, I am curious about when the following line from the<BR>landview<BR>&gt; application is executed:<BR>&gt;<BR>&gt; var ms = new Mapserv("main", the_mapfile,&nbsp; ... );<BR>&gt;<BR>&gt; Any ideas on how to do this?<BR>&gt;<BR>&gt; Thanks!<BR><BR>-- <BR>Dylan Beaudette<BR>Soils and Biogeochemistry Graduate Group<BR>University of California at Davis<BR>530.754.7341<BR>&lt;DIV&gt;&lt;FONT size=1 face="Verdana"&gt;This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. &lt;/FONT&gt;&lt;/DIV&gt;<BR></DIV></BODY></HTML>