bug fix : leaflet does not work if "style" is a list
brew template for the final html document
Bug fix : bad detection of wrong styles.
+ Changed default value for "incl.data" so that the generated maps work in all browsers.
Use brew to generate output
simplified the CSS, base layer and data layers parts
New Feature : add custom base map
Added dependencies to jsonlite and brew
Doc for addBaseMap
bug fix: leaflet do nothing if size argument is provided
bugfix : only first style used when there are several data layers each one with its style
Merge pull request #3 from cuche27/master

Splitting the template sounds like a good idea. However that won't be an easy task. I'm not sure, but I think some things are coded at several parts of the whole function/template. Well, that's your next challenge. ;-)

After merging I will do some clean-ups and changes, but leave the template untouched for your work.

Merci beaucoup!