Leaflet/Leaflet — pull request #1586 by snkashis (2013-04-11 10:10:25+00:00)
Title: getCenter function for polygons

Putting this into a PR since it's very useful for one of my projects as well.

Implementation taken directly from @Solider-Boy's comments.

References #1196