[Cartoweb-users] quality of the map image
oliver.christen at camptocamp.com
Fri Mar 28 07:39:06 EDT 2008
you can change everthing you want in the mapfile with mapscript, simply do a
plugin the same way as if you wanted to use mapOverlay, and in
handlePreDrawing (I presume) get the map object like this:
$msMapObj = $this->serverContext->getMapObj();
then just apply on the $msMapObj object the function you want to modify what
see http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class for
this is untested and I have always considered the mapscript documentation to
be unclear, ask on the mapserver mailing list for more details.
> I'd like to improve performance and flexibility by giving the possibility
> user to set the quality of the map. I know that I can decide the quality
> the map file, is there a way to set a command into the template by the map
> which I can use in order to set the quality, let's say that I've a listbox
> which displays three type of resolution/quality. In this way user can set
> his quality according to the speed of his network.
> Any idea ?
> Thanks and best regards
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
> Scopri le tue passioni con Leonardo.it!
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7614&d=20080328
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
More information about the Cartoweb-users