<div dir="ltr">Hi all,<div><br></div><div style>1. I have been studying this label rotation patch. <a href="http://trac.osgeo.org/openlayers/ticket/3651">http://trac.osgeo.org/openlayers/ticket/3651</a></div><div style><br>
</div><div style>2. However, I am getting problem with the size of the font getting smaller as you zoom in the map. <br><br>3. I have been toying the idea of creating an exponential function (or any other mathematical function) that enlarge the label's text as you zoom in. But this idea is not perfect as it is being applied to all features regardless of the size of the feature. </div>
<div style><br></div><div style>4. I have to make sure that the label's text is within the bounds of the feature. This lead me to search for a function that can give the width and length of a rectangular feature.</div>
<div style><br></div><div style>5. Is there any available function that can give me the width and length of a rectangular feature?</div><div style><br></div><div style>6. any other ideas are welcomed.</div><div style><br>
</div><div style>thanks</div><div style><br></div><div style>remi</div></div>