[OpenLayers-Users] How to Create buffer around point?
mayer at terrestris.de
Mon Jan 30 09:47:10 EST 2012
you can do this with OpenLayers as well.
To get a clicked position use something like this:
To render a circle buffer around the clicked position use this function:
On 30.01.2012 09:57, Raymond Nijssen wrote:
> Try JSTS. It integrates very well with OpenLayers and contains the
> features in a vector-layer. I'm not sure if that is what you're
> looking for though.
> Good luck!
> On 01/30/2012 09:06 AM, Robert Buckley wrote:
>> 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.
>> ...the tool should work like this...
>> 1. Activate tool in toolbar
>> 2. Set Radius in map units
>> 3. Click in map
>> 4. buffer polygon based on the set radius is created and rendered in
>> the map
>> My system is Geoserver 2.1.2 / Postgis 1.5
>> I have done this with an sld and also in postgis ...but I really need
>> the real-time effect in the map!
>> any help or examples would be great,
>> Users mailing list
>> Users at lists.osgeo.org
> Ampèrestraat 110
> 5223 CT 's-Hertogenbosch
> Users mailing list
> Users at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users