azavea/OpenTreeMap — pull request #31 by ahinz (2012-11-08 16:05:11+00:00)
Title: Inject i18n support for eco benefit values

Add a new param to the tm object:
``benefitUnitTransformer: function(k,v)''
This function returns ``v'' untouched by default but allows
a skin (in map.js) to update the and transform the values

Additional US->UK conversions were added as tags:
gal2litres
lbs2kgs

Note that $->£ is done via the database (conversion factors
are in £)