Closed this issue 9 years ago · 2 comments
add labels using L.divIcon
http://jsfiddle.net/erictheise/k6ckm/
Basic concept works - getBounds().getCenter() is insufficient with irregular polygons
Resolved here: https://github.com/Ccantey/LCC-DistrictFinder/blob/master/js/app.js#L169-L189