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

user-modifiable scalebar fill and color #12

Closed rogiersbart closed 7 years ago

rogiersbart commented 7 years ago

Dear Oswaldo,

just found out about your package. It's very useful, but it could use some more flexibility in my opinion. Have you thought about letting the user modify the scalebar border and fill colors? This would make it more adequate for use on top of e.g. darker satellite images obtained through ggmap (I did run into this you see ...). If you think it is a good idea, I'd be happy to contribute.

Kind regards, Bart

PS The workaround I use now is adding a transparent white rectangle below the scalebar.

oswaldosantos commented 7 years ago

Dear Bart, You are welcome to make a pull request. Regards, Oswaldo