title: Simple label on a leaflet (geojson) polygon
body: <p>I am attempting what I imagine to be a fairly common use-case with a leaflet multipolygon object.</p>
  
  <p>I create the MultiPolygon using geojson:</p>
  
  <pre><code>var layer = L.GeoJSON(g, style_opts);
  </code></pre>
  
  <p>What I'd like is to put a simple text label in the center of each polygon. (For example, something like putting state name in the center of each state).</p>
  
  <p>I've looked at:
  <a href="https://groups.google.com/forum/?fromgroups=#!topic/leaflet-js/sA2HnU5W9Fw">https://groups.google.com/forum/?fromgroups=#!topic/leaflet-js/sA2HnU5W9Fw</a></p>
  
  <p>Which actually overlays the text, but when I add a bunch of polygons, it appears to put the label off-center in weird ways, and I'm currently unable to track down the problem.</p>
  
  <p>I've also looked at: <a href="https://github.com/jacobtoye/Leaflet.label">https://github.com/jacobtoye/Leaflet.label</a></p>
  
  <p>but that appears to only put the label on polygons when you mouse over the polygon, and does not stay statically on the polygon.</p>
  
  <p>I think my best course of action is to use that first link, and track down why it's changing the location, but in the meantime, if anyone knows of a quick and easy way to lay a label on a polygon in leaflet, I'd be much obliged.</p>
  
  <p>Also, if I have any faulty assumptions about the two links above, please feel free to straighten me out.</p>
  
  <p>Thanks very much in advance.</p>