Perfect! Thats just what I needed. Thanks. Matt
-----Original Message----- From: Armin Burger [mailto:armin.bur...@gmail.com] Sent: Thursday, July 22, 2010 6:55 AM To: dogg...@nacse.org Cc: pmapper-users@lists.sourceforge.net Subject: Re: [pmapper-users] incorrect zoom2extent from search go to the online manual http://svn.pmapper.net/trac/wiki/XmlFileSettings and search for "zoom extent for point layers" On Thu, Jul 22, 2010 at 12:46 AM, Matt Doggett <dogg...@nacse.org> wrote: > Hi- > > > > Using pmapper 4.0, php 5.2.4, mapscript 5.2 on a Linux server. I have an > map application where all the data are in geographic latlong projection. > Units in decimal degrees. The app works fine, except. > > > > When I perform a search using the search tool, the search window opens with > the results, but the "ZoomTo" link contains extent coordinates that are way > out of whack. For example, my search returns a point (city) located at > X:-120.10, Y:46.30 but the "ZoomTo" link contains the following > > > > javascript:PM.Map.zoom2extent('cities','754','-10119.70135498+-9954.16021347 > 05+9880.2986450195+10045.83978653','1') > > > > I get the same results when I use the "Select" tool to select/identify the > cities on the map directly using the mouse. > > > > Note that the minx,miny,maxx,maxy extents are WAY wrong for a lat/long map. > Needless to say, the resultant map displayed is completely blank. > > What's going on and how can I fix this obvious projection mismatch? > > > > Thanks. > > > > Matt > > > > PRISM Climate Group > > Northwest Alliance for Computational Science & Engineering > > 2000 Kelley Engineering Center > Oregon State University > Corvallis, Oregon, 97331-5501 > > 541-737-2531 > > FAX 541-737-6609 > > > > ---------------------------------------------------------------------------- -- > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users