<div dir="ltr">Awesome. Exactly what I wanted.&nbsp; I&#39;ll check nabble first next time.&nbsp; 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 size="2" color="#0000ff" face="Arial"><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 size="2" color="#0000ff" face="Arial"></font><font size="2" color="#0000ff" face="Arial"></font>&nbsp;</div>
<div><span><font size="2" color="#0000ff" face="Arial">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 size="2" color="#0000ff" face="Arial"></font></span>&nbsp;</div>
<div><span><font size="2" color="#0000ff" face="Arial">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" lang="de" align="left">
<hr>
<font size="2" face="Tahoma"><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>