Leaflet-Plugin: max and min value are now calculated directly from data

This fixes #139.