<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
you can do this with OpenLayers as well. <br>
<br>
To get a clicked position use something like this: <br>
<a href="http://openlayers.org/dev/examples/click.html">http://openlayers.org/dev/examples/click.html</a><br>
<br>
To render a circle buffer around the clicked position use this
function:<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="http://dev.openlayers.org/docs/files/OpenLayers/Geometry/Polygon-js.html#OpenLayers.Geometry.Polygon.createRegularPolygon">http://dev.openlayers.org/docs/files/OpenLayers/Geometry/Polygon-js.html#OpenLayers.Geometry.Polygon.createRegularPolygon</a><br>
<br>
Best regards,<br>
Chris<br>
<br>
<br>
<br>
<br>
On 30.01.2012 09:57, Raymond Nijssen wrote:
<blockquote cite="mid:4F265B6C.7040800@terglobo.nl" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Try JSTS. It integrates very well with OpenLayers and contains the
Buffer-function client side in javascript. That means it works on
features in a vector-layer. I'm not sure if that is what you're
looking for though.<br>
<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/bjornharrtell/jsts">https://github.com/bjornharrtell/jsts</a><br>
<br>
Good luck!<br>
<br>
Raymond<br>
<br>
<br>
<br>
On 01/30/2012 09:06 AM, Robert Buckley wrote:
<blockquote
cite="mid:1327910810.77199.YahooMailNeo@web24107.mail.ird.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:arial, helvetica, sans-serif;font-size:10pt">
<div>Hi,</div>
<div><br>
</div>
<div> I need to implement a "simple" buffer tool. The tool
should simply place a Buffer zone around the position
clicked in the map when the tool is activated.</div>
<div><br>
</div>
<div>...the tool should work like this...</div>
<div><br>
</div>
<div>1. Activate tool in toolbar</div>
<div>2. Set Radius in map units </div>
<div>3. Click in map </div>
<div>4. buffer polygon based on the set radius is created and
rendered in the map</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>My system is Geoserver 2.1.2 / Postgis 1.5</div>
<div><br>
</div>
<div>I have done this with an sld and also in postgis ...but I
really need the real-time effect in the map!</div>
<div><br>
</div>
<div>any help or examples would be great,</div>
<div><br>
</div>
<div>yours,</div>
<div><br>
</div>
<div>Robert</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Terglobo
Ampèrestraat 110
5223 CT 's-Hertogenbosch
06-25314983</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a>
</pre>
</blockquote>
</body>
</html>