[openstreetmap/openstreetmap-website] Please include map scale bar in downloaded images (#1195)

Tom Hughes notifications at github.com
Sat Apr 2 15:11:15 UTC 2016


That's extremely difficult I'm afraid, and also doesn't relate to any code in this repository as those images are rendered on the tile server by the same code that generates the map tiles.

The code in question is https://github.com/openstreetmap/chef/blob/master/cookbooks/tile/templates/default/export.erb and implementing this would require extending that to be able to overlay a scale and duplicating all the logic that is in the javascript on the main site (which itself is part of the Leaflet project, not our code) to figure out the scale details.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1195#issuecomment-204731967
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20160402/f18a02b7/attachment.html>


More information about the rails-dev mailing list