oswaldosantos / ggsn

R package to add north symbols and scale bars to maps created with ggplot or ggmap
http://oswaldosantos.github.io/ggsn/
GNU General Public License v2.0
161 stars 9 forks source link

scalebar labels in meters #27

Closed sebdalgarno closed 6 years ago

sebdalgarno commented 6 years ago

Thank your for the great package! I am using it regularly. I recently created a map with a scale bar of 100m. The labels were 0.05 and 0.1km. Is there any way to change the label format to meters? I think this would be a useful option for users.

oswaldosantos commented 6 years ago

I added the argument dist_unit to ggsn v0.4.8. Define it as "m" and let me know if it works.

sebdalgarno commented 6 years ago

yes it works well. Thanks for the quick update!