<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
After hours working on this, I finally found the problem.<br>
<br>
Setting x and y for the PointObj like this:<br>
    $point-&gt;x = $x;<br>
    $point-&gt;y = $y;<br>
does not work.<br>
<br>
This does:<br>
    $point-&gt;setxy($x,$y);<br>
<br>
Why is this a problem?<br>
<br>
Interestingly after setting the points explicitly (as opposed to
setxy()) and then printing the contents, it seems the values are
actually set!<br>
<br>
Matthew
<blockquote cite="mid42533843.8020804@maxnet.co.nz" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
  <small>Hello all,<br>
  <br>
Have been trying without success to successfully implement a zoom out
feature in my application using the zoompoint() function and -2 as the
zoom factor. For some reason, the image does not end up centred on the
point clicked on but on a different spot altogether. I'm getting
nowhere with this. I tried manually changing the extent and this works
fine. Any suggestions?<br>
  <br>
Thanks<br>
Matthew<br>
  <br>
  <br>
  </small>
</blockquote>
</body>
</html>