<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>Thanks Brent. Your test was positive. The map showed up and stayed this time. All I had to do was to put the correct the layer name. There was a small typo there. Once again, thanks. phew! Franz. GIS Specialist. <br><br>> Date: Tue, 29 Sep 2009 08:54:21 -0600<br>> From: bfraser@geoanalytic.com<br>> To: lkne@houstoneng.com<br>> CC: franzzoa@hotmail.com; geomoose-users@lists.sourceforge.net<br>> Subject: Re: [Geomoose-users] display the results and zoom.<br>> <br>> Ok, now the parcels highlight on zoom-to and there's no pink screen!<br>> <br>> Excellent!<br>> <br>> <br>> Len Kne wrote:<br>> > Search Parcel on the demo should now be working. There was a configuration typo in the parcels_itemquery.html - the layer read "parcels/all", but needs to be "parcels/parcels" to point to the proper layer.<br>> > <br>> > Len<br>> > <br>> > <br>> > -----Original Message-----<br>> > From: Brent Fraser [mailto:bfraser@geoanalytic.com] <br>> > Sent: Tuesday, September 29, 2009 9:16 AM<br>> > To: FRANZ OKYERE<br>> > Cc: geomoose-users@lists.sourceforge.net<br>> > Subject: Re: [Geomoose-users] display the results and zoom.<br>> > <br>> > Ahh, GM v2; I don't think I can be of much help (I's still on v1.6.1).<br>> > <br>> > So you've confirmed that the $shpminx,$shpminy,$shpmaxx,$shpmaxy coordinates <br>> > values are correct for a particular test feature? How about commenting-out the <br>> > highlight code below and seeing if the link zooms to the feature on it's layer <br>> > with just a GeoMOOSE.zoomToExtent($shpminx,$shpminy,$shpmaxx,$shpmaxy)?<br>> > <br>> > I tried the v2 demo at Houston Eng <br>> > (http://geomoose.houstoneng.com/gm2demo/geomoose.html) and it seems to have <br>> > problems when doing a "Search Parcels" item query. I typed in "Smith " for an <br>> > owner name and clicked ok. It highlighted all parcels with an owner=Smith (Woo <br>> > hoo!), and I clicked the first link in the results list and it zoomed to the <br>> > extent of that parcel (but no more highlight, bummer). So far so good. but <br>> > when I clicked the second link it zoomed to the next parcel, show the results <br>> > for a split second, then the map went pink! All further clicking on links <br>> > (including the first) gave the same result with the pink map.<br>> > <br>> > I'm not sure which layer OpenLayers is having problems with? Possibly the <br>> > highlight layer?<br>> > <br>> > Best Regards,<br>> > Brent Fraser<br>> > <br>> > <br>> > <br>> > FRANZ OKYERE wrote:<br>> >> Yes Brent,<br>> >> <br>> >> I have pasted below the basic elements of the link as shown in IE. The <br>> >> appropriate PIN and the correct extents gets passed ($mapin[$m]) to the <br>> >> url.<br>> >> I hope this helps.<br>> >><br>> >> changeLayerUrl('highlight','php/itemquerysq.php');<br>> >><br>> >> GeoMOOSE.updateLayerParameters('highlight', {'qitem' : 'PIN', 'qstring' <br>> >> : $mapin[$m], 'layer' : 'buildings/all'})<br>> >><br>> >> GeoMOOSE.turnLayerOn('highlight/all'); <br>> >> GeoMOOSE.zoomToExtent($shpminx,$shpminy,$shpmaxx,$shpmaxy)<br>> >><br>> >> Thanks a lot.<br>> >><br>> >> Franz<br>> >><br>> >> GIS Specialist<br>> >> <br>> >>> Date: Mon, 28 Sep 2009 20:36:29 -0600<br>> >>> Subject: Re: [Geomoose-users] display the results and zoom.<br>> >>> From: bfraser@geoanalytic.com<br>> >>> To: franzzoa@hotmail.com<br>> >>> CC: geomoose-users@lists.sourceforge.net<br>> >>><br>> >>> Likely the link is setting the extents to somewhere invalid, do you have<br>> >>> an example of the link URL? And the coordinates of the feature?<br>> >>><br>> >>> > I mean when I click on one of the displayed results I expected the <br>> >> map to<br>> >>> > zoom to the particular feature, but that does not happen instead the map<br>> >>> > comes on for 2-3 secs and disappears. Cheers Brent.<br>> >>> ><br>> >>> >> Date: Mon, 28 Sep 2009 15:23:24 -0600<br>> >>> >> Subject: Re: [Geomoose-users] display the results and zoom.<br>> >>> >> From: bfraser@geoanalytic.com<br>> >>> >> To: franzzoa@hotmail.com<br>> >>> >> CC: geomoose-users@lists.sourceforge.net<br>> >>> >><br>> >>> >> Franz,<br>> >>> >><br>> >>> >> What do you mean by "the layer does not persist"?<br>> >>> >><br>> >>> >> Brent Fraser<br>> >>> >><br>> >>> >> > Hi all, I quit on using processquerytemplate and processtemplate<br>> >>> >> methods.<br>> >>> >> > Its just not helpful. I spent too much time on it. I'm rather using<br>> >>> >> mysql<br>> >>> >> > to display the results- its perfect. However the layer does not<br>> >>> >> persist<br>> >>> >> > when i click on one of the result to zoom to it. Anyone with similar<br>> >>> >> > experience or suggestion? Thanks very much. Franz. GIS<br>> >>> >> > Specilist. SIT.<br>> >>> >> ><br>> >>> >><br>> >>> >><br>> >>> ><br>> >>> > _________________________________________________________________<br>> >>> ><br>> >>> > MSN straight to your mobile - news, entertainment, videos and more.<br>> >>> ><br>> >>> > http://clk.atdmt.com/UKM/go/147991039/direct/01/<br>> >>> > <br>> >> ------------------------------------------------------------------------------<br>> >>> > Come build with us! The BlackBerry&reg; Developer Conference in SF, CA<br>> >>> > is the only developer event you need to attend this year. Jumpstart your<br>> >>> > developing skills, take BlackBerry mobile applications to market and <br>> >> stay<br>> >>> > ahead of the curve. Join us from November 9&#45;12, 2009. Register<br>> >>> > now&#33;<br>> >>> > http://p.sf.net/sfu/devconf<br>> >>> > _______________________________________________<br>> >>> > Geomoose-users mailing list<br>> >>> > Geomoose-users@lists.sourceforge.net<br>> >>> > https://lists.sourceforge.net/lists/listinfo/geomoose-users<br>> >>> ><br>> >>> ><br>> >>><br>> >>><br>> >> ------------------------------------------------------------------------<br>> >> View your Twitter and Flickr updates from one place - Learn more! <br>> >> <http://clk.atdmt.com/UKM/go/137984870/direct/01/><br>> >><br>> >><br>> >> ------------------------------------------------------------------------<br>> >><br>> >> ------------------------------------------------------------------------------<br>> >> Come build with us! The BlackBerry&reg; Developer Conference in SF, CA<br>> >> is the only developer event you need to attend this year. Jumpstart your<br>> >> developing skills, take BlackBerry mobile applications to market and stay <br>> >> ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;<br>> >> http://p.sf.net/sfu/devconf<br>> >><br>> >><br>> >> ------------------------------------------------------------------------<br>> >><br>> >> _______________________________________________<br>> >> Geomoose-users mailing list<br>> >> Geomoose-users@lists.sourceforge.net<br>> >> https://lists.sourceforge.net/lists/listinfo/geomoose-users<br>> > <br>> > ------------------------------------------------------------------------------<br>> > Come build with us! The BlackBerry&reg; Developer Conference in SF, CA<br>> > is the only developer event you need to attend this year. Jumpstart your<br>> > developing skills, take BlackBerry mobile applications to market and stay <br>> > ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;<br>> > http://p.sf.net/sfu/devconf<br>> > _______________________________________________<br>> > Geomoose-users mailing list<br>> > Geomoose-users@lists.sourceforge.net<br>> > https://lists.sourceforge.net/lists/listinfo/geomoose-users<br>> > <br>                                            <br /><hr />
Upgrade to Internet Explorer 8 Optimised for MSN. <a href='http://extras.uk.msn.com/internet-explorer-8/?ocid=T010MSN07A0716U' target='_new'>Download Now</a></body>
</html>