Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BufferGeometryCommand

The BufferGeometryCommand class is used to create a GeometryObject expanded by distance specified in BufferGeometryCommandOptions

example



var line = { type: 'LineString', coordinates: [[-82.441, 29.200], [-82.441, 29.535]] };
var measure = new GeometryMeasure('miles', 1, 'LineString');
var options = { geometry: line, distance: measure };
var command = new BufferGeometryCommand();
commmand.execute(options).then((newgeo: GeometryObject)=>doSomething(newgeo));

Hierarchy

  • BufferGeometryCommand

Implements

Index

Methods

execute

initialize

  • initialize(settings: any): void
  • initialize(settings: any): void
  • Parameters

    • settings: any

    Returns void

  • Parameters

    • settings: any

    Returns void