Skip to content

Instantly share code, notes, and snippets.

@iamgeoknight
Last active January 27, 2021 05:59
Show Gist options
  • Save iamgeoknight/fcb33ed51d6c89b58f0830d61e3abd45 to your computer and use it in GitHub Desktop.
Save iamgeoknight/fcb33ed51d6c89b58f0830d61e3abd45 to your computer and use it in GitHub Desktop.
JSTS
var parser = new jsts.io.OL3Parser();
var jstsGeom = parser.read('OpenLayers Geometry');
var buffered = jstsGeom.buffer(40);
var ol_geom = parser.write(buffered)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment