Leaflet / Leaflet.toolbar

Flexible, extensible toolbars for Leaflet maps.
MIT License
197 stars 70 forks source link

Add a minimal example #23

Closed yohanboniface closed 9 years ago

yohanboniface commented 9 years ago

I often find that a minimal example is the best way to start digging into a new lib, so here is a suggestion :)

justinmanley commented 9 years ago

This looks great! Thanks for adding an example that doesn't depend on Leaflet.draw! I think it's a great way for people to see what Leaflet.toolbar is intended for without mixing it up with the features of Leaflet.draw.

Would you move this into the examples/ folder in the master branch? I don't want this to be overwritten the next time I build the gh-pages branch (see Documentation and Examples in the README).

yohanboniface commented 9 years ago

Here it is: https://github.com/Leaflet/Leaflet.toolbar/pull/24 :)

Note: yesterday I've first tried to use grunt gh-pages as stated in the README, but it came out with a totally messed up commit, full of node_modules and line endings changes, and was really unusable.