mapbox/geojson.io — pull request #138 by mikemorris (2013-08-20 19:39:33+00:00)
Title: add getCenter method to L.Polygon prototype, pass to layer.openPopup, closes #90

Grabbed from un-merged Leaflet pull request https://github.com/Leaflet/Leaflet/pull/1586