[Cartoweb-dev] [Bug 1380] label size in outline features depends on resolution when printing

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Wed May 2 11:34:56 EDT 2007


http://bugzilla.maptools.org/show_bug.cgi?id=1380





------- Additional Comments From emmanuel.belo at camptocamp.com  2007-05-02 11:34 -------
This bug may be solved in this file:
cartoweb3/coreplugins/layers/server/ServerLayers.php

These 2 fonctions should be changed:

    /**
     * Generic function to multiply integer properties of a
     * php mapscript object of a given ratio.
     * @param mixed php mapscript object to update
     * @param array array of numerical properties to update
     * @param float multiplicative coefficient
     */
    protected function updateProperties($obj, $properties, $ratio) {


    /**
     * Updates mapfile objects (layers, classes, styles) properties
     * according to the ratio between required resolution and mapserver one.
     * @param ms_layer_obj Mapserver layer object
     * @param float resolutions ratio
     */
    protected function updateRatioParameters($layer, $resRatio) {



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.


More information about the Cartoweb-dev mailing list