The scalebar for printing is not using the scalebar extension but the 
definition in the map file. So you have to check the settings for 
SCALEBAR there.

http://www.mapserver.org/mapfile/scalebar.html

armin


On 02/03/2009 07:45, Rogers, Janet (SKM) wrote:
> The Scalebar in the Printmap page comes through in miles, although our
> system settings are for metric.  I can only find one line where this
> might be set between metric/English and that is in scalebar.js:
> 
> function ScaleBar(scaleDenominator) {
> 
>     // default properties
> 
>     // may be modified after construction
> 
>     // if modified after ScaleBar.place(), use ScaleBar.update()
> 
>     this.scaleDenominator = (scaleDenominator == null) ? 1 :
> scaleDenominator;
> 
>     this.displaySystem = 'metric'; // metric or english supported
> 
>  
> 
> This does not, however set the scale shown on the page to metric.  Any
> suggestions?
> 
> JANET ROGERS
> Spatial Analyst
> QENV
> 
> SINCLAIR KNIGHT MERZ
> Ph: +61 7 3026 7327
> Mb: 0407 768 769
> Fx: +61 7 3026 7306
> 32 Cordelia Street, South Brisbane Qld 4101 
> 
> WORK DAYS: Mon-Tues, Thurs-Fri
> 
>  
> 
> For further information, visit our website www.skmconsulting.com
> <http://www.skmconsulting.com/>  
> 
>  
> 
>  
> 
> 
> SKM is committed to working with its clients to deliver a sustainable future 
> for all. Please consider the environment before printing this e-mail.
> Notice - This message contains confidential information intended only for the 
> exclusive use of the addressee named above. No confidentiality is waived or 
> lost by any mistaken transmission to you. If you have received this message 
> in error please delete the document and notify us immediately. 
> Any opinion, text, documentation or attachment received is valid as at the 
> date of issue only. The recipient is responsible for reviewing the status of 
> the transferred information and should advise us immediately upon receipt of 
> any discrepancy.  
> All email sent to SKM will be intercepted, screened and filtered by SKM or 
> its approved Service Providers.
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to