axyjo/leaflet-rails — pull request #32 by asmaloney (2014-08-08 00:14:26+00:00)
Title: Add fit_to_markers option to automatically zoom and display all markers

Adds an option to calculate the bounding box of the markers and automatically zoom and centre the location so they are all visible.