Your map is in geographic coordinates (lat/long). Conversion of degrees to 
meters is complex as it varies depending on latitude.

Take a look at the function OpenLayers.Util.destinationVincenty

You might be able to write a function that takes your vector points and then 
generates the coordinates of the buffer around them

Another option would be to project your map features that you want buffered 
into a metric projection eg. Spherical Mercator, then buffer them in m, then 
reproject them back to 4326 and add them to your vector layer.

regards,

Robert

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of adityakumar529
Sent: Friday, 29 May 2015 8:47 a.m.
To: [email protected]
Subject: Re: [OpenLayers-Users] Buffers in kilometer

Its EPSG:4326



-----
GIS Developer

--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Buffers-in-kilometer-tp5207934p5208068.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to