Hello to all,
I'm getting confused on how to correctly set 'margins' on my maps in a simple
application. I currently get the extents of the dynamically generated
pointsLayer using:
pointsLayer->getExtent();
I then add/subtract arbitary margin values (0.75 for x, 0.5 for y). This works
well enough at the country level, but at a wider (often global) scale, the
points are cut off by the edge of the image.
What I would like to do is simply extend the extent viewed by the width of the
largest possible point. However, I don't know how to convert the size of the
points (in pixels) to a margin usable by $map->setExtents().
Any help much appreciated,
Benjamin
PS: Also, the Mapserver main doc site is down, which makes it hard to browse
documentation.
___________________________________________________________
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at
the Yahoo! Mail Championships. Plus: play games and win prizes.
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk