[mapserver-users] PHP ZoomPoint
Daniel Morissette
morissette at dmsolutions.ca
Fri Aug 10 07:34:31 PDT 2001
ANDREW WOOLEY wrote:
>
> When I echo the extent minx, etc. it gives reasonable coordinates for the map extent (1800193, 825044, 2115496, 542882), however, after this code executes and I echo the new extent, I get good values for some of the coordinates but not others (1877442.235, -78702.92, 2035093.735, 78702.92). Can someone explain to me what I am doing wrong and why the negative values show up? Thanks.
>
You wrote that your original extents were:
(1800193, 825044, 2115496, 542882)
I notice that YMin > YMax ... maybe that confused the ZoomPoint()
function... try again with YMin < YMax ... and if it works this time
then please file a bug in the MapServer bugzilla about this and we'll
fix ZoomPoint() to deal with this properly.
--
------------------------------------------------------------
Daniel Morissette morissette at dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
Don't put for tomorrow what you can do today, because if
you enjoy it today you can do it again tomorrow.
More information about the MapServer-users
mailing list