[Mapbender-users] print scale bar - units in miles ?

Astrid Emde (WhereGroup) astrid.emde at wheregroup.com
Tue Jul 7 00:34:36 PDT 2020


Hello karsten,

this is not configurable.

Looks like yOu have to modify the code.

Check src/Mapbender/PrintBundle/Component/PrintService.php

https://github.com/mapbender/mapbender/blob/f30231bbb2a3b1f58ba6d6636e11633b1893cafc/src/Mapbender/PrintBundle/Component/PrintService.php#L554

Astrid

Am 2020-07-07 08:43, schrieb karsten:
> Hi all,
> 
> I am trying to set the print PDF output units for a MapBender template
> scale bars to show miles instead of km.
> On the live map I got that configured.
> Can I specify  that in the print cling config (via yaml ?)
> I tried
> 
> scale_bar:
>   units:
>     - ml
> 
> but did not get that to work so far
> Any hints ?
> 
> Cheers
> Karsten
> 
> Karsten Vennemann
> Terra GIS LTD
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapbender_users

-- 
Mit freundlichen Grüßen

Astrid Emde
GIS-Consultant

  -----------------------------------
  Aufwind durch Wissen!
  Jetzt neu: Webinare und Online-Schulungen
  bei der www.foss-academy.com
  -----------------------------------

   Astrid Emde
   WhereGroup GmbH
   Eifelstraße 7
   53119 Bonn
   Germany

   Fon: +49(0)228 90 90 38 - 22
   Fax: +49(0)228 90 90 38 - 11

   astrid.emde at wheregroup.com
   www.wheregroup.com

   Folgen Sie der WhereGroup auf twitter:
http://twitter.com/WhereGroup_com

Geschäftsführer:
Olaf Knopp, Peter Stamm
Amtsgericht Bonn, HRB 9885
-------------------------------


More information about the Mapbender_users mailing list