title: Get all style options for leaflet layer
body: <p>In order to customize the layers on my map by user input I want to list all possible style options, e.g. for a geoJSON-Layer. The possible options are <a href="http://mourner.github.io/Leaflet/reference.html#path-options" rel="nofollow">here in the API</a>.
  I tried</p>
  
  <pre><code>console.log(L.Path.prototype.options);
  </code></pre>
  
  <p>and I only get a subset of the options in the API. The <a href="https://github.com/Leaflet/Leaflet/blob/master/src/layer/vector/Path.js" rel="nofollow">associated source code</a> shows that some options are not set because they are inherited from other options, for example <code>fillColor</code>.</p>
  
  <p>Of course I could copy the values from the API.. but I think there might be a better and more flexible way.</p>