|
||||
[rosa-users] query in new window problemsYewondwossen Assefa assefa@dmsolutions.caTue, 07 Jan 2003 20:34:42 -0500
|
For archiving purpose. "Van Ulden, Joost" wrote: > Thanks, that worked. I also had to add the following javascript in my > legend template. > > mapForm.INPUT_COORD.value='';mapForm.zoomdir.value='0';mapForm.mode.value='b > rowse' > > Regards, > > Joost > -----Original Message----- > From: Yewondwossen Assefa [mailto:assefa@dmsolutions.ca] > Sent: Tuesday, January 07, 2003 3:12 PM > To: Van Ulden, Joost > Cc: 'rosa-users@dmsolutions.ca' > Subject: Re: [rosa-users] query in new window problems > > What is the URL you have when you do the query ? > What is the URL when the page is submited after the layre on/off ? > > I am not sure to understand why It is zooming/panning on the 2nd submit > (unless > the values for zoomdir and zoomsize or the Rosa parameters values are still > in > the 2nd URL) > > A suggestion would be to set the imgxy parameter in your page with the > values > being the middle of your image. For example for a map of 400/300 : " <input > type="hidden" name="imgxy" value="200.0 150.0">. This would have the effect > of > simulating a mouse click in the middle of the page and you map should not > pan or > zoom somewhere else. > > Later, > > "Van Ulden, Joost" wrote: > > > We have just implemented the Rosa applet in place of the standard html > form. > > We are very impressed with the performance and ease of implementation. > > > > We are still having one small problem, for some reason when you query a > > feature (we open a new window and send the results to it) then turn on or > > off a layer (without clicking on a button Rosa button) mapserver sends the > > map back with the layer on/off but zoomed in/out or panned with the center > > of the map being the point you queried. > > > > Everything worked fine in the html version of the application, and the > layer > > toggle works properly if you don't query the map. We set the mapext but > > that still does not work. Any suggestions? > > > > Regards, > > > > Joost > > _______________________________________________ > > ROSA-users mailing list > > ROSA-users@dmsolutions.ca > > http://lists.dmsolutions.ca/mailman/listinfo/rosa-users > > -- > ---------------------------------------------------------------- > Assefa Yewondwossen > Software Analyst > > Email: assefa@dmsolutions.ca > http://www.dmsolutions.ca/ > > Phone: (613) 565-5056 (ext 14) > Fax: (613) 565-0925 > ---------------------------------------------------------------- -- ---------------------------------------------------------------- Assefa Yewondwossen Software Analyst Email: assefa@dmsolutions.ca http://www.dmsolutions.ca/ Phone: (613) 565-5056 (ext 14) Fax: (613) 565-0925 ----------------------------------------------------------------
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |