Added the 'legend' functionality and an example
Finished geojson demo
Added some changes to the example