<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<small>I don't mind them being private variables and using get/set
functions. My frustration was with it not being obvious I couldn't
directly assign and with it appearing to have worked when displaying
contents of the point. So, I had to gradually disect a working version
replacing with my code until I found the lines causing problems!<br>
<br>
Anyway, on to more exciting coding now... ;o)<br>
<br>
Cheers<br>
Matthew<br>
</small><br>
Camden Daily wrote:
<blockquote cite="mid16264e0705040608002924fd70@mail.gmail.com"
 type="cite">
  <pre wrap="">It seems that many of the member values of mapscript objects are not
directly accessible.  They are only available to be set with the set()
function.  I do not know if this is a bug or a design decision, but it
would certainly be nice to make those variables all public.

-Camden

On Apr 6, 2005 2:01 AM, Matthew Whiting <a class="moz-txt-link-rfc2396E" href="mailto:whiting@maxnet.co.nz">&lt;whiting@maxnet.co.nz&gt;</a> wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap=""> After hours working on this, I finally found the problem.

 Setting x and y for the PointObj like this:
     $point-&gt;x = $x;
     $point-&gt;y = $y;
 does not work.

 This does:
     $point-&gt;setxy($x,$y);

 Why is this a problem?

 Interestingly after setting the points explicitly (as opposed to setxy())
and then printing the contents, it seems the values are actually set!

 Matthew
 Hello all,

 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?

 Thanks
 Matthew




    </pre>
  </blockquote>
  <pre wrap=""><!---->
  </pre>
</blockquote>
</body>
</html>