<div dir="ltr">As a followup to this question, I&#39;m trying to wrap my head around how to translate actual distances to what is shown on the map.&nbsp; For example, if I wanted to create a feature with a radius of 20 kilometers, how do I specify the radius for the feature based on the map&#39;s resolution and scale.&nbsp; I&#39;m not quite clear on how feature radii relate to map resolution and scale.<br>
<br>Thanks,<br><br>- Chris<br><br><div class="gmail_quote">On Wed, Oct 8, 2008 at 11:49, Arnd Wippermann <span dir="ltr">&lt;<a href="mailto:arnd.wippermann@web.de">arnd.wippermann@web.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<div dir="ltr" align="left"><font color="#0000ff" face="Arial" size="2"><a href="http://n2.nabble.com/GML%2C-Point-and-Change-the-Size-of-the-Circle...-tc791275.html#a791275" target="_blank">http://n2.nabble.com/GML%2C-Point-and-Change-the-Size-of-the-Circle...-tc791275.html#a791275</a></font></div>

<div><font color="#0000ff" face="Arial" size="2"></font><font color="#0000ff" face="Arial" size="2"></font>&nbsp;</div>
<div><span><font color="#0000ff" face="Arial" size="2">listen 
to the zoom event and redraw the feature with the new styleMap, where the 
pointRadius is a function of the zoom level:</font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span>&nbsp;</div>
<div><span><font color="#0000ff" face="Arial" size="2">new 
OpenLayers.StyleMap({<br>&nbsp;&nbsp;&nbsp; &quot;default&quot;: 
OpenLayers.Util.applyDefaults({<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
pointRadius: faktor*map.getZoom()<br>&nbsp;&nbsp;&nbsp; }, 
OpenLayers.Feature.Vector.style[&quot;default&quot;]<br>});<br></font></span></div><font color="#888888">
<div><span></span><font face="Arial"><font color="#0000ff"><font size="2">A<span>rnd 
Wippermann</span></font></font></font><br></div>
<div dir="ltr" align="left" lang="de">
<hr>
<font face="Tahoma" size="2"><b>Von:</b> <a href="mailto:users-bounces@openlayers.org" target="_blank">users-bounces@openlayers.org</a> 
[mailto:<a href="mailto:users-bounces@openlayers.org" target="_blank">users-bounces@openlayers.org</a>] <b>Im Auftrag von </b>Chris 
Streeter<br><b>Gesendet:</b> Mittwoch, 8. Oktober 2008 07:04<br><b>An:</b> 
<a href="mailto:users@openlayers.org" target="_blank">users@openlayers.org</a><br><b>Betreff:</b> [OpenLayers-Users] Dynamically Sized 
Points With Styles<br></font><br></div></font><div><div></div><div class="Wj3C7c">
<div></div>
<div dir="ltr">I was wondering if it is possible to dynamically resize a point 
based on the zoom level of the map.<br><br>With the example at <a href="http://www.openlayers.org/dev/examples/styles-unique.html" target="_blank">http://www.openlayers.org/dev/examples/styles-unique.html</a>, 
can we make the points change their radius as we zoom in?&nbsp; I&#39;d like to keep 
the circles the same relative size to the underlying map 
layer.<br><br>Thanks,<br><br>- Chris<br></div></div></div></div>
</blockquote></div><br></div>