[Geomoose-users] display the results and zoom.

FRANZ OKYERE franzzoa at hotmail.com
Tue Sep 29 06:38:53 EDT 2009


Yes Brent,

 

I have pasted below the basic elements of the link as shown in IE. The appropriate PIN and the correct extents gets passed ($mapin[$m]) to the url. 
I hope this helps.


changeLayerUrl('highlight','php/itemquerysq.php');


GeoMOOSE.updateLayerParameters('highlight', {'qitem' : 'PIN', 'qstring' : $mapin[$m], 'layer' : 'buildings/all'})


GeoMOOSE.turnLayerOn('highlight/all'); GeoMOOSE.zoomToExtent($shpminx,$shpminy,$shpmaxx,$shpmaxy)


Thanks a lot.


Franz


GIS Specialist
 
> Date: Mon, 28 Sep 2009 20:36:29 -0600
> Subject: Re: [Geomoose-users] display the results and zoom.
> From: bfraser at geoanalytic.com
> To: franzzoa at hotmail.com
> CC: geomoose-users at lists.sourceforge.net
> 
> Likely the link is setting the extents to somewhere invalid, do you have
> an example of the link URL? And the coordinates of the feature?
> 
> > I mean when I click on one of the displayed results I expected the map to
> > zoom to the particular feature, but that does not happen instead the map
> > comes on for 2-3 secs and disappears. Cheers Brent.
> >
> >> Date: Mon, 28 Sep 2009 15:23:24 -0600
> >> Subject: Re: [Geomoose-users] display the results and zoom.
> >> From: bfraser at geoanalytic.com
> >> To: franzzoa at hotmail.com
> >> CC: geomoose-users at lists.sourceforge.net
> >>
> >> Franz,
> >>
> >> What do you mean by "the layer does not persist"?
> >>
> >> Brent Fraser
> >>
> >> > Hi all, I quit on using processquerytemplate and processtemplate
> >> methods.
> >> > Its just not helpful. I spent too much time on it. I'm rather using
> >> mysql
> >> > to display the results- its perfect. However the layer does not
> >> persist
> >> > when i click on one of the result to zoom to it. Anyone with similar
> >> > experience or suggestion? Thanks very much. Franz. GIS
> >> > Specilist. SIT.
> >> >
> >>
> >>
> >
> > _________________________________________________________________
> >
> > MSN straight to your mobile - news, entertainment, videos and more.
> >
> > http://clk.atdmt.com/UKM/go/147991039/direct/01/
> > ------------------------------------------------------------------------------
> > Come build with us! The BlackBerry® Developer Conference in SF, CA
> > is the only developer event you need to attend this year. Jumpstart your
> > developing skills, take BlackBerry mobile applications to market and stay
> > ahead of the curve. Join us from November 9-12, 2009. Register
> > now!
> > http://p.sf.net/sfu/devconf
> > _______________________________________________
> > Geomoose-users mailing list
> > Geomoose-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geomoose-users
> >
> >
> 
> 
 		 	   		  
_________________________________________________________________

MSN straight to your mobile - news, entertainment, videos and more.

http://clk.atdmt.com/UKM/go/147991039/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090929/3fa13051/attachment.html


More information about the Geomoose-users mailing list