title: Restyle feature when overzooming OpenLayers 4
body: <p><a href="https://i.stack.imgur.com/euZCG.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/euZCG.jpg" alt="Example image"></a></p>
  
  <p>In the above image, the left is a self-created render of local mbtiles data using openlayers 4.6.4. On the right is a leaflet showing of similar content.</p>
  
  <p>The issue I'm running into is that I'm trying to have the width of the road (pictured in Orange) stay consistent or enlarge when overzooming on the data of the left image, which has a maximum tile detail level of 14. In the end, it should look similar as on the right.</p>
  
  <p>Within the styles of the OpenLayers, I'm currently applying the following change to the width of the line according to the zoom:</p>
  
  <p><code>var zoomAdjustment = Math.max(0, (map.getView().getZoom() - 13) * 2);
       width += zoomAdjustment;
  </code></p>
  
  <p>This works, although needs to be tweaked. However, the problem is that the features are not reloaded or restyled after zoomLevel 14 has been reached, so it will stay a consistent size regardless of zooming in or out after zoomLevel 14 instead of becoming larger to signify the size of the road itself. </p>
  
  <p>Is there a way to 'redraw' the feature to enlarge it in some way but keep its position and the geometry of it the same?</p>
  
  <p>So far, I've done the following:
  - Looked into the Style and Feature and how to possibly redraw them, however I am getting none the wiser from reading the API on how to do it.
  - Attempted to scale the width, but as said above it doesn't continue scaling after it can't find anymore tiles (which is logical due to the nature of how the data is loaded) </p>
  
  <p>I am going to currently attempt to observe the map and manually override the style of the features once it's changed it's zoom beyond 14. </p>