PHP MapScript zoompoint
Giridhar Manepalli
gmanepal at GMAIL.COM
Mon Apr 11 16:05:36 PDT 2005
This helped me a lot. Thanks!
On Apr 6, 2005 3:01 AM, Matthew Whiting <whiting at maxnet.co.nz> wrote:
> After hours working on this, I finally found the problem.
>
> Setting x and y for the PointObj like this:
> $point->x = $x;
> $point->y = $y;
> does not work.
>
> This does:
> $point->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
>
>
>
>
More information about the MapServer-users
mailing list