[mapserver-users] panning off in 3.3.011?

Ed McNierney ed at topozone.com
Fri Aug 3 08:45:47 EDT 2001


Matt -

The map should stay in the same place if you keep centering on the same
point AND that point is at the center of the map.  That is, your example
should work if the pixel you're clicking on is EXACTLY at the center of
the map image.  If you click just a bit to the right of center, the map
will keep panning just a bit to the right every time.

It's very difficult, without a grid, to hit the exact center of a
600x600 pixel image.

	- Ed

Ed McNierney
Chief Mapmaker
TopoZone.com


-----Original Message-----
From: Matt Carlson [mailto:matt at aruke.com]
Sent: Friday, August 03, 2001 7:18 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [mapserver-users] panning off in 3.3.011?


i tried this on the mapserver demo at
http://mapserver.gis.umn.edu/ms_demo/demo_init.html .  zoom in a little
and
pick a point on the map.  if you keep clicking on the exact same point
the
map moves around, quite a bit.  if i keep centering on the same point,
shouldn't the map stay in the same place?  i added a 20% correction on
my
application and i get very close results, but it causes development on
my
application to be a little funky.  for example, i have to make this
calculation when i plot points on the map.  any idea on what's causing
this?

thanks
matt





More information about the mapserver-users mailing list