[Mapbender_dev] Re: [Mapbender] #831: Dynamic print frame: scale modification

Mapbender mapbender_dev at lists.osgeo.org
Thu Jun 9 07:04:46 EDT 2011


#831: Dynamic print frame: scale modification
-------------------------+--------------------------------------------------
 Reporter:  astrid_emde  |       Owner:  dev          
     Type:  defect       |      Status:  new          
 Priority:  major        |   Milestone:  2.7.2 release
Component:  print        |     Version:  2.7.1        
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by astrid_emde):

 could be the solution: change in plugins/mb_print.php

 {{{
 afterChangeSize : function (obj) {
                                         if (typeof(obj) == "object") {
                                                 if (obj.scale) {
 jqForm[0].scale.value = obj.scale;
                                                 }
                                                 if (obj.coordinates) {
 jqForm[0].coordinates.value = String(obj.coordinates);
                                                 }
                                         }
                                 }
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/mapbender/ticket/831#comment:1>
Mapbender <http://www.mapbender.org/>
Mapbender


More information about the Mapbender_dev mailing list