title: Creating a JavaScript Class which inherits from "OpenLayers.Feature.Vector"
body: <p>I'm currently creating an application prototype which has an OpenLayers component in it (the map itself).</p>
  
  <p>I want to create special "Features" wich will have additional properties.</p>
  
  <p>They should inherit from <em>OpenLayers.Feature.Vector</em>, that is, use it's constructor with custom parameters and additional attributes.</p>
  
  <p>I've been searching, but I can't find any simple example of how to do it.</p>
  
  <p>*Note: My application object structure is not based on "OpenLayers.Class" typology, hence they are common javascript objects.</p>
  
  <p>So here is the Class that should inherit from OpenLayers.Feature.Vector and should return a special instance of it, </p>
  
  <pre><code>// Class "SpecialRegion"
  function SpecialRegion(bounds, options) {
  
   /* should return an OpenLayers.Feature.Vector with additional properties (objects) which makes this class different */
  
  }
  </code></pre>
  
  <p>Thanks in advance.</p>