title: Openlayers 3 Feature Label Background
body: <p>we are using OpenLayers 3 and want to add labels to our features. To improve visibility, we also  want to add a background to those labels. </p>
  
  <p>I have looked at: <a href="http://openlayers.org/en/v3.4.0/examples/vector-labels.html" rel="nofollow">http://openlayers.org/en/v3.4.0/examples/vector-labels.html</a>
  but could not find another solution than increasing the overdraw width. But this results in bumby backgrounds and seems to be more like a hack for my problem.</p>
  
  <p>Sadly we are not able to use another layer for the labels, cause the feature has to be on the same level as the corresponding label so that you can alway see a feature with its label in case it is overlapping with another feature (not only labels overlapping the features).</p>
  
  <p>So I wanted to ask if you know a way to set the background of a label without using overdraw or a separate layer?</p>
  
  <p>Best regards and thanks in advance </p>
  
  <p>Basti</p>
  
  <p><strong><em>Updated description:</em></strong>
  We want to render cars on a map. These cars should have labels with a rectangular background (in a color we can change) for the text  so the user can read them more easily. Furthermore should the label be on the same level as the corresponding car. The reason behind this is that if cars are overlapping each other the labels should too and there should alway be one car with its label on top. I hope this description makes things a little bit clearer.</p>